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