Documentation ¶
Index ¶
- type GameCoreConn
- func (uc *GameCoreConn) CloseListenStream() error
- func (uc *GameCoreConn) GetBroadcastMsgCh() <-chan *cpb.BroadcastMsg
- func (uc *GameCoreConn) GetGameCoreClient() cpb.GameCoreClient
- func (uc *GameCoreConn) GetToken() string
- func (uc *GameCoreConn) ListenToCore() error
- func (uc *GameCoreConn) Login(userName string) error
- func (uc *GameCoreConn) LoopListenStream(onStop func())
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GameCoreConn ¶
type GameCoreConn struct {
// contains filtered or unexported fields
}
func NewGameCoreConn ¶
func NewGameCoreConn(grpcConn *grpc.ClientConn) *GameCoreConn
func (*GameCoreConn) CloseListenStream ¶
func (uc *GameCoreConn) CloseListenStream() error
func (*GameCoreConn) GetBroadcastMsgCh ¶
func (uc *GameCoreConn) GetBroadcastMsgCh() <-chan *cpb.BroadcastMsg
func (*GameCoreConn) GetGameCoreClient ¶
func (uc *GameCoreConn) GetGameCoreClient() cpb.GameCoreClient
func (*GameCoreConn) GetToken ¶
func (uc *GameCoreConn) GetToken() string
func (*GameCoreConn) ListenToCore ¶
func (uc *GameCoreConn) ListenToCore() error
func (*GameCoreConn) Login ¶
func (uc *GameCoreConn) Login(userName string) error
func (*GameCoreConn) LoopListenStream ¶
func (uc *GameCoreConn) LoopListenStream(onStop func())
Click to show internal directories.
Click to hide internal directories.