Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatServer ¶
type ChatServer struct { }
ChatServer ...
func (ChatServer) Chat ¶
func (ChatServer) Chat(stream grpc_c.ChatRoomServe_ChatServer) (err error)
Chat 聊天服务
func (ChatServer) Create ¶
func (ChatServer) Create(stream grpc_c.ChatRoomServe_CreateServer) (err error)
Create 创建聊天服务
func (ChatServer) Login ¶
func (ChatServer) Login(ctx context.Context, req *grpc_c.LoginRequest) (resp *grpc_c.LoginResponse, err error)
Login ...
type RoomService ¶
type RoomService struct { }
RoomService ...
func (RoomService) Chat ¶
func (RoomService) Chat(stream grpc_c.ChatRoomServe_ChatServer) (err error)
Chat ...
func (RoomService) Login ¶
func (RoomService) Login(ctx context.Context, req *grpc_c.LoginRequest) (resp *grpc_c.LoginResponse, err error)
Login ...
Click to show internal directories.
Click to hide internal directories.