app

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2023 License: MPL-2.0 Imports: 9 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL