-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Open
Description
Describe the bug
A clear and concise description of what the bug is.
proto file:
syntax = "proto3";
package rpcUser;
option go_package="./rpcUser";
message UserRequest {
string UserID = 1;
string UserName = 2;
}
message UserResponse {
string UserID = 1;
string UserName = 2;
}
service UserInfo {
rpc UserInfoSearch (UserRequest) returns (UserResponse);
}
XXX.yaml文件
Name: user.rpc
ListenOn: 0.0.0.0:8081
Etcd:
Hosts:
- 127.0.0.1:2379
Key: user.rpc
ShopOwnerRpc:
Etcd:
Hosts:
- 127.0.0.1:2379
Key: shopowner.rpc
build and run:
go run .
result:
XXXXX:39 empty etcd hosts
exit status 1
Metadata
Metadata
Assignees
Labels
No labels