Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterUserAppRpcServer ¶
func RegisterUserAppRpcServer(s *grpc.Server, srv UserAppRpcServer)
Types ¶
type UnimplementedUserAppRpcServer ¶
type UnimplementedUserAppRpcServer struct { }
UnimplementedUserAppRpcServer can be embedded to have forward compatible implementations.
func (*UnimplementedUserAppRpcServer) ListUser ¶
func (*UnimplementedUserAppRpcServer) ListUser(ctx context.Context, req *opt.QueryReq) (*opt.ListUserReply, error)
type UserAppRpcClient ¶
type UserAppRpcClient interface { // 获取用户列表 ListUser(ctx context.Context, in *opt.QueryReq, opts ...grpc.CallOption) (*opt.ListUserReply, error) }
UserAppRpcClient is the client API for UserAppRpc service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewUserAppRpcClient ¶
func NewUserAppRpcClient(cc *grpc.ClientConn) UserAppRpcClient
type UserAppRpcServer ¶
type UserAppRpcServer interface { // 获取用户列表 ListUser(context.Context, *opt.QueryReq) (*opt.ListUserReply, error) }
UserAppRpcServer is the server API for UserAppRpc service.
Click to show internal directories.
Click to hide internal directories.