initial import
This commit is contained in:
13
example/rpc/server/unary/etc/config.json
Normal file
13
example/rpc/server/unary/etc/config.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"Name": "rpc.unary",
|
||||
"Log": {
|
||||
"Mode": "volume"
|
||||
},
|
||||
"ListenOn": "localhost:3456",
|
||||
"Etcd": {
|
||||
"Hosts": [
|
||||
"localhost:2379"
|
||||
],
|
||||
"Key": "rpcx"
|
||||
}
|
||||
}
|
||||
17
example/rpc/server/unary/etc/config1.json
Normal file
17
example/rpc/server/unary/etc/config1.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"Name": "rpc.unary",
|
||||
"MetricsUrl": "http://localhost:2222/add",
|
||||
"ListenOn": "localhost:3457",
|
||||
"Auth": false,
|
||||
"Etcd": {
|
||||
"Hosts": [
|
||||
"localhost:2379"
|
||||
],
|
||||
"Key": "rpcx"
|
||||
},
|
||||
"Redis": {
|
||||
"Host": "localhost:6379",
|
||||
"Type": "node",
|
||||
"Key": "apps"
|
||||
}
|
||||
}
|
||||
12
example/rpc/server/unary/etc/k8s.json
Normal file
12
example/rpc/server/unary/etc/k8s.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"Name": "rpc.unary",
|
||||
"ListenOn": "0.0.0.0:3456",
|
||||
"Auth": false,
|
||||
"Etcd": {
|
||||
"Hosts": [
|
||||
"etcd.discov:2379"
|
||||
],
|
||||
"Key": "rpcx"
|
||||
},
|
||||
"Timeout": 500
|
||||
}
|
||||
Reference in New Issue
Block a user