Documentation ¶
Overview ¶
Code generated by protoc-gen-stmp. DO NOT EDIT. source: examples/gomoku/gomoku_pb/gomoku.proto
Index ¶
- Variables
- func STMPAttachGomokuEventsListener(c *stmp.Client, s STMPGomokuEventsListener)
- func STMPAttachPlayerEventsListener(c *stmp.Client, s STMPPlayerEventsListener)
- func STMPAttachRoomEventsListener(c *stmp.Client, s STMPRoomEventsListener)
- func STMPDetachGomokuEventsListener(c *stmp.Client, s STMPGomokuEventsListener)
- func STMPDetachPlayerEventsListener(c *stmp.Client, s STMPPlayerEventsListener)
- func STMPDetachRoomEventsListener(c *stmp.Client, s STMPRoomEventsListener)
- func STMPRegisterGomokuServiceServer(srv *stmp.Server, s STMPGomokuServiceServer)
- func STMPRegisterPlayerServiceServer(srv *stmp.Server, s STMPPlayerServiceServer)
- func STMPRegisterRoomServiceServer(srv *stmp.Server, s STMPRoomServiceServer)
- type ApplyInput
- func (*ApplyInput) Descriptor() ([]byte, []int)
- func (m *ApplyInput) GetKind() ApplyModel_Kind
- func (m *ApplyInput) Marshal() (dAtA []byte, err error)
- func (m *ApplyInput) MarshalTo(dAtA []byte) (int, error)
- func (m *ApplyInput) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ApplyInput) ProtoMessage()
- func (m *ApplyInput) Reset()
- func (m *ApplyInput) Size() (n int)
- func (m *ApplyInput) String() string
- func (m *ApplyInput) Unmarshal(dAtA []byte) error
- func (m *ApplyInput) Validate() error
- func (m *ApplyInput) XXX_DiscardUnknown()
- func (m *ApplyInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ApplyInput) XXX_Merge(src proto.Message)
- func (m *ApplyInput) XXX_Size() int
- func (m *ApplyInput) XXX_Unmarshal(b []byte) error
- type ApplyInputValidationError
- type ApplyModel
- func (*ApplyModel) Descriptor() ([]byte, []int)
- func (m *ApplyModel) Marshal() (dAtA []byte, err error)
- func (m *ApplyModel) MarshalTo(dAtA []byte) (int, error)
- func (m *ApplyModel) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ApplyModel) ProtoMessage()
- func (m *ApplyModel) Reset()
- func (m *ApplyModel) Size() (n int)
- func (m *ApplyModel) String() string
- func (m *ApplyModel) Unmarshal(dAtA []byte) error
- func (m *ApplyModel) Validate() error
- func (m *ApplyModel) XXX_DiscardUnknown()
- func (m *ApplyModel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ApplyModel) XXX_Merge(src proto.Message)
- func (m *ApplyModel) XXX_Size() int
- func (m *ApplyModel) XXX_Unmarshal(b []byte) error
- type ApplyModelValidationError
- type ApplyModel_Kind
- type Empty
- func (*Empty) Descriptor() ([]byte, []int)
- func (m *Empty) Marshal() (dAtA []byte, err error)
- func (m *Empty) MarshalTo(dAtA []byte) (int, error)
- func (m *Empty) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Empty) ProtoMessage()
- func (m *Empty) Reset()
- func (m *Empty) Size() (n int)
- func (m *Empty) String() string
- func (m *Empty) Unmarshal(dAtA []byte) error
- func (m *Empty) Validate() error
- func (m *Empty) XXX_DiscardUnknown()
- func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Empty) XXX_Merge(src proto.Message)
- func (m *Empty) XXX_Size() int
- func (m *Empty) XXX_Unmarshal(b []byte) error
- type EmptyValidationError
- type FullRoomModel
- func (*FullRoomModel) Descriptor() ([]byte, []int)
- func (m *FullRoomModel) GetGame() *GomokuModel
- func (m *FullRoomModel) GetPlayers() map[int64]*PlayerModel
- func (m *FullRoomModel) GetRoom() *RoomModel
- func (m *FullRoomModel) Marshal() (dAtA []byte, err error)
- func (m *FullRoomModel) MarshalTo(dAtA []byte) (int, error)
- func (m *FullRoomModel) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FullRoomModel) ProtoMessage()
- func (m *FullRoomModel) Reset()
- func (m *FullRoomModel) Size() (n int)
- func (m *FullRoomModel) String() string
- func (m *FullRoomModel) Unmarshal(dAtA []byte) error
- func (m *FullRoomModel) Validate() error
- func (m *FullRoomModel) XXX_DiscardUnknown()
- func (m *FullRoomModel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FullRoomModel) XXX_Merge(src proto.Message)
- func (m *FullRoomModel) XXX_Size() int
- func (m *FullRoomModel) XXX_Unmarshal(b []byte) error
- type FullRoomModelValidationError
- func (e FullRoomModelValidationError) Cause() error
- func (e FullRoomModelValidationError) Error() string
- func (e FullRoomModelValidationError) ErrorName() string
- func (e FullRoomModelValidationError) Field() string
- func (e FullRoomModelValidationError) Key() bool
- func (e FullRoomModelValidationError) Reason() string
- type GomokuModel
- func (*GomokuModel) Descriptor() ([]byte, []int)
- func (m *GomokuModel) GetCreatedAt() int64
- func (m *GomokuModel) GetHistory() []*HandModel
- func (m *GomokuModel) GetId() int64
- func (m *GomokuModel) GetPlayerBlack() int64
- func (m *GomokuModel) GetPlayerWhite() int64
- func (m *GomokuModel) GetResult() GomokuModel_Result
- func (m *GomokuModel) GetRoomId() int64
- func (m *GomokuModel) GetSeatBlack() int32
- func (m *GomokuModel) GetSeatWhite() int32
- func (m *GomokuModel) GetWinner() int64
- func (m *GomokuModel) Marshal() (dAtA []byte, err error)
- func (m *GomokuModel) MarshalTo(dAtA []byte) (int, error)
- func (m *GomokuModel) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GomokuModel) ProtoMessage()
- func (m *GomokuModel) Reset()
- func (m *GomokuModel) Size() (n int)
- func (m *GomokuModel) String() string
- func (m *GomokuModel) Unmarshal(dAtA []byte) error
- func (m *GomokuModel) Validate() error
- func (m *GomokuModel) XXX_DiscardUnknown()
- func (m *GomokuModel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GomokuModel) XXX_Merge(src proto.Message)
- func (m *GomokuModel) XXX_Size() int
- func (m *GomokuModel) XXX_Unmarshal(b []byte) error
- type GomokuModelValidationError
- func (e GomokuModelValidationError) Cause() error
- func (e GomokuModelValidationError) Error() string
- func (e GomokuModelValidationError) ErrorName() string
- func (e GomokuModelValidationError) Field() string
- func (e GomokuModelValidationError) Key() bool
- func (e GomokuModelValidationError) Reason() string
- type GomokuModel_Result
- type HandModel
- func (*HandModel) Descriptor() ([]byte, []int)
- func (m *HandModel) GetCol() uint32
- func (m *HandModel) GetRow() uint32
- func (m *HandModel) Marshal() (dAtA []byte, err error)
- func (m *HandModel) MarshalTo(dAtA []byte) (int, error)
- func (m *HandModel) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*HandModel) ProtoMessage()
- func (m *HandModel) Reset()
- func (m *HandModel) Size() (n int)
- func (m *HandModel) String() string
- func (m *HandModel) Unmarshal(dAtA []byte) error
- func (m *HandModel) Validate() error
- func (m *HandModel) XXX_DiscardUnknown()
- func (m *HandModel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HandModel) XXX_Merge(src proto.Message)
- func (m *HandModel) XXX_Size() int
- func (m *HandModel) XXX_Unmarshal(b []byte) error
- type HandModelValidationError
- type JoinRoomInput
- func (*JoinRoomInput) Descriptor() ([]byte, []int)
- func (m *JoinRoomInput) GetPreferSeat() int32
- func (m *JoinRoomInput) GetRoomId() int64
- func (m *JoinRoomInput) GetSeat() int32
- func (m *JoinRoomInput) Marshal() (dAtA []byte, err error)
- func (m *JoinRoomInput) MarshalTo(dAtA []byte) (int, error)
- func (m *JoinRoomInput) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*JoinRoomInput) ProtoMessage()
- func (m *JoinRoomInput) Reset()
- func (m *JoinRoomInput) Size() (n int)
- func (m *JoinRoomInput) String() string
- func (m *JoinRoomInput) Unmarshal(dAtA []byte) error
- func (m *JoinRoomInput) Validate() error
- func (m *JoinRoomInput) XXX_DiscardUnknown()
- func (m *JoinRoomInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *JoinRoomInput) XXX_Merge(src proto.Message)
- func (m *JoinRoomInput) XXX_Size() int
- func (m *JoinRoomInput) XXX_Unmarshal(b []byte) error
- type JoinRoomInputValidationError
- func (e JoinRoomInputValidationError) Cause() error
- func (e JoinRoomInputValidationError) Error() string
- func (e JoinRoomInputValidationError) ErrorName() string
- func (e JoinRoomInputValidationError) Field() string
- func (e JoinRoomInputValidationError) Key() bool
- func (e JoinRoomInputValidationError) Reason() string
- type ListInput
- func (*ListInput) Descriptor() ([]byte, []int)
- func (m *ListInput) GetLimit() int64
- func (m *ListInput) GetOffset() int64
- func (m *ListInput) Marshal() (dAtA []byte, err error)
- func (m *ListInput) MarshalTo(dAtA []byte) (int, error)
- func (m *ListInput) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListInput) ProtoMessage()
- func (m *ListInput) Reset()
- func (m *ListInput) Size() (n int)
- func (m *ListInput) String() string
- func (m *ListInput) Unmarshal(dAtA []byte) error
- func (m *ListInput) Validate() error
- func (m *ListInput) XXX_DiscardUnknown()
- func (m *ListInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListInput) XXX_Merge(src proto.Message)
- func (m *ListInput) XXX_Size() int
- func (m *ListInput) XXX_Unmarshal(b []byte) error
- type ListInputValidationError
- type ListPlayerInput
- func (*ListPlayerInput) Descriptor() ([]byte, []int)
- func (m *ListPlayerInput) GetIds() []int64
- func (m *ListPlayerInput) GetLimit() int64
- func (m *ListPlayerInput) GetOffset() int64
- func (m *ListPlayerInput) Marshal() (dAtA []byte, err error)
- func (m *ListPlayerInput) MarshalTo(dAtA []byte) (int, error)
- func (m *ListPlayerInput) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListPlayerInput) ProtoMessage()
- func (m *ListPlayerInput) Reset()
- func (m *ListPlayerInput) Size() (n int)
- func (m *ListPlayerInput) String() string
- func (m *ListPlayerInput) Unmarshal(dAtA []byte) error
- func (m *ListPlayerInput) Validate() error
- func (m *ListPlayerInput) XXX_DiscardUnknown()
- func (m *ListPlayerInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListPlayerInput) XXX_Merge(src proto.Message)
- func (m *ListPlayerInput) XXX_Size() int
- func (m *ListPlayerInput) XXX_Unmarshal(b []byte) error
- type ListPlayerInputValidationError
- func (e ListPlayerInputValidationError) Cause() error
- func (e ListPlayerInputValidationError) Error() string
- func (e ListPlayerInputValidationError) ErrorName() string
- func (e ListPlayerInputValidationError) Field() string
- func (e ListPlayerInputValidationError) Key() bool
- func (e ListPlayerInputValidationError) Reason() string
- type ListPlayerOutput
- func (*ListPlayerOutput) Descriptor() ([]byte, []int)
- func (m *ListPlayerOutput) GetPlayers() []*PlayerModel
- func (m *ListPlayerOutput) GetTotal() int64
- func (m *ListPlayerOutput) Marshal() (dAtA []byte, err error)
- func (m *ListPlayerOutput) MarshalTo(dAtA []byte) (int, error)
- func (m *ListPlayerOutput) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListPlayerOutput) ProtoMessage()
- func (m *ListPlayerOutput) Reset()
- func (m *ListPlayerOutput) Size() (n int)
- func (m *ListPlayerOutput) String() string
- func (m *ListPlayerOutput) Unmarshal(dAtA []byte) error
- func (m *ListPlayerOutput) Validate() error
- func (m *ListPlayerOutput) XXX_DiscardUnknown()
- func (m *ListPlayerOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListPlayerOutput) XXX_Merge(src proto.Message)
- func (m *ListPlayerOutput) XXX_Size() int
- func (m *ListPlayerOutput) XXX_Unmarshal(b []byte) error
- type ListPlayerOutputValidationError
- func (e ListPlayerOutputValidationError) Cause() error
- func (e ListPlayerOutputValidationError) Error() string
- func (e ListPlayerOutputValidationError) ErrorName() string
- func (e ListPlayerOutputValidationError) Field() string
- func (e ListPlayerOutputValidationError) Key() bool
- func (e ListPlayerOutputValidationError) Reason() string
- type ListRoomOutput
- func (*ListRoomOutput) Descriptor() ([]byte, []int)
- func (m *ListRoomOutput) GetRooms() []*RoomModel
- func (m *ListRoomOutput) GetTotal() int64
- func (m *ListRoomOutput) Marshal() (dAtA []byte, err error)
- func (m *ListRoomOutput) MarshalTo(dAtA []byte) (int, error)
- func (m *ListRoomOutput) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListRoomOutput) ProtoMessage()
- func (m *ListRoomOutput) Reset()
- func (m *ListRoomOutput) Size() (n int)
- func (m *ListRoomOutput) String() string
- func (m *ListRoomOutput) Unmarshal(dAtA []byte) error
- func (m *ListRoomOutput) Validate() error
- func (m *ListRoomOutput) XXX_DiscardUnknown()
- func (m *ListRoomOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListRoomOutput) XXX_Merge(src proto.Message)
- func (m *ListRoomOutput) XXX_Size() int
- func (m *ListRoomOutput) XXX_Unmarshal(b []byte) error
- type ListRoomOutputValidationError
- func (e ListRoomOutputValidationError) Cause() error
- func (e ListRoomOutputValidationError) Error() string
- func (e ListRoomOutputValidationError) ErrorName() string
- func (e ListRoomOutputValidationError) Field() string
- func (e ListRoomOutputValidationError) Key() bool
- func (e ListRoomOutputValidationError) Reason() string
- type LoginInput
- func (*LoginInput) Descriptor() ([]byte, []int)
- func (m *LoginInput) GetName() string
- func (m *LoginInput) Marshal() (dAtA []byte, err error)
- func (m *LoginInput) MarshalTo(dAtA []byte) (int, error)
- func (m *LoginInput) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LoginInput) ProtoMessage()
- func (m *LoginInput) Reset()
- func (m *LoginInput) Size() (n int)
- func (m *LoginInput) String() string
- func (m *LoginInput) Unmarshal(dAtA []byte) error
- func (m *LoginInput) Validate() error
- func (m *LoginInput) XXX_DiscardUnknown()
- func (m *LoginInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoginInput) XXX_Merge(src proto.Message)
- func (m *LoginInput) XXX_Size() int
- func (m *LoginInput) XXX_Unmarshal(b []byte) error
- type LoginInputValidationError
- type LookonRoomInput
- func (*LookonRoomInput) Descriptor() ([]byte, []int)
- func (m *LookonRoomInput) GetRoomId() int64
- func (m *LookonRoomInput) Marshal() (dAtA []byte, err error)
- func (m *LookonRoomInput) MarshalTo(dAtA []byte) (int, error)
- func (m *LookonRoomInput) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LookonRoomInput) ProtoMessage()
- func (m *LookonRoomInput) Reset()
- func (m *LookonRoomInput) Size() (n int)
- func (m *LookonRoomInput) String() string
- func (m *LookonRoomInput) Unmarshal(dAtA []byte) error
- func (m *LookonRoomInput) Validate() error
- func (m *LookonRoomInput) XXX_DiscardUnknown()
- func (m *LookonRoomInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LookonRoomInput) XXX_Merge(src proto.Message)
- func (m *LookonRoomInput) XXX_Size() int
- func (m *LookonRoomInput) XXX_Unmarshal(b []byte) error
- type LookonRoomInputValidationError
- func (e LookonRoomInputValidationError) Cause() error
- func (e LookonRoomInputValidationError) Error() string
- func (e LookonRoomInputValidationError) ErrorName() string
- func (e LookonRoomInputValidationError) Field() string
- func (e LookonRoomInputValidationError) Key() bool
- func (e LookonRoomInputValidationError) Reason() string
- type PlayerModel
- func (*PlayerModel) Descriptor() ([]byte, []int)
- func (m *PlayerModel) GetGameId() int64
- func (m *PlayerModel) GetId() int64
- func (m *PlayerModel) GetName() string
- func (m *PlayerModel) GetReadyTimeout() int64
- func (m *PlayerModel) GetRoomId() int64
- func (m *PlayerModel) GetSeat() int32
- func (m *PlayerModel) GetStatus() PlayerModel_Status
- func (m *PlayerModel) Marshal() (dAtA []byte, err error)
- func (m *PlayerModel) MarshalTo(dAtA []byte) (int, error)
- func (m *PlayerModel) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PlayerModel) ProtoMessage()
- func (m *PlayerModel) Reset()
- func (m *PlayerModel) Size() (n int)
- func (m *PlayerModel) String() string
- func (m *PlayerModel) Unmarshal(dAtA []byte) error
- func (m *PlayerModel) Validate() error
- func (m *PlayerModel) XXX_DiscardUnknown()
- func (m *PlayerModel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PlayerModel) XXX_Merge(src proto.Message)
- func (m *PlayerModel) XXX_Size() int
- func (m *PlayerModel) XXX_Unmarshal(b []byte) error
- type PlayerModelValidationError
- func (e PlayerModelValidationError) Cause() error
- func (e PlayerModelValidationError) Error() string
- func (e PlayerModelValidationError) ErrorName() string
- func (e PlayerModelValidationError) Field() string
- func (e PlayerModelValidationError) Key() bool
- func (e PlayerModelValidationError) Reason() string
- type PlayerModel_Status
- type ReplyInput
- func (*ReplyInput) Descriptor() ([]byte, []int)
- func (m *ReplyInput) GetAccept() bool
- func (m *ReplyInput) GetKind() ApplyModel_Kind
- func (m *ReplyInput) Marshal() (dAtA []byte, err error)
- func (m *ReplyInput) MarshalTo(dAtA []byte) (int, error)
- func (m *ReplyInput) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ReplyInput) ProtoMessage()
- func (m *ReplyInput) Reset()
- func (m *ReplyInput) Size() (n int)
- func (m *ReplyInput) String() string
- func (m *ReplyInput) Unmarshal(dAtA []byte) error
- func (m *ReplyInput) Validate() error
- func (m *ReplyInput) XXX_DiscardUnknown()
- func (m *ReplyInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReplyInput) XXX_Merge(src proto.Message)
- func (m *ReplyInput) XXX_Size() int
- func (m *ReplyInput) XXX_Unmarshal(b []byte) error
- type ReplyInputValidationError
- type RoomModel
- func (*RoomModel) Descriptor() ([]byte, []int)
- func (m *RoomModel) GetGameId() int64
- func (m *RoomModel) GetId() int64
- func (m *RoomModel) GetPlayers() map[int32]int64
- func (m *RoomModel) GetSpectators() []int64
- func (m *RoomModel) Marshal() (dAtA []byte, err error)
- func (m *RoomModel) MarshalTo(dAtA []byte) (int, error)
- func (m *RoomModel) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RoomModel) ProtoMessage()
- func (m *RoomModel) Reset()
- func (m *RoomModel) Size() (n int)
- func (m *RoomModel) String() string
- func (m *RoomModel) Unmarshal(dAtA []byte) error
- func (m *RoomModel) Validate() error
- func (m *RoomModel) XXX_DiscardUnknown()
- func (m *RoomModel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RoomModel) XXX_Merge(src proto.Message)
- func (m *RoomModel) XXX_Size() int
- func (m *RoomModel) XXX_Unmarshal(b []byte) error
- type RoomModelValidationError
- type RoomModel_Reasons
- type STMPGomokuEventsBroadcaster
- func (s STMPGomokuEventsBroadcaster) GameOver(ctx context.Context, in *GomokuModel, conn *stmp.Conn, ...) error
- func (s STMPGomokuEventsBroadcaster) GameOverToAll(ctx context.Context, in *GomokuModel, srv *stmp.Server, ...)
- func (s STMPGomokuEventsBroadcaster) GameOverToList(ctx context.Context, in *GomokuModel, conns ...*stmp.Conn)
- func (s STMPGomokuEventsBroadcaster) GameOverToSet(ctx context.Context, in *GomokuModel, conns stmp.ConnSet, ...)
- func (s STMPGomokuEventsBroadcaster) GameStart(ctx context.Context, in *GomokuModel, conn *stmp.Conn, ...) error
- func (s STMPGomokuEventsBroadcaster) GameStartToAll(ctx context.Context, in *GomokuModel, srv *stmp.Server, ...)
- func (s STMPGomokuEventsBroadcaster) GameStartToList(ctx context.Context, in *GomokuModel, conns ...*stmp.Conn)
- func (s STMPGomokuEventsBroadcaster) GameStartToSet(ctx context.Context, in *GomokuModel, conns stmp.ConnSet, ...)
- func (s STMPGomokuEventsBroadcaster) UserApply(ctx context.Context, in *UserApplyEvent, conn *stmp.Conn, ...) error
- func (s STMPGomokuEventsBroadcaster) UserApplyToAll(ctx context.Context, in *UserApplyEvent, srv *stmp.Server, ...)
- func (s STMPGomokuEventsBroadcaster) UserApplyToList(ctx context.Context, in *UserApplyEvent, conns ...*stmp.Conn)
- func (s STMPGomokuEventsBroadcaster) UserApplyToSet(ctx context.Context, in *UserApplyEvent, conns stmp.ConnSet, ...)
- func (s STMPGomokuEventsBroadcaster) UserConnected(ctx context.Context, in *UserConnectedEvent, conn *stmp.Conn, ...) error
- func (s STMPGomokuEventsBroadcaster) UserConnectedToAll(ctx context.Context, in *UserConnectedEvent, srv *stmp.Server, ...)
- func (s STMPGomokuEventsBroadcaster) UserConnectedToList(ctx context.Context, in *UserConnectedEvent, conns ...*stmp.Conn)
- func (s STMPGomokuEventsBroadcaster) UserConnectedToSet(ctx context.Context, in *UserConnectedEvent, conns stmp.ConnSet, ...)
- func (s STMPGomokuEventsBroadcaster) UserDisconnected(ctx context.Context, in *UserDisconnectedEvent, conn *stmp.Conn, ...) error
- func (s STMPGomokuEventsBroadcaster) UserDisconnectedToAll(ctx context.Context, in *UserDisconnectedEvent, srv *stmp.Server, ...)
- func (s STMPGomokuEventsBroadcaster) UserDisconnectedToList(ctx context.Context, in *UserDisconnectedEvent, conns ...*stmp.Conn)
- func (s STMPGomokuEventsBroadcaster) UserDisconnectedToSet(ctx context.Context, in *UserDisconnectedEvent, conns stmp.ConnSet, ...)
- func (s STMPGomokuEventsBroadcaster) UserPlay(ctx context.Context, in *UserPlayEvent, conn *stmp.Conn, ...) error
- func (s STMPGomokuEventsBroadcaster) UserPlayToAll(ctx context.Context, in *UserPlayEvent, srv *stmp.Server, ...)
- func (s STMPGomokuEventsBroadcaster) UserPlayToList(ctx context.Context, in *UserPlayEvent, conns ...*stmp.Conn)
- func (s STMPGomokuEventsBroadcaster) UserPlayToSet(ctx context.Context, in *UserPlayEvent, conns stmp.ConnSet, ...)
- func (s STMPGomokuEventsBroadcaster) UserReply(ctx context.Context, in *UserReplyEvent, conn *stmp.Conn, ...) error
- func (s STMPGomokuEventsBroadcaster) UserReplyToAll(ctx context.Context, in *UserReplyEvent, srv *stmp.Server, ...)
- func (s STMPGomokuEventsBroadcaster) UserReplyToList(ctx context.Context, in *UserReplyEvent, conns ...*stmp.Conn)
- func (s STMPGomokuEventsBroadcaster) UserReplyToSet(ctx context.Context, in *UserReplyEvent, conns stmp.ConnSet, ...)
- type STMPGomokuEventsListener
- type STMPGomokuServiceClient
- type STMPGomokuServiceServer
- type STMPPlayerEventsBroadcaster
- func (s STMPPlayerEventsBroadcaster) StatusUpdated(ctx context.Context, in *PlayerModel, conn *stmp.Conn, ...) error
- func (s STMPPlayerEventsBroadcaster) StatusUpdatedToAll(ctx context.Context, in *PlayerModel, srv *stmp.Server, ...)
- func (s STMPPlayerEventsBroadcaster) StatusUpdatedToList(ctx context.Context, in *PlayerModel, conns ...*stmp.Conn)
- func (s STMPPlayerEventsBroadcaster) StatusUpdatedToSet(ctx context.Context, in *PlayerModel, conns stmp.ConnSet, ...)
- type STMPPlayerEventsListener
- type STMPPlayerServiceClient
- type STMPPlayerServiceServer
- type STMPRoomEventsBroadcaster
- func (s STMPRoomEventsBroadcaster) UserExit(ctx context.Context, in *UserExitEvent, conn *stmp.Conn, ...) error
- func (s STMPRoomEventsBroadcaster) UserExitToAll(ctx context.Context, in *UserExitEvent, srv *stmp.Server, ...)
- func (s STMPRoomEventsBroadcaster) UserExitToList(ctx context.Context, in *UserExitEvent, conns ...*stmp.Conn)
- func (s STMPRoomEventsBroadcaster) UserExitToSet(ctx context.Context, in *UserExitEvent, conns stmp.ConnSet, ...)
- func (s STMPRoomEventsBroadcaster) UserJoin(ctx context.Context, in *UserJoinEvent, conn *stmp.Conn, ...) error
- func (s STMPRoomEventsBroadcaster) UserJoinToAll(ctx context.Context, in *UserJoinEvent, srv *stmp.Server, ...)
- func (s STMPRoomEventsBroadcaster) UserJoinToList(ctx context.Context, in *UserJoinEvent, conns ...*stmp.Conn)
- func (s STMPRoomEventsBroadcaster) UserJoinToSet(ctx context.Context, in *UserJoinEvent, conns stmp.ConnSet, ...)
- func (s STMPRoomEventsBroadcaster) UserLookon(ctx context.Context, in *UserLookonEvent, conn *stmp.Conn, ...) error
- func (s STMPRoomEventsBroadcaster) UserLookonToAll(ctx context.Context, in *UserLookonEvent, srv *stmp.Server, ...)
- func (s STMPRoomEventsBroadcaster) UserLookonToList(ctx context.Context, in *UserLookonEvent, conns ...*stmp.Conn)
- func (s STMPRoomEventsBroadcaster) UserLookonToSet(ctx context.Context, in *UserLookonEvent, conns stmp.ConnSet, ...)
- func (s STMPRoomEventsBroadcaster) UserReady(ctx context.Context, in *UserReadyEvent, conn *stmp.Conn, ...) error
- func (s STMPRoomEventsBroadcaster) UserReadyToAll(ctx context.Context, in *UserReadyEvent, srv *stmp.Server, ...)
- func (s STMPRoomEventsBroadcaster) UserReadyToList(ctx context.Context, in *UserReadyEvent, conns ...*stmp.Conn)
- func (s STMPRoomEventsBroadcaster) UserReadyToSet(ctx context.Context, in *UserReadyEvent, conns stmp.ConnSet, ...)
- func (s STMPRoomEventsBroadcaster) UserUnready(ctx context.Context, in *UserUnreadyEvent, conn *stmp.Conn, ...) error
- func (s STMPRoomEventsBroadcaster) UserUnreadyToAll(ctx context.Context, in *UserUnreadyEvent, srv *stmp.Server, ...)
- func (s STMPRoomEventsBroadcaster) UserUnreadyToList(ctx context.Context, in *UserUnreadyEvent, conns ...*stmp.Conn)
- func (s STMPRoomEventsBroadcaster) UserUnreadyToSet(ctx context.Context, in *UserUnreadyEvent, conns stmp.ConnSet, ...)
- type STMPRoomEventsListener
- type STMPRoomServiceClient
- type STMPRoomServiceServer
- type UserApplyEvent
- func (*UserApplyEvent) Descriptor() ([]byte, []int)
- func (m *UserApplyEvent) GetKind() ApplyModel_Kind
- func (m *UserApplyEvent) Marshal() (dAtA []byte, err error)
- func (m *UserApplyEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *UserApplyEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserApplyEvent) ProtoMessage()
- func (m *UserApplyEvent) Reset()
- func (m *UserApplyEvent) Size() (n int)
- func (m *UserApplyEvent) String() string
- func (m *UserApplyEvent) Unmarshal(dAtA []byte) error
- func (m *UserApplyEvent) Validate() error
- func (m *UserApplyEvent) XXX_DiscardUnknown()
- func (m *UserApplyEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserApplyEvent) XXX_Merge(src proto.Message)
- func (m *UserApplyEvent) XXX_Size() int
- func (m *UserApplyEvent) XXX_Unmarshal(b []byte) error
- type UserApplyEventValidationError
- func (e UserApplyEventValidationError) Cause() error
- func (e UserApplyEventValidationError) Error() string
- func (e UserApplyEventValidationError) ErrorName() string
- func (e UserApplyEventValidationError) Field() string
- func (e UserApplyEventValidationError) Key() bool
- func (e UserApplyEventValidationError) Reason() string
- type UserConnectedEvent
- func (*UserConnectedEvent) Descriptor() ([]byte, []int)
- func (m *UserConnectedEvent) GetUserId() int64
- func (m *UserConnectedEvent) Marshal() (dAtA []byte, err error)
- func (m *UserConnectedEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *UserConnectedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserConnectedEvent) ProtoMessage()
- func (m *UserConnectedEvent) Reset()
- func (m *UserConnectedEvent) Size() (n int)
- func (m *UserConnectedEvent) String() string
- func (m *UserConnectedEvent) Unmarshal(dAtA []byte) error
- func (m *UserConnectedEvent) Validate() error
- func (m *UserConnectedEvent) XXX_DiscardUnknown()
- func (m *UserConnectedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserConnectedEvent) XXX_Merge(src proto.Message)
- func (m *UserConnectedEvent) XXX_Size() int
- func (m *UserConnectedEvent) XXX_Unmarshal(b []byte) error
- type UserConnectedEventValidationError
- func (e UserConnectedEventValidationError) Cause() error
- func (e UserConnectedEventValidationError) Error() string
- func (e UserConnectedEventValidationError) ErrorName() string
- func (e UserConnectedEventValidationError) Field() string
- func (e UserConnectedEventValidationError) Key() bool
- func (e UserConnectedEventValidationError) Reason() string
- type UserDisconnectedEvent
- func (*UserDisconnectedEvent) Descriptor() ([]byte, []int)
- func (m *UserDisconnectedEvent) GetUserId() int64
- func (m *UserDisconnectedEvent) GetWaitTimeout() int32
- func (m *UserDisconnectedEvent) Marshal() (dAtA []byte, err error)
- func (m *UserDisconnectedEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *UserDisconnectedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserDisconnectedEvent) ProtoMessage()
- func (m *UserDisconnectedEvent) Reset()
- func (m *UserDisconnectedEvent) Size() (n int)
- func (m *UserDisconnectedEvent) String() string
- func (m *UserDisconnectedEvent) Unmarshal(dAtA []byte) error
- func (m *UserDisconnectedEvent) Validate() error
- func (m *UserDisconnectedEvent) XXX_DiscardUnknown()
- func (m *UserDisconnectedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserDisconnectedEvent) XXX_Merge(src proto.Message)
- func (m *UserDisconnectedEvent) XXX_Size() int
- func (m *UserDisconnectedEvent) XXX_Unmarshal(b []byte) error
- type UserDisconnectedEventValidationError
- func (e UserDisconnectedEventValidationError) Cause() error
- func (e UserDisconnectedEventValidationError) Error() string
- func (e UserDisconnectedEventValidationError) ErrorName() string
- func (e UserDisconnectedEventValidationError) Field() string
- func (e UserDisconnectedEventValidationError) Key() bool
- func (e UserDisconnectedEventValidationError) Reason() string
- type UserExitEvent
- func (*UserExitEvent) Descriptor() ([]byte, []int)
- func (m *UserExitEvent) GetUserId() int64
- func (m *UserExitEvent) Marshal() (dAtA []byte, err error)
- func (m *UserExitEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *UserExitEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserExitEvent) ProtoMessage()
- func (m *UserExitEvent) Reset()
- func (m *UserExitEvent) Size() (n int)
- func (m *UserExitEvent) String() string
- func (m *UserExitEvent) Unmarshal(dAtA []byte) error
- func (m *UserExitEvent) Validate() error
- func (m *UserExitEvent) XXX_DiscardUnknown()
- func (m *UserExitEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserExitEvent) XXX_Merge(src proto.Message)
- func (m *UserExitEvent) XXX_Size() int
- func (m *UserExitEvent) XXX_Unmarshal(b []byte) error
- type UserExitEventValidationError
- func (e UserExitEventValidationError) Cause() error
- func (e UserExitEventValidationError) Error() string
- func (e UserExitEventValidationError) ErrorName() string
- func (e UserExitEventValidationError) Field() string
- func (e UserExitEventValidationError) Key() bool
- func (e UserExitEventValidationError) Reason() string
- type UserJoinEvent
- func (*UserJoinEvent) Descriptor() ([]byte, []int)
- func (m *UserJoinEvent) GetReadyTimeout() int32
- func (m *UserJoinEvent) GetSeat() int32
- func (m *UserJoinEvent) GetUserId() int64
- func (m *UserJoinEvent) Marshal() (dAtA []byte, err error)
- func (m *UserJoinEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *UserJoinEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserJoinEvent) ProtoMessage()
- func (m *UserJoinEvent) Reset()
- func (m *UserJoinEvent) Size() (n int)
- func (m *UserJoinEvent) String() string
- func (m *UserJoinEvent) Unmarshal(dAtA []byte) error
- func (m *UserJoinEvent) Validate() error
- func (m *UserJoinEvent) XXX_DiscardUnknown()
- func (m *UserJoinEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserJoinEvent) XXX_Merge(src proto.Message)
- func (m *UserJoinEvent) XXX_Size() int
- func (m *UserJoinEvent) XXX_Unmarshal(b []byte) error
- type UserJoinEventValidationError
- func (e UserJoinEventValidationError) Cause() error
- func (e UserJoinEventValidationError) Error() string
- func (e UserJoinEventValidationError) ErrorName() string
- func (e UserJoinEventValidationError) Field() string
- func (e UserJoinEventValidationError) Key() bool
- func (e UserJoinEventValidationError) Reason() string
- type UserLookonEvent
- func (*UserLookonEvent) Descriptor() ([]byte, []int)
- func (m *UserLookonEvent) GetUserId() int64
- func (m *UserLookonEvent) Marshal() (dAtA []byte, err error)
- func (m *UserLookonEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *UserLookonEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserLookonEvent) ProtoMessage()
- func (m *UserLookonEvent) Reset()
- func (m *UserLookonEvent) Size() (n int)
- func (m *UserLookonEvent) String() string
- func (m *UserLookonEvent) Unmarshal(dAtA []byte) error
- func (m *UserLookonEvent) Validate() error
- func (m *UserLookonEvent) XXX_DiscardUnknown()
- func (m *UserLookonEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserLookonEvent) XXX_Merge(src proto.Message)
- func (m *UserLookonEvent) XXX_Size() int
- func (m *UserLookonEvent) XXX_Unmarshal(b []byte) error
- type UserLookonEventValidationError
- func (e UserLookonEventValidationError) Cause() error
- func (e UserLookonEventValidationError) Error() string
- func (e UserLookonEventValidationError) ErrorName() string
- func (e UserLookonEventValidationError) Field() string
- func (e UserLookonEventValidationError) Key() bool
- func (e UserLookonEventValidationError) Reason() string
- type UserPlayEvent
- func (*UserPlayEvent) Descriptor() ([]byte, []int)
- func (m *UserPlayEvent) GetHand() *HandModel
- func (m *UserPlayEvent) GetUserId() int64
- func (m *UserPlayEvent) Marshal() (dAtA []byte, err error)
- func (m *UserPlayEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *UserPlayEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserPlayEvent) ProtoMessage()
- func (m *UserPlayEvent) Reset()
- func (m *UserPlayEvent) Size() (n int)
- func (m *UserPlayEvent) String() string
- func (m *UserPlayEvent) Unmarshal(dAtA []byte) error
- func (m *UserPlayEvent) Validate() error
- func (m *UserPlayEvent) XXX_DiscardUnknown()
- func (m *UserPlayEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserPlayEvent) XXX_Merge(src proto.Message)
- func (m *UserPlayEvent) XXX_Size() int
- func (m *UserPlayEvent) XXX_Unmarshal(b []byte) error
- type UserPlayEventValidationError
- func (e UserPlayEventValidationError) Cause() error
- func (e UserPlayEventValidationError) Error() string
- func (e UserPlayEventValidationError) ErrorName() string
- func (e UserPlayEventValidationError) Field() string
- func (e UserPlayEventValidationError) Key() bool
- func (e UserPlayEventValidationError) Reason() string
- type UserReadyEvent
- func (*UserReadyEvent) Descriptor() ([]byte, []int)
- func (m *UserReadyEvent) GetUserId() int64
- func (m *UserReadyEvent) Marshal() (dAtA []byte, err error)
- func (m *UserReadyEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *UserReadyEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserReadyEvent) ProtoMessage()
- func (m *UserReadyEvent) Reset()
- func (m *UserReadyEvent) Size() (n int)
- func (m *UserReadyEvent) String() string
- func (m *UserReadyEvent) Unmarshal(dAtA []byte) error
- func (m *UserReadyEvent) Validate() error
- func (m *UserReadyEvent) XXX_DiscardUnknown()
- func (m *UserReadyEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserReadyEvent) XXX_Merge(src proto.Message)
- func (m *UserReadyEvent) XXX_Size() int
- func (m *UserReadyEvent) XXX_Unmarshal(b []byte) error
- type UserReadyEventValidationError
- func (e UserReadyEventValidationError) Cause() error
- func (e UserReadyEventValidationError) Error() string
- func (e UserReadyEventValidationError) ErrorName() string
- func (e UserReadyEventValidationError) Field() string
- func (e UserReadyEventValidationError) Key() bool
- func (e UserReadyEventValidationError) Reason() string
- type UserReplyEvent
- func (*UserReplyEvent) Descriptor() ([]byte, []int)
- func (m *UserReplyEvent) GetAccepted() bool
- func (m *UserReplyEvent) GetKind() ApplyModel_Kind
- func (m *UserReplyEvent) Marshal() (dAtA []byte, err error)
- func (m *UserReplyEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *UserReplyEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserReplyEvent) ProtoMessage()
- func (m *UserReplyEvent) Reset()
- func (m *UserReplyEvent) Size() (n int)
- func (m *UserReplyEvent) String() string
- func (m *UserReplyEvent) Unmarshal(dAtA []byte) error
- func (m *UserReplyEvent) Validate() error
- func (m *UserReplyEvent) XXX_DiscardUnknown()
- func (m *UserReplyEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserReplyEvent) XXX_Merge(src proto.Message)
- func (m *UserReplyEvent) XXX_Size() int
- func (m *UserReplyEvent) XXX_Unmarshal(b []byte) error
- type UserReplyEventValidationError
- func (e UserReplyEventValidationError) Cause() error
- func (e UserReplyEventValidationError) Error() string
- func (e UserReplyEventValidationError) ErrorName() string
- func (e UserReplyEventValidationError) Field() string
- func (e UserReplyEventValidationError) Key() bool
- func (e UserReplyEventValidationError) Reason() string
- type UserUnreadyEvent
- func (*UserUnreadyEvent) Descriptor() ([]byte, []int)
- func (m *UserUnreadyEvent) GetReadyTimeout() int32
- func (m *UserUnreadyEvent) GetUserId() int64
- func (m *UserUnreadyEvent) Marshal() (dAtA []byte, err error)
- func (m *UserUnreadyEvent) MarshalTo(dAtA []byte) (int, error)
- func (m *UserUnreadyEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserUnreadyEvent) ProtoMessage()
- func (m *UserUnreadyEvent) Reset()
- func (m *UserUnreadyEvent) Size() (n int)
- func (m *UserUnreadyEvent) String() string
- func (m *UserUnreadyEvent) Unmarshal(dAtA []byte) error
- func (m *UserUnreadyEvent) Validate() error
- func (m *UserUnreadyEvent) XXX_DiscardUnknown()
- func (m *UserUnreadyEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserUnreadyEvent) XXX_Merge(src proto.Message)
- func (m *UserUnreadyEvent) XXX_Size() int
- func (m *UserUnreadyEvent) XXX_Unmarshal(b []byte) error
- type UserUnreadyEventValidationError
- func (e UserUnreadyEventValidationError) Cause() error
- func (e UserUnreadyEventValidationError) Error() string
- func (e UserUnreadyEventValidationError) ErrorName() string
- func (e UserUnreadyEventValidationError) Field() string
- func (e UserUnreadyEventValidationError) Key() bool
- func (e UserUnreadyEventValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthGomoku = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGomoku = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGomoku = fmt.Errorf("proto: unexpected end of group") )
var ApplyModel_Kind_name = map[int32]string{
0: "Reserved",
1: "GiveUp",
2: "Draw",
}
var ApplyModel_Kind_value = map[string]int32{
"Reserved": 0,
"GiveUp": 1,
"Draw": 2,
}
var GomokuModel_Result_name = map[int32]string{
0: "Playing",
1: "Win",
2: "Draw",
3: "ApplyGiveUp",
4: "ApplyDraw",
5: "UserStepTimeout",
6: "UserTotalTimeout",
}
var GomokuModel_Result_value = map[string]int32{
"Playing": 0,
"Win": 1,
"Draw": 2,
"ApplyGiveUp": 3,
"ApplyDraw": 4,
"UserStepTimeout": 5,
"UserTotalTimeout": 6,
}
var PlayerModel_Status_name = map[int32]string{
0: "Reserved",
1: "Free",
2: "Standby",
3: "Unready",
4: "Ready",
5: "Playing",
}
var PlayerModel_Status_value = map[string]int32{
"Reserved": 0,
"Free": 1,
"Standby": 2,
"Unready": 3,
"Ready": 4,
"Playing": 5,
}
var RoomModel_Reasons_name = map[int32]string{
0: "Reserved",
1: "InRoomAlready",
}
var RoomModel_Reasons_value = map[string]int32{
"Reserved": 0,
"InRoomAlready": 1,
}
Functions ¶
func STMPAttachGomokuEventsListener ¶
func STMPAttachGomokuEventsListener(c *stmp.Client, s STMPGomokuEventsListener)
func STMPAttachPlayerEventsListener ¶
func STMPAttachPlayerEventsListener(c *stmp.Client, s STMPPlayerEventsListener)
func STMPAttachRoomEventsListener ¶
func STMPAttachRoomEventsListener(c *stmp.Client, s STMPRoomEventsListener)
func STMPDetachGomokuEventsListener ¶
func STMPDetachGomokuEventsListener(c *stmp.Client, s STMPGomokuEventsListener)
func STMPDetachPlayerEventsListener ¶
func STMPDetachPlayerEventsListener(c *stmp.Client, s STMPPlayerEventsListener)
func STMPDetachRoomEventsListener ¶
func STMPDetachRoomEventsListener(c *stmp.Client, s STMPRoomEventsListener)
func STMPRegisterGomokuServiceServer ¶
func STMPRegisterGomokuServiceServer(srv *stmp.Server, s STMPGomokuServiceServer)
func STMPRegisterPlayerServiceServer ¶
func STMPRegisterPlayerServiceServer(srv *stmp.Server, s STMPPlayerServiceServer)
func STMPRegisterRoomServiceServer ¶
func STMPRegisterRoomServiceServer(srv *stmp.Server, s STMPRoomServiceServer)
Types ¶
type ApplyInput ¶
type ApplyInput struct { Kind ApplyModel_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=stmp.examples.gomoku.ApplyModel_Kind" json:"kind,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ApplyInput) Descriptor ¶
func (*ApplyInput) Descriptor() ([]byte, []int)
func (*ApplyInput) GetKind ¶
func (m *ApplyInput) GetKind() ApplyModel_Kind
func (*ApplyInput) Marshal ¶
func (m *ApplyInput) Marshal() (dAtA []byte, err error)
func (*ApplyInput) MarshalToSizedBuffer ¶
func (m *ApplyInput) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ApplyInput) ProtoMessage ¶
func (*ApplyInput) ProtoMessage()
func (*ApplyInput) Reset ¶
func (m *ApplyInput) Reset()
func (*ApplyInput) Size ¶
func (m *ApplyInput) Size() (n int)
func (*ApplyInput) String ¶
func (m *ApplyInput) String() string
func (*ApplyInput) Unmarshal ¶
func (m *ApplyInput) Unmarshal(dAtA []byte) error
func (*ApplyInput) Validate ¶
func (m *ApplyInput) Validate() error
Validate checks the field values on ApplyInput with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ApplyInput) XXX_DiscardUnknown ¶
func (m *ApplyInput) XXX_DiscardUnknown()
func (*ApplyInput) XXX_Marshal ¶
func (m *ApplyInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ApplyInput) XXX_Merge ¶
func (m *ApplyInput) XXX_Merge(src proto.Message)
func (*ApplyInput) XXX_Size ¶
func (m *ApplyInput) XXX_Size() int
func (*ApplyInput) XXX_Unmarshal ¶
func (m *ApplyInput) XXX_Unmarshal(b []byte) error
type ApplyInputValidationError ¶
type ApplyInputValidationError struct {
// contains filtered or unexported fields
}
ApplyInputValidationError is the validation error returned by ApplyInput.Validate if the designated constraints aren't met.
func (ApplyInputValidationError) Cause ¶
func (e ApplyInputValidationError) Cause() error
Cause function returns cause value.
func (ApplyInputValidationError) Error ¶
func (e ApplyInputValidationError) Error() string
Error satisfies the builtin error interface
func (ApplyInputValidationError) ErrorName ¶
func (e ApplyInputValidationError) ErrorName() string
ErrorName returns error name.
func (ApplyInputValidationError) Field ¶
func (e ApplyInputValidationError) Field() string
Field function returns field value.
func (ApplyInputValidationError) Key ¶
func (e ApplyInputValidationError) Key() bool
Key function returns key value.
func (ApplyInputValidationError) Reason ¶
func (e ApplyInputValidationError) Reason() string
Reason function returns reason value.
type ApplyModel ¶
type ApplyModel struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ApplyModel) Descriptor ¶
func (*ApplyModel) Descriptor() ([]byte, []int)
func (*ApplyModel) Marshal ¶
func (m *ApplyModel) Marshal() (dAtA []byte, err error)
func (*ApplyModel) MarshalToSizedBuffer ¶
func (m *ApplyModel) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ApplyModel) ProtoMessage ¶
func (*ApplyModel) ProtoMessage()
func (*ApplyModel) Reset ¶
func (m *ApplyModel) Reset()
func (*ApplyModel) Size ¶
func (m *ApplyModel) Size() (n int)
func (*ApplyModel) String ¶
func (m *ApplyModel) String() string
func (*ApplyModel) Unmarshal ¶
func (m *ApplyModel) Unmarshal(dAtA []byte) error
func (*ApplyModel) Validate ¶
func (m *ApplyModel) Validate() error
Validate checks the field values on ApplyModel with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ApplyModel) XXX_DiscardUnknown ¶
func (m *ApplyModel) XXX_DiscardUnknown()
func (*ApplyModel) XXX_Marshal ¶
func (m *ApplyModel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ApplyModel) XXX_Merge ¶
func (m *ApplyModel) XXX_Merge(src proto.Message)
func (*ApplyModel) XXX_Size ¶
func (m *ApplyModel) XXX_Size() int
func (*ApplyModel) XXX_Unmarshal ¶
func (m *ApplyModel) XXX_Unmarshal(b []byte) error
type ApplyModelValidationError ¶
type ApplyModelValidationError struct {
// contains filtered or unexported fields
}
ApplyModelValidationError is the validation error returned by ApplyModel.Validate if the designated constraints aren't met.
func (ApplyModelValidationError) Cause ¶
func (e ApplyModelValidationError) Cause() error
Cause function returns cause value.
func (ApplyModelValidationError) Error ¶
func (e ApplyModelValidationError) Error() string
Error satisfies the builtin error interface
func (ApplyModelValidationError) ErrorName ¶
func (e ApplyModelValidationError) ErrorName() string
ErrorName returns error name.
func (ApplyModelValidationError) Field ¶
func (e ApplyModelValidationError) Field() string
Field function returns field value.
func (ApplyModelValidationError) Key ¶
func (e ApplyModelValidationError) Key() bool
Key function returns key value.
func (ApplyModelValidationError) Reason ¶
func (e ApplyModelValidationError) Reason() string
Reason function returns reason value.
type ApplyModel_Kind ¶
type ApplyModel_Kind int32
const ( ApplyModel_Reserved ApplyModel_Kind = 0 ApplyModel_GiveUp ApplyModel_Kind = 1 ApplyModel_Draw ApplyModel_Kind = 2 )
func (ApplyModel_Kind) EnumDescriptor ¶
func (ApplyModel_Kind) EnumDescriptor() ([]byte, []int)
func (ApplyModel_Kind) String ¶
func (x ApplyModel_Kind) String() string
type Empty ¶
type Empty struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) Validate ¶
Validate checks the field values on Empty with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Empty) XXX_DiscardUnknown ¶
func (m *Empty) XXX_DiscardUnknown()
func (*Empty) XXX_Marshal ¶
func (*Empty) XXX_Unmarshal ¶
type EmptyValidationError ¶
type EmptyValidationError struct {
// contains filtered or unexported fields
}
EmptyValidationError is the validation error returned by Empty.Validate if the designated constraints aren't met.
func (EmptyValidationError) Cause ¶
func (e EmptyValidationError) Cause() error
Cause function returns cause value.
func (EmptyValidationError) Error ¶
func (e EmptyValidationError) Error() string
Error satisfies the builtin error interface
func (EmptyValidationError) ErrorName ¶
func (e EmptyValidationError) ErrorName() string
ErrorName returns error name.
func (EmptyValidationError) Field ¶
func (e EmptyValidationError) Field() string
Field function returns field value.
func (EmptyValidationError) Key ¶
func (e EmptyValidationError) Key() bool
Key function returns key value.
func (EmptyValidationError) Reason ¶
func (e EmptyValidationError) Reason() string
Reason function returns reason value.
type FullRoomModel ¶
type FullRoomModel struct { Room *RoomModel `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` Players map[int64]*PlayerModel `` /* 156-byte string literal not displayed */ Game *GomokuModel `protobuf:"bytes,3,opt,name=game,proto3" json:"game,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FullRoomModel) Descriptor ¶
func (*FullRoomModel) Descriptor() ([]byte, []int)
func (*FullRoomModel) GetGame ¶
func (m *FullRoomModel) GetGame() *GomokuModel
func (*FullRoomModel) GetPlayers ¶
func (m *FullRoomModel) GetPlayers() map[int64]*PlayerModel
func (*FullRoomModel) GetRoom ¶
func (m *FullRoomModel) GetRoom() *RoomModel
func (*FullRoomModel) Marshal ¶
func (m *FullRoomModel) Marshal() (dAtA []byte, err error)
func (*FullRoomModel) MarshalToSizedBuffer ¶
func (m *FullRoomModel) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FullRoomModel) ProtoMessage ¶
func (*FullRoomModel) ProtoMessage()
func (*FullRoomModel) Reset ¶
func (m *FullRoomModel) Reset()
func (*FullRoomModel) Size ¶
func (m *FullRoomModel) Size() (n int)
func (*FullRoomModel) String ¶
func (m *FullRoomModel) String() string
func (*FullRoomModel) Unmarshal ¶
func (m *FullRoomModel) Unmarshal(dAtA []byte) error
func (*FullRoomModel) Validate ¶
func (m *FullRoomModel) Validate() error
Validate checks the field values on FullRoomModel with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*FullRoomModel) XXX_DiscardUnknown ¶
func (m *FullRoomModel) XXX_DiscardUnknown()
func (*FullRoomModel) XXX_Marshal ¶
func (m *FullRoomModel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FullRoomModel) XXX_Merge ¶
func (m *FullRoomModel) XXX_Merge(src proto.Message)
func (*FullRoomModel) XXX_Size ¶
func (m *FullRoomModel) XXX_Size() int
func (*FullRoomModel) XXX_Unmarshal ¶
func (m *FullRoomModel) XXX_Unmarshal(b []byte) error
type FullRoomModelValidationError ¶
type FullRoomModelValidationError struct {
// contains filtered or unexported fields
}
FullRoomModelValidationError is the validation error returned by FullRoomModel.Validate if the designated constraints aren't met.
func (FullRoomModelValidationError) Cause ¶
func (e FullRoomModelValidationError) Cause() error
Cause function returns cause value.
func (FullRoomModelValidationError) Error ¶
func (e FullRoomModelValidationError) Error() string
Error satisfies the builtin error interface
func (FullRoomModelValidationError) ErrorName ¶
func (e FullRoomModelValidationError) ErrorName() string
ErrorName returns error name.
func (FullRoomModelValidationError) Field ¶
func (e FullRoomModelValidationError) Field() string
Field function returns field value.
func (FullRoomModelValidationError) Key ¶
func (e FullRoomModelValidationError) Key() bool
Key function returns key value.
func (FullRoomModelValidationError) Reason ¶
func (e FullRoomModelValidationError) Reason() string
Reason function returns reason value.
type GomokuModel ¶
type GomokuModel struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` RoomId int64 `protobuf:"varint,2,opt,name=roomId,proto3" json:"roomId,omitempty"` PlayerBlack int64 `protobuf:"varint,3,opt,name=playerBlack,proto3" json:"playerBlack,omitempty"` PlayerWhite int64 `protobuf:"varint,4,opt,name=playerWhite,proto3" json:"playerWhite,omitempty"` SeatBlack int32 `protobuf:"varint,5,opt,name=seatBlack,proto3" json:"seatBlack,omitempty"` SeatWhite int32 `protobuf:"varint,6,opt,name=seatWhite,proto3" json:"seatWhite,omitempty"` History []*HandModel `protobuf:"bytes,7,rep,name=history,proto3" json:"history,omitempty"` CreatedAt int64 `protobuf:"varint,8,opt,name=createdAt,proto3" json:"createdAt,omitempty"` Result GomokuModel_Result `protobuf:"varint,9,opt,name=result,proto3,enum=stmp.examples.gomoku.GomokuModel_Result" json:"result,omitempty"` Winner int64 `protobuf:"varint,10,opt,name=winner,proto3" json:"winner,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GomokuModel) Descriptor ¶
func (*GomokuModel) Descriptor() ([]byte, []int)
func (*GomokuModel) GetCreatedAt ¶
func (m *GomokuModel) GetCreatedAt() int64
func (*GomokuModel) GetHistory ¶
func (m *GomokuModel) GetHistory() []*HandModel
func (*GomokuModel) GetId ¶
func (m *GomokuModel) GetId() int64
func (*GomokuModel) GetPlayerBlack ¶
func (m *GomokuModel) GetPlayerBlack() int64
func (*GomokuModel) GetPlayerWhite ¶
func (m *GomokuModel) GetPlayerWhite() int64
func (*GomokuModel) GetResult ¶
func (m *GomokuModel) GetResult() GomokuModel_Result
func (*GomokuModel) GetRoomId ¶
func (m *GomokuModel) GetRoomId() int64
func (*GomokuModel) GetSeatBlack ¶
func (m *GomokuModel) GetSeatBlack() int32
func (*GomokuModel) GetSeatWhite ¶
func (m *GomokuModel) GetSeatWhite() int32
func (*GomokuModel) GetWinner ¶
func (m *GomokuModel) GetWinner() int64
func (*GomokuModel) Marshal ¶
func (m *GomokuModel) Marshal() (dAtA []byte, err error)
func (*GomokuModel) MarshalToSizedBuffer ¶
func (m *GomokuModel) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GomokuModel) ProtoMessage ¶
func (*GomokuModel) ProtoMessage()
func (*GomokuModel) Reset ¶
func (m *GomokuModel) Reset()
func (*GomokuModel) Size ¶
func (m *GomokuModel) Size() (n int)
func (*GomokuModel) String ¶
func (m *GomokuModel) String() string
func (*GomokuModel) Unmarshal ¶
func (m *GomokuModel) Unmarshal(dAtA []byte) error
func (*GomokuModel) Validate ¶
func (m *GomokuModel) Validate() error
Validate checks the field values on GomokuModel with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*GomokuModel) XXX_DiscardUnknown ¶
func (m *GomokuModel) XXX_DiscardUnknown()
func (*GomokuModel) XXX_Marshal ¶
func (m *GomokuModel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GomokuModel) XXX_Merge ¶
func (m *GomokuModel) XXX_Merge(src proto.Message)
func (*GomokuModel) XXX_Size ¶
func (m *GomokuModel) XXX_Size() int
func (*GomokuModel) XXX_Unmarshal ¶
func (m *GomokuModel) XXX_Unmarshal(b []byte) error
type GomokuModelValidationError ¶
type GomokuModelValidationError struct {
// contains filtered or unexported fields
}
GomokuModelValidationError is the validation error returned by GomokuModel.Validate if the designated constraints aren't met.
func (GomokuModelValidationError) Cause ¶
func (e GomokuModelValidationError) Cause() error
Cause function returns cause value.
func (GomokuModelValidationError) Error ¶
func (e GomokuModelValidationError) Error() string
Error satisfies the builtin error interface
func (GomokuModelValidationError) ErrorName ¶
func (e GomokuModelValidationError) ErrorName() string
ErrorName returns error name.
func (GomokuModelValidationError) Field ¶
func (e GomokuModelValidationError) Field() string
Field function returns field value.
func (GomokuModelValidationError) Key ¶
func (e GomokuModelValidationError) Key() bool
Key function returns key value.
func (GomokuModelValidationError) Reason ¶
func (e GomokuModelValidationError) Reason() string
Reason function returns reason value.
type GomokuModel_Result ¶
type GomokuModel_Result int32
const ( GomokuModel_Playing GomokuModel_Result = 0 GomokuModel_Win GomokuModel_Result = 1 GomokuModel_Draw GomokuModel_Result = 2 GomokuModel_ApplyGiveUp GomokuModel_Result = 3 GomokuModel_ApplyDraw GomokuModel_Result = 4 GomokuModel_UserStepTimeout GomokuModel_Result = 5 GomokuModel_UserTotalTimeout GomokuModel_Result = 6 )
func (GomokuModel_Result) EnumDescriptor ¶
func (GomokuModel_Result) EnumDescriptor() ([]byte, []int)
func (GomokuModel_Result) String ¶
func (x GomokuModel_Result) String() string
type HandModel ¶
type HandModel struct { Row uint32 `protobuf:"varint,1,opt,name=row,proto3" json:"row,omitempty"` Col uint32 `protobuf:"varint,2,opt,name=col,proto3" json:"col,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HandModel) Descriptor ¶
func (*HandModel) MarshalToSizedBuffer ¶
func (*HandModel) ProtoMessage ¶
func (*HandModel) ProtoMessage()
func (*HandModel) Validate ¶
Validate checks the field values on HandModel with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*HandModel) XXX_DiscardUnknown ¶
func (m *HandModel) XXX_DiscardUnknown()
func (*HandModel) XXX_Marshal ¶
func (*HandModel) XXX_Unmarshal ¶
type HandModelValidationError ¶
type HandModelValidationError struct {
// contains filtered or unexported fields
}
HandModelValidationError is the validation error returned by HandModel.Validate if the designated constraints aren't met.
func (HandModelValidationError) Cause ¶
func (e HandModelValidationError) Cause() error
Cause function returns cause value.
func (HandModelValidationError) Error ¶
func (e HandModelValidationError) Error() string
Error satisfies the builtin error interface
func (HandModelValidationError) ErrorName ¶
func (e HandModelValidationError) ErrorName() string
ErrorName returns error name.
func (HandModelValidationError) Field ¶
func (e HandModelValidationError) Field() string
Field function returns field value.
func (HandModelValidationError) Key ¶
func (e HandModelValidationError) Key() bool
Key function returns key value.
func (HandModelValidationError) Reason ¶
func (e HandModelValidationError) Reason() string
Reason function returns reason value.
type JoinRoomInput ¶
type JoinRoomInput struct { RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"` PreferSeat int32 `protobuf:"varint,2,opt,name=preferSeat,proto3" json:"preferSeat,omitempty"` Seat int32 `protobuf:"varint,3,opt,name=seat,proto3" json:"seat,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*JoinRoomInput) Descriptor ¶
func (*JoinRoomInput) Descriptor() ([]byte, []int)
func (*JoinRoomInput) GetPreferSeat ¶
func (m *JoinRoomInput) GetPreferSeat() int32
func (*JoinRoomInput) GetRoomId ¶
func (m *JoinRoomInput) GetRoomId() int64
func (*JoinRoomInput) GetSeat ¶
func (m *JoinRoomInput) GetSeat() int32
func (*JoinRoomInput) Marshal ¶
func (m *JoinRoomInput) Marshal() (dAtA []byte, err error)
func (*JoinRoomInput) MarshalToSizedBuffer ¶
func (m *JoinRoomInput) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*JoinRoomInput) ProtoMessage ¶
func (*JoinRoomInput) ProtoMessage()
func (*JoinRoomInput) Reset ¶
func (m *JoinRoomInput) Reset()
func (*JoinRoomInput) Size ¶
func (m *JoinRoomInput) Size() (n int)
func (*JoinRoomInput) String ¶
func (m *JoinRoomInput) String() string
func (*JoinRoomInput) Unmarshal ¶
func (m *JoinRoomInput) Unmarshal(dAtA []byte) error
func (*JoinRoomInput) Validate ¶
func (m *JoinRoomInput) Validate() error
Validate checks the field values on JoinRoomInput with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*JoinRoomInput) XXX_DiscardUnknown ¶
func (m *JoinRoomInput) XXX_DiscardUnknown()
func (*JoinRoomInput) XXX_Marshal ¶
func (m *JoinRoomInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*JoinRoomInput) XXX_Merge ¶
func (m *JoinRoomInput) XXX_Merge(src proto.Message)
func (*JoinRoomInput) XXX_Size ¶
func (m *JoinRoomInput) XXX_Size() int
func (*JoinRoomInput) XXX_Unmarshal ¶
func (m *JoinRoomInput) XXX_Unmarshal(b []byte) error
type JoinRoomInputValidationError ¶
type JoinRoomInputValidationError struct {
// contains filtered or unexported fields
}
JoinRoomInputValidationError is the validation error returned by JoinRoomInput.Validate if the designated constraints aren't met.
func (JoinRoomInputValidationError) Cause ¶
func (e JoinRoomInputValidationError) Cause() error
Cause function returns cause value.
func (JoinRoomInputValidationError) Error ¶
func (e JoinRoomInputValidationError) Error() string
Error satisfies the builtin error interface
func (JoinRoomInputValidationError) ErrorName ¶
func (e JoinRoomInputValidationError) ErrorName() string
ErrorName returns error name.
func (JoinRoomInputValidationError) Field ¶
func (e JoinRoomInputValidationError) Field() string
Field function returns field value.
func (JoinRoomInputValidationError) Key ¶
func (e JoinRoomInputValidationError) Key() bool
Key function returns key value.
func (JoinRoomInputValidationError) Reason ¶
func (e JoinRoomInputValidationError) Reason() string
Reason function returns reason value.
type ListInput ¶
type ListInput struct { Limit int64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListInput) Descriptor ¶
func (*ListInput) MarshalToSizedBuffer ¶
func (*ListInput) ProtoMessage ¶
func (*ListInput) ProtoMessage()
func (*ListInput) Validate ¶
Validate checks the field values on ListInput with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ListInput) XXX_DiscardUnknown ¶
func (m *ListInput) XXX_DiscardUnknown()
func (*ListInput) XXX_Marshal ¶
func (*ListInput) XXX_Unmarshal ¶
type ListInputValidationError ¶
type ListInputValidationError struct {
// contains filtered or unexported fields
}
ListInputValidationError is the validation error returned by ListInput.Validate if the designated constraints aren't met.
func (ListInputValidationError) Cause ¶
func (e ListInputValidationError) Cause() error
Cause function returns cause value.
func (ListInputValidationError) Error ¶
func (e ListInputValidationError) Error() string
Error satisfies the builtin error interface
func (ListInputValidationError) ErrorName ¶
func (e ListInputValidationError) ErrorName() string
ErrorName returns error name.
func (ListInputValidationError) Field ¶
func (e ListInputValidationError) Field() string
Field function returns field value.
func (ListInputValidationError) Key ¶
func (e ListInputValidationError) Key() bool
Key function returns key value.
func (ListInputValidationError) Reason ¶
func (e ListInputValidationError) Reason() string
Reason function returns reason value.
type ListPlayerInput ¶
type ListPlayerInput struct { Limit int64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` Ids []int64 `protobuf:"varint,3,rep,packed,name=ids,proto3" json:"ids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListPlayerInput) Descriptor ¶
func (*ListPlayerInput) Descriptor() ([]byte, []int)
func (*ListPlayerInput) GetIds ¶
func (m *ListPlayerInput) GetIds() []int64
func (*ListPlayerInput) GetLimit ¶
func (m *ListPlayerInput) GetLimit() int64
func (*ListPlayerInput) GetOffset ¶
func (m *ListPlayerInput) GetOffset() int64
func (*ListPlayerInput) Marshal ¶
func (m *ListPlayerInput) Marshal() (dAtA []byte, err error)
func (*ListPlayerInput) MarshalToSizedBuffer ¶
func (m *ListPlayerInput) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListPlayerInput) ProtoMessage ¶
func (*ListPlayerInput) ProtoMessage()
func (*ListPlayerInput) Reset ¶
func (m *ListPlayerInput) Reset()
func (*ListPlayerInput) Size ¶
func (m *ListPlayerInput) Size() (n int)
func (*ListPlayerInput) String ¶
func (m *ListPlayerInput) String() string
func (*ListPlayerInput) Unmarshal ¶
func (m *ListPlayerInput) Unmarshal(dAtA []byte) error
func (*ListPlayerInput) Validate ¶
func (m *ListPlayerInput) Validate() error
Validate checks the field values on ListPlayerInput with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ListPlayerInput) XXX_DiscardUnknown ¶
func (m *ListPlayerInput) XXX_DiscardUnknown()
func (*ListPlayerInput) XXX_Marshal ¶
func (m *ListPlayerInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListPlayerInput) XXX_Merge ¶
func (m *ListPlayerInput) XXX_Merge(src proto.Message)
func (*ListPlayerInput) XXX_Size ¶
func (m *ListPlayerInput) XXX_Size() int
func (*ListPlayerInput) XXX_Unmarshal ¶
func (m *ListPlayerInput) XXX_Unmarshal(b []byte) error
type ListPlayerInputValidationError ¶
type ListPlayerInputValidationError struct {
// contains filtered or unexported fields
}
ListPlayerInputValidationError is the validation error returned by ListPlayerInput.Validate if the designated constraints aren't met.
func (ListPlayerInputValidationError) Cause ¶
func (e ListPlayerInputValidationError) Cause() error
Cause function returns cause value.
func (ListPlayerInputValidationError) Error ¶
func (e ListPlayerInputValidationError) Error() string
Error satisfies the builtin error interface
func (ListPlayerInputValidationError) ErrorName ¶
func (e ListPlayerInputValidationError) ErrorName() string
ErrorName returns error name.
func (ListPlayerInputValidationError) Field ¶
func (e ListPlayerInputValidationError) Field() string
Field function returns field value.
func (ListPlayerInputValidationError) Key ¶
func (e ListPlayerInputValidationError) Key() bool
Key function returns key value.
func (ListPlayerInputValidationError) Reason ¶
func (e ListPlayerInputValidationError) Reason() string
Reason function returns reason value.
type ListPlayerOutput ¶
type ListPlayerOutput struct { Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Players []*PlayerModel `protobuf:"bytes,2,rep,name=players,proto3" json:"players,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListPlayerOutput) Descriptor ¶
func (*ListPlayerOutput) Descriptor() ([]byte, []int)
func (*ListPlayerOutput) GetPlayers ¶
func (m *ListPlayerOutput) GetPlayers() []*PlayerModel
func (*ListPlayerOutput) GetTotal ¶
func (m *ListPlayerOutput) GetTotal() int64
func (*ListPlayerOutput) Marshal ¶
func (m *ListPlayerOutput) Marshal() (dAtA []byte, err error)
func (*ListPlayerOutput) MarshalToSizedBuffer ¶
func (m *ListPlayerOutput) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListPlayerOutput) ProtoMessage ¶
func (*ListPlayerOutput) ProtoMessage()
func (*ListPlayerOutput) Reset ¶
func (m *ListPlayerOutput) Reset()
func (*ListPlayerOutput) Size ¶
func (m *ListPlayerOutput) Size() (n int)
func (*ListPlayerOutput) String ¶
func (m *ListPlayerOutput) String() string
func (*ListPlayerOutput) Unmarshal ¶
func (m *ListPlayerOutput) Unmarshal(dAtA []byte) error
func (*ListPlayerOutput) Validate ¶
func (m *ListPlayerOutput) Validate() error
Validate checks the field values on ListPlayerOutput with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ListPlayerOutput) XXX_DiscardUnknown ¶
func (m *ListPlayerOutput) XXX_DiscardUnknown()
func (*ListPlayerOutput) XXX_Marshal ¶
func (m *ListPlayerOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListPlayerOutput) XXX_Merge ¶
func (m *ListPlayerOutput) XXX_Merge(src proto.Message)
func (*ListPlayerOutput) XXX_Size ¶
func (m *ListPlayerOutput) XXX_Size() int
func (*ListPlayerOutput) XXX_Unmarshal ¶
func (m *ListPlayerOutput) XXX_Unmarshal(b []byte) error
type ListPlayerOutputValidationError ¶
type ListPlayerOutputValidationError struct {
// contains filtered or unexported fields
}
ListPlayerOutputValidationError is the validation error returned by ListPlayerOutput.Validate if the designated constraints aren't met.
func (ListPlayerOutputValidationError) Cause ¶
func (e ListPlayerOutputValidationError) Cause() error
Cause function returns cause value.
func (ListPlayerOutputValidationError) Error ¶
func (e ListPlayerOutputValidationError) Error() string
Error satisfies the builtin error interface
func (ListPlayerOutputValidationError) ErrorName ¶
func (e ListPlayerOutputValidationError) ErrorName() string
ErrorName returns error name.
func (ListPlayerOutputValidationError) Field ¶
func (e ListPlayerOutputValidationError) Field() string
Field function returns field value.
func (ListPlayerOutputValidationError) Key ¶
func (e ListPlayerOutputValidationError) Key() bool
Key function returns key value.
func (ListPlayerOutputValidationError) Reason ¶
func (e ListPlayerOutputValidationError) Reason() string
Reason function returns reason value.
type ListRoomOutput ¶
type ListRoomOutput struct { Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Rooms []*RoomModel `protobuf:"bytes,2,rep,name=rooms,proto3" json:"rooms,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListRoomOutput) Descriptor ¶
func (*ListRoomOutput) Descriptor() ([]byte, []int)
func (*ListRoomOutput) GetRooms ¶
func (m *ListRoomOutput) GetRooms() []*RoomModel
func (*ListRoomOutput) GetTotal ¶
func (m *ListRoomOutput) GetTotal() int64
func (*ListRoomOutput) Marshal ¶
func (m *ListRoomOutput) Marshal() (dAtA []byte, err error)
func (*ListRoomOutput) MarshalToSizedBuffer ¶
func (m *ListRoomOutput) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListRoomOutput) ProtoMessage ¶
func (*ListRoomOutput) ProtoMessage()
func (*ListRoomOutput) Reset ¶
func (m *ListRoomOutput) Reset()
func (*ListRoomOutput) Size ¶
func (m *ListRoomOutput) Size() (n int)
func (*ListRoomOutput) String ¶
func (m *ListRoomOutput) String() string
func (*ListRoomOutput) Unmarshal ¶
func (m *ListRoomOutput) Unmarshal(dAtA []byte) error
func (*ListRoomOutput) Validate ¶
func (m *ListRoomOutput) Validate() error
Validate checks the field values on ListRoomOutput with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ListRoomOutput) XXX_DiscardUnknown ¶
func (m *ListRoomOutput) XXX_DiscardUnknown()
func (*ListRoomOutput) XXX_Marshal ¶
func (m *ListRoomOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListRoomOutput) XXX_Merge ¶
func (m *ListRoomOutput) XXX_Merge(src proto.Message)
func (*ListRoomOutput) XXX_Size ¶
func (m *ListRoomOutput) XXX_Size() int
func (*ListRoomOutput) XXX_Unmarshal ¶
func (m *ListRoomOutput) XXX_Unmarshal(b []byte) error
type ListRoomOutputValidationError ¶
type ListRoomOutputValidationError struct {
// contains filtered or unexported fields
}
ListRoomOutputValidationError is the validation error returned by ListRoomOutput.Validate if the designated constraints aren't met.
func (ListRoomOutputValidationError) Cause ¶
func (e ListRoomOutputValidationError) Cause() error
Cause function returns cause value.
func (ListRoomOutputValidationError) Error ¶
func (e ListRoomOutputValidationError) Error() string
Error satisfies the builtin error interface
func (ListRoomOutputValidationError) ErrorName ¶
func (e ListRoomOutputValidationError) ErrorName() string
ErrorName returns error name.
func (ListRoomOutputValidationError) Field ¶
func (e ListRoomOutputValidationError) Field() string
Field function returns field value.
func (ListRoomOutputValidationError) Key ¶
func (e ListRoomOutputValidationError) Key() bool
Key function returns key value.
func (ListRoomOutputValidationError) Reason ¶
func (e ListRoomOutputValidationError) Reason() string
Reason function returns reason value.
type LoginInput ¶
type LoginInput struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoginInput) Descriptor ¶
func (*LoginInput) Descriptor() ([]byte, []int)
func (*LoginInput) GetName ¶
func (m *LoginInput) GetName() string
func (*LoginInput) Marshal ¶
func (m *LoginInput) Marshal() (dAtA []byte, err error)
func (*LoginInput) MarshalToSizedBuffer ¶
func (m *LoginInput) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LoginInput) ProtoMessage ¶
func (*LoginInput) ProtoMessage()
func (*LoginInput) Reset ¶
func (m *LoginInput) Reset()
func (*LoginInput) Size ¶
func (m *LoginInput) Size() (n int)
func (*LoginInput) String ¶
func (m *LoginInput) String() string
func (*LoginInput) Unmarshal ¶
func (m *LoginInput) Unmarshal(dAtA []byte) error
func (*LoginInput) Validate ¶
func (m *LoginInput) Validate() error
Validate checks the field values on LoginInput with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*LoginInput) XXX_DiscardUnknown ¶
func (m *LoginInput) XXX_DiscardUnknown()
func (*LoginInput) XXX_Marshal ¶
func (m *LoginInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoginInput) XXX_Merge ¶
func (m *LoginInput) XXX_Merge(src proto.Message)
func (*LoginInput) XXX_Size ¶
func (m *LoginInput) XXX_Size() int
func (*LoginInput) XXX_Unmarshal ¶
func (m *LoginInput) XXX_Unmarshal(b []byte) error
type LoginInputValidationError ¶
type LoginInputValidationError struct {
// contains filtered or unexported fields
}
LoginInputValidationError is the validation error returned by LoginInput.Validate if the designated constraints aren't met.
func (LoginInputValidationError) Cause ¶
func (e LoginInputValidationError) Cause() error
Cause function returns cause value.
func (LoginInputValidationError) Error ¶
func (e LoginInputValidationError) Error() string
Error satisfies the builtin error interface
func (LoginInputValidationError) ErrorName ¶
func (e LoginInputValidationError) ErrorName() string
ErrorName returns error name.
func (LoginInputValidationError) Field ¶
func (e LoginInputValidationError) Field() string
Field function returns field value.
func (LoginInputValidationError) Key ¶
func (e LoginInputValidationError) Key() bool
Key function returns key value.
func (LoginInputValidationError) Reason ¶
func (e LoginInputValidationError) Reason() string
Reason function returns reason value.
type LookonRoomInput ¶
type LookonRoomInput struct { RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LookonRoomInput) Descriptor ¶
func (*LookonRoomInput) Descriptor() ([]byte, []int)
func (*LookonRoomInput) GetRoomId ¶
func (m *LookonRoomInput) GetRoomId() int64
func (*LookonRoomInput) Marshal ¶
func (m *LookonRoomInput) Marshal() (dAtA []byte, err error)
func (*LookonRoomInput) MarshalToSizedBuffer ¶
func (m *LookonRoomInput) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LookonRoomInput) ProtoMessage ¶
func (*LookonRoomInput) ProtoMessage()
func (*LookonRoomInput) Reset ¶
func (m *LookonRoomInput) Reset()
func (*LookonRoomInput) Size ¶
func (m *LookonRoomInput) Size() (n int)
func (*LookonRoomInput) String ¶
func (m *LookonRoomInput) String() string
func (*LookonRoomInput) Unmarshal ¶
func (m *LookonRoomInput) Unmarshal(dAtA []byte) error
func (*LookonRoomInput) Validate ¶
func (m *LookonRoomInput) Validate() error
Validate checks the field values on LookonRoomInput with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*LookonRoomInput) XXX_DiscardUnknown ¶
func (m *LookonRoomInput) XXX_DiscardUnknown()
func (*LookonRoomInput) XXX_Marshal ¶
func (m *LookonRoomInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LookonRoomInput) XXX_Merge ¶
func (m *LookonRoomInput) XXX_Merge(src proto.Message)
func (*LookonRoomInput) XXX_Size ¶
func (m *LookonRoomInput) XXX_Size() int
func (*LookonRoomInput) XXX_Unmarshal ¶
func (m *LookonRoomInput) XXX_Unmarshal(b []byte) error
type LookonRoomInputValidationError ¶
type LookonRoomInputValidationError struct {
// contains filtered or unexported fields
}
LookonRoomInputValidationError is the validation error returned by LookonRoomInput.Validate if the designated constraints aren't met.
func (LookonRoomInputValidationError) Cause ¶
func (e LookonRoomInputValidationError) Cause() error
Cause function returns cause value.
func (LookonRoomInputValidationError) Error ¶
func (e LookonRoomInputValidationError) Error() string
Error satisfies the builtin error interface
func (LookonRoomInputValidationError) ErrorName ¶
func (e LookonRoomInputValidationError) ErrorName() string
ErrorName returns error name.
func (LookonRoomInputValidationError) Field ¶
func (e LookonRoomInputValidationError) Field() string
Field function returns field value.
func (LookonRoomInputValidationError) Key ¶
func (e LookonRoomInputValidationError) Key() bool
Key function returns key value.
func (LookonRoomInputValidationError) Reason ¶
func (e LookonRoomInputValidationError) Reason() string
Reason function returns reason value.
type PlayerModel ¶
type PlayerModel struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Status PlayerModel_Status `protobuf:"varint,3,opt,name=status,proto3,enum=stmp.examples.gomoku.PlayerModel_Status" json:"status,omitempty"` RoomId int64 `protobuf:"varint,4,opt,name=roomId,proto3" json:"roomId,omitempty"` Seat int32 `protobuf:"varint,5,opt,name=seat,proto3" json:"seat,omitempty"` GameId int64 `protobuf:"varint,6,opt,name=gameId,proto3" json:"gameId,omitempty"` ReadyTimeout int64 `protobuf:"varint,7,opt,name=readyTimeout,proto3" json:"readyTimeout,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PlayerModel) Descriptor ¶
func (*PlayerModel) Descriptor() ([]byte, []int)
func (*PlayerModel) GetGameId ¶
func (m *PlayerModel) GetGameId() int64
func (*PlayerModel) GetId ¶
func (m *PlayerModel) GetId() int64
func (*PlayerModel) GetName ¶
func (m *PlayerModel) GetName() string
func (*PlayerModel) GetReadyTimeout ¶
func (m *PlayerModel) GetReadyTimeout() int64
func (*PlayerModel) GetRoomId ¶
func (m *PlayerModel) GetRoomId() int64
func (*PlayerModel) GetSeat ¶
func (m *PlayerModel) GetSeat() int32
func (*PlayerModel) GetStatus ¶
func (m *PlayerModel) GetStatus() PlayerModel_Status
func (*PlayerModel) Marshal ¶
func (m *PlayerModel) Marshal() (dAtA []byte, err error)
func (*PlayerModel) MarshalToSizedBuffer ¶
func (m *PlayerModel) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PlayerModel) ProtoMessage ¶
func (*PlayerModel) ProtoMessage()
func (*PlayerModel) Reset ¶
func (m *PlayerModel) Reset()
func (*PlayerModel) Size ¶
func (m *PlayerModel) Size() (n int)
func (*PlayerModel) String ¶
func (m *PlayerModel) String() string
func (*PlayerModel) Unmarshal ¶
func (m *PlayerModel) Unmarshal(dAtA []byte) error
func (*PlayerModel) Validate ¶
func (m *PlayerModel) Validate() error
Validate checks the field values on PlayerModel with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*PlayerModel) XXX_DiscardUnknown ¶
func (m *PlayerModel) XXX_DiscardUnknown()
func (*PlayerModel) XXX_Marshal ¶
func (m *PlayerModel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlayerModel) XXX_Merge ¶
func (m *PlayerModel) XXX_Merge(src proto.Message)
func (*PlayerModel) XXX_Size ¶
func (m *PlayerModel) XXX_Size() int
func (*PlayerModel) XXX_Unmarshal ¶
func (m *PlayerModel) XXX_Unmarshal(b []byte) error
type PlayerModelValidationError ¶
type PlayerModelValidationError struct {
// contains filtered or unexported fields
}
PlayerModelValidationError is the validation error returned by PlayerModel.Validate if the designated constraints aren't met.
func (PlayerModelValidationError) Cause ¶
func (e PlayerModelValidationError) Cause() error
Cause function returns cause value.
func (PlayerModelValidationError) Error ¶
func (e PlayerModelValidationError) Error() string
Error satisfies the builtin error interface
func (PlayerModelValidationError) ErrorName ¶
func (e PlayerModelValidationError) ErrorName() string
ErrorName returns error name.
func (PlayerModelValidationError) Field ¶
func (e PlayerModelValidationError) Field() string
Field function returns field value.
func (PlayerModelValidationError) Key ¶
func (e PlayerModelValidationError) Key() bool
Key function returns key value.
func (PlayerModelValidationError) Reason ¶
func (e PlayerModelValidationError) Reason() string
Reason function returns reason value.
type PlayerModel_Status ¶
type PlayerModel_Status int32
const ( PlayerModel_Reserved PlayerModel_Status = 0 PlayerModel_Free PlayerModel_Status = 1 PlayerModel_Standby PlayerModel_Status = 2 PlayerModel_Unready PlayerModel_Status = 3 PlayerModel_Ready PlayerModel_Status = 4 PlayerModel_Playing PlayerModel_Status = 5 )
func (PlayerModel_Status) EnumDescriptor ¶
func (PlayerModel_Status) EnumDescriptor() ([]byte, []int)
func (PlayerModel_Status) String ¶
func (x PlayerModel_Status) String() string
type ReplyInput ¶
type ReplyInput struct { Kind ApplyModel_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=stmp.examples.gomoku.ApplyModel_Kind" json:"kind,omitempty"` Accept bool `protobuf:"varint,2,opt,name=accept,proto3" json:"accept,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplyInput) Descriptor ¶
func (*ReplyInput) Descriptor() ([]byte, []int)
func (*ReplyInput) GetAccept ¶
func (m *ReplyInput) GetAccept() bool
func (*ReplyInput) GetKind ¶
func (m *ReplyInput) GetKind() ApplyModel_Kind
func (*ReplyInput) Marshal ¶
func (m *ReplyInput) Marshal() (dAtA []byte, err error)
func (*ReplyInput) MarshalToSizedBuffer ¶
func (m *ReplyInput) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ReplyInput) ProtoMessage ¶
func (*ReplyInput) ProtoMessage()
func (*ReplyInput) Reset ¶
func (m *ReplyInput) Reset()
func (*ReplyInput) Size ¶
func (m *ReplyInput) Size() (n int)
func (*ReplyInput) String ¶
func (m *ReplyInput) String() string
func (*ReplyInput) Unmarshal ¶
func (m *ReplyInput) Unmarshal(dAtA []byte) error
func (*ReplyInput) Validate ¶
func (m *ReplyInput) Validate() error
Validate checks the field values on ReplyInput with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*ReplyInput) XXX_DiscardUnknown ¶
func (m *ReplyInput) XXX_DiscardUnknown()
func (*ReplyInput) XXX_Marshal ¶
func (m *ReplyInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyInput) XXX_Merge ¶
func (m *ReplyInput) XXX_Merge(src proto.Message)
func (*ReplyInput) XXX_Size ¶
func (m *ReplyInput) XXX_Size() int
func (*ReplyInput) XXX_Unmarshal ¶
func (m *ReplyInput) XXX_Unmarshal(b []byte) error
type ReplyInputValidationError ¶
type ReplyInputValidationError struct {
// contains filtered or unexported fields
}
ReplyInputValidationError is the validation error returned by ReplyInput.Validate if the designated constraints aren't met.
func (ReplyInputValidationError) Cause ¶
func (e ReplyInputValidationError) Cause() error
Cause function returns cause value.
func (ReplyInputValidationError) Error ¶
func (e ReplyInputValidationError) Error() string
Error satisfies the builtin error interface
func (ReplyInputValidationError) ErrorName ¶
func (e ReplyInputValidationError) ErrorName() string
ErrorName returns error name.
func (ReplyInputValidationError) Field ¶
func (e ReplyInputValidationError) Field() string
Field function returns field value.
func (ReplyInputValidationError) Key ¶
func (e ReplyInputValidationError) Key() bool
Key function returns key value.
func (ReplyInputValidationError) Reason ¶
func (e ReplyInputValidationError) Reason() string
Reason function returns reason value.
type RoomModel ¶
type RoomModel struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Players map[int32]int64 `` /* 157-byte string literal not displayed */ GameId int64 `protobuf:"varint,3,opt,name=gameId,proto3" json:"gameId,omitempty"` Spectators []int64 `protobuf:"varint,4,rep,packed,name=spectators,proto3" json:"spectators,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RoomModel) Descriptor ¶
func (*RoomModel) GetPlayers ¶
func (*RoomModel) GetSpectators ¶
func (*RoomModel) MarshalToSizedBuffer ¶
func (*RoomModel) ProtoMessage ¶
func (*RoomModel) ProtoMessage()
func (*RoomModel) Validate ¶
Validate checks the field values on RoomModel with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*RoomModel) XXX_DiscardUnknown ¶
func (m *RoomModel) XXX_DiscardUnknown()
func (*RoomModel) XXX_Marshal ¶
func (*RoomModel) XXX_Unmarshal ¶
type RoomModelValidationError ¶
type RoomModelValidationError struct {
// contains filtered or unexported fields
}
RoomModelValidationError is the validation error returned by RoomModel.Validate if the designated constraints aren't met.
func (RoomModelValidationError) Cause ¶
func (e RoomModelValidationError) Cause() error
Cause function returns cause value.
func (RoomModelValidationError) Error ¶
func (e RoomModelValidationError) Error() string
Error satisfies the builtin error interface
func (RoomModelValidationError) ErrorName ¶
func (e RoomModelValidationError) ErrorName() string
ErrorName returns error name.
func (RoomModelValidationError) Field ¶
func (e RoomModelValidationError) Field() string
Field function returns field value.
func (RoomModelValidationError) Key ¶
func (e RoomModelValidationError) Key() bool
Key function returns key value.
func (RoomModelValidationError) Reason ¶
func (e RoomModelValidationError) Reason() string
Reason function returns reason value.
type RoomModel_Reasons ¶
type RoomModel_Reasons int32
const ( RoomModel_Reserved RoomModel_Reasons = 0 RoomModel_InRoomAlready RoomModel_Reasons = 1 )
func (RoomModel_Reasons) EnumDescriptor ¶
func (RoomModel_Reasons) EnumDescriptor() ([]byte, []int)
func (RoomModel_Reasons) String ¶
func (x RoomModel_Reasons) String() string
type STMPGomokuEventsBroadcaster ¶
type STMPGomokuEventsBroadcaster struct{}
func (STMPGomokuEventsBroadcaster) GameOver ¶
func (s STMPGomokuEventsBroadcaster) GameOver(ctx context.Context, in *GomokuModel, conn *stmp.Conn, opts ...*stmp.CallOptions) error
func (STMPGomokuEventsBroadcaster) GameOverToAll ¶
func (s STMPGomokuEventsBroadcaster) GameOverToAll(ctx context.Context, in *GomokuModel, srv *stmp.Server, filter ...stmp.ConnFilter)
func (STMPGomokuEventsBroadcaster) GameOverToList ¶
func (s STMPGomokuEventsBroadcaster) GameOverToList(ctx context.Context, in *GomokuModel, conns ...*stmp.Conn)
func (STMPGomokuEventsBroadcaster) GameOverToSet ¶
func (s STMPGomokuEventsBroadcaster) GameOverToSet(ctx context.Context, in *GomokuModel, conns stmp.ConnSet, exclude ...*stmp.Conn)
func (STMPGomokuEventsBroadcaster) GameStart ¶
func (s STMPGomokuEventsBroadcaster) GameStart(ctx context.Context, in *GomokuModel, conn *stmp.Conn, opts ...*stmp.CallOptions) error
func (STMPGomokuEventsBroadcaster) GameStartToAll ¶
func (s STMPGomokuEventsBroadcaster) GameStartToAll(ctx context.Context, in *GomokuModel, srv *stmp.Server, filter ...stmp.ConnFilter)
func (STMPGomokuEventsBroadcaster) GameStartToList ¶
func (s STMPGomokuEventsBroadcaster) GameStartToList(ctx context.Context, in *GomokuModel, conns ...*stmp.Conn)
func (STMPGomokuEventsBroadcaster) GameStartToSet ¶
func (s STMPGomokuEventsBroadcaster) GameStartToSet(ctx context.Context, in *GomokuModel, conns stmp.ConnSet, exclude ...*stmp.Conn)
func (STMPGomokuEventsBroadcaster) UserApply ¶
func (s STMPGomokuEventsBroadcaster) UserApply(ctx context.Context, in *UserApplyEvent, conn *stmp.Conn, opts ...*stmp.CallOptions) error
func (STMPGomokuEventsBroadcaster) UserApplyToAll ¶
func (s STMPGomokuEventsBroadcaster) UserApplyToAll(ctx context.Context, in *UserApplyEvent, srv *stmp.Server, filter ...stmp.ConnFilter)
func (STMPGomokuEventsBroadcaster) UserApplyToList ¶
func (s STMPGomokuEventsBroadcaster) UserApplyToList(ctx context.Context, in *UserApplyEvent, conns ...*stmp.Conn)
func (STMPGomokuEventsBroadcaster) UserApplyToSet ¶
func (s STMPGomokuEventsBroadcaster) UserApplyToSet(ctx context.Context, in *UserApplyEvent, conns stmp.ConnSet, exclude ...*stmp.Conn)
func (STMPGomokuEventsBroadcaster) UserConnected ¶
func (s STMPGomokuEventsBroadcaster) UserConnected(ctx context.Context, in *UserConnectedEvent, conn *stmp.Conn, opts ...*stmp.CallOptions) error
func (STMPGomokuEventsBroadcaster) UserConnectedToAll ¶
func (s STMPGomokuEventsBroadcaster) UserConnectedToAll(ctx context.Context, in *UserConnectedEvent, srv *stmp.Server, filter ...stmp.ConnFilter)
func (STMPGomokuEventsBroadcaster) UserConnectedToList ¶
func (s STMPGomokuEventsBroadcaster) UserConnectedToList(ctx context.Context, in *UserConnectedEvent, conns ...*stmp.Conn)
func (STMPGomokuEventsBroadcaster) UserConnectedToSet ¶
func (s STMPGomokuEventsBroadcaster) UserConnectedToSet(ctx context.Context, in *UserConnectedEvent, conns stmp.ConnSet, exclude ...*stmp.Conn)
func (STMPGomokuEventsBroadcaster) UserDisconnected ¶
func (s STMPGomokuEventsBroadcaster) UserDisconnected(ctx context.Context, in *UserDisconnectedEvent, conn *stmp.Conn, opts ...*stmp.CallOptions) error
func (STMPGomokuEventsBroadcaster) UserDisconnectedToAll ¶
func (s STMPGomokuEventsBroadcaster) UserDisconnectedToAll(ctx context.Context, in *UserDisconnectedEvent, srv *stmp.Server, filter ...stmp.ConnFilter)
func (STMPGomokuEventsBroadcaster) UserDisconnectedToList ¶
func (s STMPGomokuEventsBroadcaster) UserDisconnectedToList(ctx context.Context, in *UserDisconnectedEvent, conns ...*stmp.Conn)
func (STMPGomokuEventsBroadcaster) UserDisconnectedToSet ¶
func (s STMPGomokuEventsBroadcaster) UserDisconnectedToSet(ctx context.Context, in *UserDisconnectedEvent, conns stmp.ConnSet, exclude ...*stmp.Conn)
func (STMPGomokuEventsBroadcaster) UserPlay ¶
func (s STMPGomokuEventsBroadcaster) UserPlay(ctx context.Context, in *UserPlayEvent, conn *stmp.Conn, opts ...*stmp.CallOptions) error
func (STMPGomokuEventsBroadcaster) UserPlayToAll ¶
func (s STMPGomokuEventsBroadcaster) UserPlayToAll(ctx context.Context, in *UserPlayEvent, srv *stmp.Server, filter ...stmp.ConnFilter)
func (STMPGomokuEventsBroadcaster) UserPlayToList ¶
func (s STMPGomokuEventsBroadcaster) UserPlayToList(ctx context.Context, in *UserPlayEvent, conns ...*stmp.Conn)
func (STMPGomokuEventsBroadcaster) UserPlayToSet ¶
func (s STMPGomokuEventsBroadcaster) UserPlayToSet(ctx context.Context, in *UserPlayEvent, conns stmp.ConnSet, exclude ...*stmp.Conn)
func (STMPGomokuEventsBroadcaster) UserReply ¶
func (s STMPGomokuEventsBroadcaster) UserReply(ctx context.Context, in *UserReplyEvent, conn *stmp.Conn, opts ...*stmp.CallOptions) error
func (STMPGomokuEventsBroadcaster) UserReplyToAll ¶
func (s STMPGomokuEventsBroadcaster) UserReplyToAll(ctx context.Context, in *UserReplyEvent, srv *stmp.Server, filter ...stmp.ConnFilter)
func (STMPGomokuEventsBroadcaster) UserReplyToList ¶
func (s STMPGomokuEventsBroadcaster) UserReplyToList(ctx context.Context, in *UserReplyEvent, conns ...*stmp.Conn)
func (STMPGomokuEventsBroadcaster) UserReplyToSet ¶
func (s STMPGomokuEventsBroadcaster) UserReplyToSet(ctx context.Context, in *UserReplyEvent, conns stmp.ConnSet, exclude ...*stmp.Conn)
type STMPGomokuEventsListener ¶
type STMPGomokuEventsListener interface { HandleGameStart(ctx context.Context, in *GomokuModel) HandleUserPlay(ctx context.Context, in *UserPlayEvent) HandleUserApply(ctx context.Context, in *UserApplyEvent) HandleUserReply(ctx context.Context, in *UserReplyEvent) HandleUserDisconnected(ctx context.Context, in *UserDisconnectedEvent) HandleUserConnected(ctx context.Context, in *UserConnectedEvent) HandleGameOver(ctx context.Context, in *GomokuModel) }
type STMPGomokuServiceClient ¶
type STMPGomokuServiceClient interface { Play(ctx context.Context, in *HandModel, opts ...*stmp.CallOptions) (*Empty, error) Apply(ctx context.Context, in *ApplyInput, opts ...*stmp.CallOptions) (*Empty, error) Reply(ctx context.Context, in *ReplyInput, opts ...*stmp.CallOptions) (*Empty, error) }
func STMPNewGomokuServiceClient ¶
func STMPNewGomokuServiceClient(c *stmp.Client) STMPGomokuServiceClient
type STMPGomokuServiceServer ¶
type STMPPlayerEventsBroadcaster ¶
type STMPPlayerEventsBroadcaster struct{}
func (STMPPlayerEventsBroadcaster) StatusUpdated ¶
func (s STMPPlayerEventsBroadcaster) StatusUpdated(ctx context.Context, in *PlayerModel, conn *stmp.Conn, opts ...*stmp.CallOptions) error
func (STMPPlayerEventsBroadcaster) StatusUpdatedToAll ¶
func (s STMPPlayerEventsBroadcaster) StatusUpdatedToAll(ctx context.Context, in *PlayerModel, srv *stmp.Server, filter ...stmp.ConnFilter)
func (STMPPlayerEventsBroadcaster) StatusUpdatedToList ¶
func (s STMPPlayerEventsBroadcaster) StatusUpdatedToList(ctx context.Context, in *PlayerModel, conns ...*stmp.Conn)
func (STMPPlayerEventsBroadcaster) StatusUpdatedToSet ¶
func (s STMPPlayerEventsBroadcaster) StatusUpdatedToSet(ctx context.Context, in *PlayerModel, conns stmp.ConnSet, exclude ...*stmp.Conn)
type STMPPlayerEventsListener ¶
type STMPPlayerEventsListener interface {
HandleStatusUpdated(ctx context.Context, in *PlayerModel)
}
type STMPPlayerServiceClient ¶
type STMPPlayerServiceClient interface { Login(ctx context.Context, in *LoginInput, opts ...*stmp.CallOptions) (*PlayerModel, error) ListUser(ctx context.Context, in *ListPlayerInput, opts ...*stmp.CallOptions) (*ListPlayerOutput, error) }
func STMPNewPlayerServiceClient ¶
func STMPNewPlayerServiceClient(c *stmp.Client) STMPPlayerServiceClient
type STMPPlayerServiceServer ¶
type STMPPlayerServiceServer interface { Login(ctx context.Context, in *LoginInput) (out *PlayerModel, err error) ListUser(ctx context.Context, in *ListPlayerInput) (out *ListPlayerOutput, err error) }
type STMPRoomEventsBroadcaster ¶
type STMPRoomEventsBroadcaster struct{}
func (STMPRoomEventsBroadcaster) UserExit ¶
func (s STMPRoomEventsBroadcaster) UserExit(ctx context.Context, in *UserExitEvent, conn *stmp.Conn, opts ...*stmp.CallOptions) error
func (STMPRoomEventsBroadcaster) UserExitToAll ¶
func (s STMPRoomEventsBroadcaster) UserExitToAll(ctx context.Context, in *UserExitEvent, srv *stmp.Server, filter ...stmp.ConnFilter)
func (STMPRoomEventsBroadcaster) UserExitToList ¶
func (s STMPRoomEventsBroadcaster) UserExitToList(ctx context.Context, in *UserExitEvent, conns ...*stmp.Conn)
func (STMPRoomEventsBroadcaster) UserExitToSet ¶
func (s STMPRoomEventsBroadcaster) UserExitToSet(ctx context.Context, in *UserExitEvent, conns stmp.ConnSet, exclude ...*stmp.Conn)
func (STMPRoomEventsBroadcaster) UserJoin ¶
func (s STMPRoomEventsBroadcaster) UserJoin(ctx context.Context, in *UserJoinEvent, conn *stmp.Conn, opts ...*stmp.CallOptions) error
func (STMPRoomEventsBroadcaster) UserJoinToAll ¶
func (s STMPRoomEventsBroadcaster) UserJoinToAll(ctx context.Context, in *UserJoinEvent, srv *stmp.Server, filter ...stmp.ConnFilter)
func (STMPRoomEventsBroadcaster) UserJoinToList ¶
func (s STMPRoomEventsBroadcaster) UserJoinToList(ctx context.Context, in *UserJoinEvent, conns ...*stmp.Conn)
func (STMPRoomEventsBroadcaster) UserJoinToSet ¶
func (s STMPRoomEventsBroadcaster) UserJoinToSet(ctx context.Context, in *UserJoinEvent, conns stmp.ConnSet, exclude ...*stmp.Conn)
func (STMPRoomEventsBroadcaster) UserLookon ¶
func (s STMPRoomEventsBroadcaster) UserLookon(ctx context.Context, in *UserLookonEvent, conn *stmp.Conn, opts ...*stmp.CallOptions) error
func (STMPRoomEventsBroadcaster) UserLookonToAll ¶
func (s STMPRoomEventsBroadcaster) UserLookonToAll(ctx context.Context, in *UserLookonEvent, srv *stmp.Server, filter ...stmp.ConnFilter)
func (STMPRoomEventsBroadcaster) UserLookonToList ¶
func (s STMPRoomEventsBroadcaster) UserLookonToList(ctx context.Context, in *UserLookonEvent, conns ...*stmp.Conn)
func (STMPRoomEventsBroadcaster) UserLookonToSet ¶
func (s STMPRoomEventsBroadcaster) UserLookonToSet(ctx context.Context, in *UserLookonEvent, conns stmp.ConnSet, exclude ...*stmp.Conn)
func (STMPRoomEventsBroadcaster) UserReady ¶
func (s STMPRoomEventsBroadcaster) UserReady(ctx context.Context, in *UserReadyEvent, conn *stmp.Conn, opts ...*stmp.CallOptions) error
func (STMPRoomEventsBroadcaster) UserReadyToAll ¶
func (s STMPRoomEventsBroadcaster) UserReadyToAll(ctx context.Context, in *UserReadyEvent, srv *stmp.Server, filter ...stmp.ConnFilter)
func (STMPRoomEventsBroadcaster) UserReadyToList ¶
func (s STMPRoomEventsBroadcaster) UserReadyToList(ctx context.Context, in *UserReadyEvent, conns ...*stmp.Conn)
func (STMPRoomEventsBroadcaster) UserReadyToSet ¶
func (s STMPRoomEventsBroadcaster) UserReadyToSet(ctx context.Context, in *UserReadyEvent, conns stmp.ConnSet, exclude ...*stmp.Conn)
func (STMPRoomEventsBroadcaster) UserUnready ¶
func (s STMPRoomEventsBroadcaster) UserUnready(ctx context.Context, in *UserUnreadyEvent, conn *stmp.Conn, opts ...*stmp.CallOptions) error
func (STMPRoomEventsBroadcaster) UserUnreadyToAll ¶
func (s STMPRoomEventsBroadcaster) UserUnreadyToAll(ctx context.Context, in *UserUnreadyEvent, srv *stmp.Server, filter ...stmp.ConnFilter)
func (STMPRoomEventsBroadcaster) UserUnreadyToList ¶
func (s STMPRoomEventsBroadcaster) UserUnreadyToList(ctx context.Context, in *UserUnreadyEvent, conns ...*stmp.Conn)
func (STMPRoomEventsBroadcaster) UserUnreadyToSet ¶
func (s STMPRoomEventsBroadcaster) UserUnreadyToSet(ctx context.Context, in *UserUnreadyEvent, conns stmp.ConnSet, exclude ...*stmp.Conn)
type STMPRoomEventsListener ¶
type STMPRoomEventsListener interface { HandleUserJoin(ctx context.Context, in *UserJoinEvent) HandleUserReady(ctx context.Context, in *UserReadyEvent) HandleUserUnready(ctx context.Context, in *UserUnreadyEvent) HandleUserLookon(ctx context.Context, in *UserLookonEvent) HandleUserExit(ctx context.Context, in *UserExitEvent) }
type STMPRoomServiceClient ¶
type STMPRoomServiceClient interface { MatchRoom(ctx context.Context, in *Empty, opts ...*stmp.CallOptions) (*FullRoomModel, error) ListRoom(ctx context.Context, in *ListInput, opts ...*stmp.CallOptions) (*ListRoomOutput, error) LookonRoom(ctx context.Context, in *LookonRoomInput, opts ...*stmp.CallOptions) (*FullRoomModel, error) JoinRoom(ctx context.Context, in *JoinRoomInput, opts ...*stmp.CallOptions) (*FullRoomModel, error) Ready(ctx context.Context, in *Empty, opts ...*stmp.CallOptions) (*Empty, error) Unready(ctx context.Context, in *Empty, opts ...*stmp.CallOptions) (*Empty, error) ExitRoom(ctx context.Context, in *Empty, opts ...*stmp.CallOptions) (*Empty, error) }
func STMPNewRoomServiceClient ¶
func STMPNewRoomServiceClient(c *stmp.Client) STMPRoomServiceClient
type STMPRoomServiceServer ¶
type STMPRoomServiceServer interface { MatchRoom(ctx context.Context, in *Empty) (out *FullRoomModel, err error) ListRoom(ctx context.Context, in *ListInput) (out *ListRoomOutput, err error) LookonRoom(ctx context.Context, in *LookonRoomInput) (out *FullRoomModel, err error) JoinRoom(ctx context.Context, in *JoinRoomInput) (out *FullRoomModel, err error) Ready(ctx context.Context, in *Empty) (out *Empty, err error) Unready(ctx context.Context, in *Empty) (out *Empty, err error) ExitRoom(ctx context.Context, in *Empty) (out *Empty, err error) }
type UserApplyEvent ¶
type UserApplyEvent struct { Kind ApplyModel_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=stmp.examples.gomoku.ApplyModel_Kind" json:"kind,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserApplyEvent) Descriptor ¶
func (*UserApplyEvent) Descriptor() ([]byte, []int)
func (*UserApplyEvent) GetKind ¶
func (m *UserApplyEvent) GetKind() ApplyModel_Kind
func (*UserApplyEvent) Marshal ¶
func (m *UserApplyEvent) Marshal() (dAtA []byte, err error)
func (*UserApplyEvent) MarshalToSizedBuffer ¶
func (m *UserApplyEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserApplyEvent) ProtoMessage ¶
func (*UserApplyEvent) ProtoMessage()
func (*UserApplyEvent) Reset ¶
func (m *UserApplyEvent) Reset()
func (*UserApplyEvent) Size ¶
func (m *UserApplyEvent) Size() (n int)
func (*UserApplyEvent) String ¶
func (m *UserApplyEvent) String() string
func (*UserApplyEvent) Unmarshal ¶
func (m *UserApplyEvent) Unmarshal(dAtA []byte) error
func (*UserApplyEvent) Validate ¶
func (m *UserApplyEvent) Validate() error
Validate checks the field values on UserApplyEvent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*UserApplyEvent) XXX_DiscardUnknown ¶
func (m *UserApplyEvent) XXX_DiscardUnknown()
func (*UserApplyEvent) XXX_Marshal ¶
func (m *UserApplyEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserApplyEvent) XXX_Merge ¶
func (m *UserApplyEvent) XXX_Merge(src proto.Message)
func (*UserApplyEvent) XXX_Size ¶
func (m *UserApplyEvent) XXX_Size() int
func (*UserApplyEvent) XXX_Unmarshal ¶
func (m *UserApplyEvent) XXX_Unmarshal(b []byte) error
type UserApplyEventValidationError ¶
type UserApplyEventValidationError struct {
// contains filtered or unexported fields
}
UserApplyEventValidationError is the validation error returned by UserApplyEvent.Validate if the designated constraints aren't met.
func (UserApplyEventValidationError) Cause ¶
func (e UserApplyEventValidationError) Cause() error
Cause function returns cause value.
func (UserApplyEventValidationError) Error ¶
func (e UserApplyEventValidationError) Error() string
Error satisfies the builtin error interface
func (UserApplyEventValidationError) ErrorName ¶
func (e UserApplyEventValidationError) ErrorName() string
ErrorName returns error name.
func (UserApplyEventValidationError) Field ¶
func (e UserApplyEventValidationError) Field() string
Field function returns field value.
func (UserApplyEventValidationError) Key ¶
func (e UserApplyEventValidationError) Key() bool
Key function returns key value.
func (UserApplyEventValidationError) Reason ¶
func (e UserApplyEventValidationError) Reason() string
Reason function returns reason value.
type UserConnectedEvent ¶
type UserConnectedEvent struct { UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserConnectedEvent) Descriptor ¶
func (*UserConnectedEvent) Descriptor() ([]byte, []int)
func (*UserConnectedEvent) GetUserId ¶
func (m *UserConnectedEvent) GetUserId() int64
func (*UserConnectedEvent) Marshal ¶
func (m *UserConnectedEvent) Marshal() (dAtA []byte, err error)
func (*UserConnectedEvent) MarshalTo ¶
func (m *UserConnectedEvent) MarshalTo(dAtA []byte) (int, error)
func (*UserConnectedEvent) MarshalToSizedBuffer ¶
func (m *UserConnectedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserConnectedEvent) ProtoMessage ¶
func (*UserConnectedEvent) ProtoMessage()
func (*UserConnectedEvent) Reset ¶
func (m *UserConnectedEvent) Reset()
func (*UserConnectedEvent) Size ¶
func (m *UserConnectedEvent) Size() (n int)
func (*UserConnectedEvent) String ¶
func (m *UserConnectedEvent) String() string
func (*UserConnectedEvent) Unmarshal ¶
func (m *UserConnectedEvent) Unmarshal(dAtA []byte) error
func (*UserConnectedEvent) Validate ¶
func (m *UserConnectedEvent) Validate() error
Validate checks the field values on UserConnectedEvent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*UserConnectedEvent) XXX_DiscardUnknown ¶
func (m *UserConnectedEvent) XXX_DiscardUnknown()
func (*UserConnectedEvent) XXX_Marshal ¶
func (m *UserConnectedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserConnectedEvent) XXX_Merge ¶
func (m *UserConnectedEvent) XXX_Merge(src proto.Message)
func (*UserConnectedEvent) XXX_Size ¶
func (m *UserConnectedEvent) XXX_Size() int
func (*UserConnectedEvent) XXX_Unmarshal ¶
func (m *UserConnectedEvent) XXX_Unmarshal(b []byte) error
type UserConnectedEventValidationError ¶
type UserConnectedEventValidationError struct {
// contains filtered or unexported fields
}
UserConnectedEventValidationError is the validation error returned by UserConnectedEvent.Validate if the designated constraints aren't met.
func (UserConnectedEventValidationError) Cause ¶
func (e UserConnectedEventValidationError) Cause() error
Cause function returns cause value.
func (UserConnectedEventValidationError) Error ¶
func (e UserConnectedEventValidationError) Error() string
Error satisfies the builtin error interface
func (UserConnectedEventValidationError) ErrorName ¶
func (e UserConnectedEventValidationError) ErrorName() string
ErrorName returns error name.
func (UserConnectedEventValidationError) Field ¶
func (e UserConnectedEventValidationError) Field() string
Field function returns field value.
func (UserConnectedEventValidationError) Key ¶
func (e UserConnectedEventValidationError) Key() bool
Key function returns key value.
func (UserConnectedEventValidationError) Reason ¶
func (e UserConnectedEventValidationError) Reason() string
Reason function returns reason value.
type UserDisconnectedEvent ¶
type UserDisconnectedEvent struct { UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` WaitTimeout int32 `protobuf:"varint,2,opt,name=waitTimeout,proto3" json:"waitTimeout,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserDisconnectedEvent) Descriptor ¶
func (*UserDisconnectedEvent) Descriptor() ([]byte, []int)
func (*UserDisconnectedEvent) GetUserId ¶
func (m *UserDisconnectedEvent) GetUserId() int64
func (*UserDisconnectedEvent) GetWaitTimeout ¶
func (m *UserDisconnectedEvent) GetWaitTimeout() int32
func (*UserDisconnectedEvent) Marshal ¶
func (m *UserDisconnectedEvent) Marshal() (dAtA []byte, err error)
func (*UserDisconnectedEvent) MarshalTo ¶
func (m *UserDisconnectedEvent) MarshalTo(dAtA []byte) (int, error)
func (*UserDisconnectedEvent) MarshalToSizedBuffer ¶
func (m *UserDisconnectedEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserDisconnectedEvent) ProtoMessage ¶
func (*UserDisconnectedEvent) ProtoMessage()
func (*UserDisconnectedEvent) Reset ¶
func (m *UserDisconnectedEvent) Reset()
func (*UserDisconnectedEvent) Size ¶
func (m *UserDisconnectedEvent) Size() (n int)
func (*UserDisconnectedEvent) String ¶
func (m *UserDisconnectedEvent) String() string
func (*UserDisconnectedEvent) Unmarshal ¶
func (m *UserDisconnectedEvent) Unmarshal(dAtA []byte) error
func (*UserDisconnectedEvent) Validate ¶
func (m *UserDisconnectedEvent) Validate() error
Validate checks the field values on UserDisconnectedEvent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*UserDisconnectedEvent) XXX_DiscardUnknown ¶
func (m *UserDisconnectedEvent) XXX_DiscardUnknown()
func (*UserDisconnectedEvent) XXX_Marshal ¶
func (m *UserDisconnectedEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserDisconnectedEvent) XXX_Merge ¶
func (m *UserDisconnectedEvent) XXX_Merge(src proto.Message)
func (*UserDisconnectedEvent) XXX_Size ¶
func (m *UserDisconnectedEvent) XXX_Size() int
func (*UserDisconnectedEvent) XXX_Unmarshal ¶
func (m *UserDisconnectedEvent) XXX_Unmarshal(b []byte) error
type UserDisconnectedEventValidationError ¶
type UserDisconnectedEventValidationError struct {
// contains filtered or unexported fields
}
UserDisconnectedEventValidationError is the validation error returned by UserDisconnectedEvent.Validate if the designated constraints aren't met.
func (UserDisconnectedEventValidationError) Cause ¶
func (e UserDisconnectedEventValidationError) Cause() error
Cause function returns cause value.
func (UserDisconnectedEventValidationError) Error ¶
func (e UserDisconnectedEventValidationError) Error() string
Error satisfies the builtin error interface
func (UserDisconnectedEventValidationError) ErrorName ¶
func (e UserDisconnectedEventValidationError) ErrorName() string
ErrorName returns error name.
func (UserDisconnectedEventValidationError) Field ¶
func (e UserDisconnectedEventValidationError) Field() string
Field function returns field value.
func (UserDisconnectedEventValidationError) Key ¶
func (e UserDisconnectedEventValidationError) Key() bool
Key function returns key value.
func (UserDisconnectedEventValidationError) Reason ¶
func (e UserDisconnectedEventValidationError) Reason() string
Reason function returns reason value.
type UserExitEvent ¶
type UserExitEvent struct { UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserExitEvent) Descriptor ¶
func (*UserExitEvent) Descriptor() ([]byte, []int)
func (*UserExitEvent) GetUserId ¶
func (m *UserExitEvent) GetUserId() int64
func (*UserExitEvent) Marshal ¶
func (m *UserExitEvent) Marshal() (dAtA []byte, err error)
func (*UserExitEvent) MarshalToSizedBuffer ¶
func (m *UserExitEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserExitEvent) ProtoMessage ¶
func (*UserExitEvent) ProtoMessage()
func (*UserExitEvent) Reset ¶
func (m *UserExitEvent) Reset()
func (*UserExitEvent) Size ¶
func (m *UserExitEvent) Size() (n int)
func (*UserExitEvent) String ¶
func (m *UserExitEvent) String() string
func (*UserExitEvent) Unmarshal ¶
func (m *UserExitEvent) Unmarshal(dAtA []byte) error
func (*UserExitEvent) Validate ¶
func (m *UserExitEvent) Validate() error
Validate checks the field values on UserExitEvent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*UserExitEvent) XXX_DiscardUnknown ¶
func (m *UserExitEvent) XXX_DiscardUnknown()
func (*UserExitEvent) XXX_Marshal ¶
func (m *UserExitEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserExitEvent) XXX_Merge ¶
func (m *UserExitEvent) XXX_Merge(src proto.Message)
func (*UserExitEvent) XXX_Size ¶
func (m *UserExitEvent) XXX_Size() int
func (*UserExitEvent) XXX_Unmarshal ¶
func (m *UserExitEvent) XXX_Unmarshal(b []byte) error
type UserExitEventValidationError ¶
type UserExitEventValidationError struct {
// contains filtered or unexported fields
}
UserExitEventValidationError is the validation error returned by UserExitEvent.Validate if the designated constraints aren't met.
func (UserExitEventValidationError) Cause ¶
func (e UserExitEventValidationError) Cause() error
Cause function returns cause value.
func (UserExitEventValidationError) Error ¶
func (e UserExitEventValidationError) Error() string
Error satisfies the builtin error interface
func (UserExitEventValidationError) ErrorName ¶
func (e UserExitEventValidationError) ErrorName() string
ErrorName returns error name.
func (UserExitEventValidationError) Field ¶
func (e UserExitEventValidationError) Field() string
Field function returns field value.
func (UserExitEventValidationError) Key ¶
func (e UserExitEventValidationError) Key() bool
Key function returns key value.
func (UserExitEventValidationError) Reason ¶
func (e UserExitEventValidationError) Reason() string
Reason function returns reason value.
type UserJoinEvent ¶
type UserJoinEvent struct { UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` Seat int32 `protobuf:"varint,2,opt,name=seat,proto3" json:"seat,omitempty"` ReadyTimeout int32 `protobuf:"varint,3,opt,name=readyTimeout,proto3" json:"readyTimeout,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserJoinEvent) Descriptor ¶
func (*UserJoinEvent) Descriptor() ([]byte, []int)
func (*UserJoinEvent) GetReadyTimeout ¶
func (m *UserJoinEvent) GetReadyTimeout() int32
func (*UserJoinEvent) GetSeat ¶
func (m *UserJoinEvent) GetSeat() int32
func (*UserJoinEvent) GetUserId ¶
func (m *UserJoinEvent) GetUserId() int64
func (*UserJoinEvent) Marshal ¶
func (m *UserJoinEvent) Marshal() (dAtA []byte, err error)
func (*UserJoinEvent) MarshalToSizedBuffer ¶
func (m *UserJoinEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserJoinEvent) ProtoMessage ¶
func (*UserJoinEvent) ProtoMessage()
func (*UserJoinEvent) Reset ¶
func (m *UserJoinEvent) Reset()
func (*UserJoinEvent) Size ¶
func (m *UserJoinEvent) Size() (n int)
func (*UserJoinEvent) String ¶
func (m *UserJoinEvent) String() string
func (*UserJoinEvent) Unmarshal ¶
func (m *UserJoinEvent) Unmarshal(dAtA []byte) error
func (*UserJoinEvent) Validate ¶
func (m *UserJoinEvent) Validate() error
Validate checks the field values on UserJoinEvent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*UserJoinEvent) XXX_DiscardUnknown ¶
func (m *UserJoinEvent) XXX_DiscardUnknown()
func (*UserJoinEvent) XXX_Marshal ¶
func (m *UserJoinEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserJoinEvent) XXX_Merge ¶
func (m *UserJoinEvent) XXX_Merge(src proto.Message)
func (*UserJoinEvent) XXX_Size ¶
func (m *UserJoinEvent) XXX_Size() int
func (*UserJoinEvent) XXX_Unmarshal ¶
func (m *UserJoinEvent) XXX_Unmarshal(b []byte) error
type UserJoinEventValidationError ¶
type UserJoinEventValidationError struct {
// contains filtered or unexported fields
}
UserJoinEventValidationError is the validation error returned by UserJoinEvent.Validate if the designated constraints aren't met.
func (UserJoinEventValidationError) Cause ¶
func (e UserJoinEventValidationError) Cause() error
Cause function returns cause value.
func (UserJoinEventValidationError) Error ¶
func (e UserJoinEventValidationError) Error() string
Error satisfies the builtin error interface
func (UserJoinEventValidationError) ErrorName ¶
func (e UserJoinEventValidationError) ErrorName() string
ErrorName returns error name.
func (UserJoinEventValidationError) Field ¶
func (e UserJoinEventValidationError) Field() string
Field function returns field value.
func (UserJoinEventValidationError) Key ¶
func (e UserJoinEventValidationError) Key() bool
Key function returns key value.
func (UserJoinEventValidationError) Reason ¶
func (e UserJoinEventValidationError) Reason() string
Reason function returns reason value.
type UserLookonEvent ¶
type UserLookonEvent struct { UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserLookonEvent) Descriptor ¶
func (*UserLookonEvent) Descriptor() ([]byte, []int)
func (*UserLookonEvent) GetUserId ¶
func (m *UserLookonEvent) GetUserId() int64
func (*UserLookonEvent) Marshal ¶
func (m *UserLookonEvent) Marshal() (dAtA []byte, err error)
func (*UserLookonEvent) MarshalToSizedBuffer ¶
func (m *UserLookonEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserLookonEvent) ProtoMessage ¶
func (*UserLookonEvent) ProtoMessage()
func (*UserLookonEvent) Reset ¶
func (m *UserLookonEvent) Reset()
func (*UserLookonEvent) Size ¶
func (m *UserLookonEvent) Size() (n int)
func (*UserLookonEvent) String ¶
func (m *UserLookonEvent) String() string
func (*UserLookonEvent) Unmarshal ¶
func (m *UserLookonEvent) Unmarshal(dAtA []byte) error
func (*UserLookonEvent) Validate ¶
func (m *UserLookonEvent) Validate() error
Validate checks the field values on UserLookonEvent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*UserLookonEvent) XXX_DiscardUnknown ¶
func (m *UserLookonEvent) XXX_DiscardUnknown()
func (*UserLookonEvent) XXX_Marshal ¶
func (m *UserLookonEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserLookonEvent) XXX_Merge ¶
func (m *UserLookonEvent) XXX_Merge(src proto.Message)
func (*UserLookonEvent) XXX_Size ¶
func (m *UserLookonEvent) XXX_Size() int
func (*UserLookonEvent) XXX_Unmarshal ¶
func (m *UserLookonEvent) XXX_Unmarshal(b []byte) error
type UserLookonEventValidationError ¶
type UserLookonEventValidationError struct {
// contains filtered or unexported fields
}
UserLookonEventValidationError is the validation error returned by UserLookonEvent.Validate if the designated constraints aren't met.
func (UserLookonEventValidationError) Cause ¶
func (e UserLookonEventValidationError) Cause() error
Cause function returns cause value.
func (UserLookonEventValidationError) Error ¶
func (e UserLookonEventValidationError) Error() string
Error satisfies the builtin error interface
func (UserLookonEventValidationError) ErrorName ¶
func (e UserLookonEventValidationError) ErrorName() string
ErrorName returns error name.
func (UserLookonEventValidationError) Field ¶
func (e UserLookonEventValidationError) Field() string
Field function returns field value.
func (UserLookonEventValidationError) Key ¶
func (e UserLookonEventValidationError) Key() bool
Key function returns key value.
func (UserLookonEventValidationError) Reason ¶
func (e UserLookonEventValidationError) Reason() string
Reason function returns reason value.
type UserPlayEvent ¶
type UserPlayEvent struct { UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` Hand *HandModel `protobuf:"bytes,2,opt,name=hand,proto3" json:"hand,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserPlayEvent) Descriptor ¶
func (*UserPlayEvent) Descriptor() ([]byte, []int)
func (*UserPlayEvent) GetHand ¶
func (m *UserPlayEvent) GetHand() *HandModel
func (*UserPlayEvent) GetUserId ¶
func (m *UserPlayEvent) GetUserId() int64
func (*UserPlayEvent) Marshal ¶
func (m *UserPlayEvent) Marshal() (dAtA []byte, err error)
func (*UserPlayEvent) MarshalToSizedBuffer ¶
func (m *UserPlayEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserPlayEvent) ProtoMessage ¶
func (*UserPlayEvent) ProtoMessage()
func (*UserPlayEvent) Reset ¶
func (m *UserPlayEvent) Reset()
func (*UserPlayEvent) Size ¶
func (m *UserPlayEvent) Size() (n int)
func (*UserPlayEvent) String ¶
func (m *UserPlayEvent) String() string
func (*UserPlayEvent) Unmarshal ¶
func (m *UserPlayEvent) Unmarshal(dAtA []byte) error
func (*UserPlayEvent) Validate ¶
func (m *UserPlayEvent) Validate() error
Validate checks the field values on UserPlayEvent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*UserPlayEvent) XXX_DiscardUnknown ¶
func (m *UserPlayEvent) XXX_DiscardUnknown()
func (*UserPlayEvent) XXX_Marshal ¶
func (m *UserPlayEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserPlayEvent) XXX_Merge ¶
func (m *UserPlayEvent) XXX_Merge(src proto.Message)
func (*UserPlayEvent) XXX_Size ¶
func (m *UserPlayEvent) XXX_Size() int
func (*UserPlayEvent) XXX_Unmarshal ¶
func (m *UserPlayEvent) XXX_Unmarshal(b []byte) error
type UserPlayEventValidationError ¶
type UserPlayEventValidationError struct {
// contains filtered or unexported fields
}
UserPlayEventValidationError is the validation error returned by UserPlayEvent.Validate if the designated constraints aren't met.
func (UserPlayEventValidationError) Cause ¶
func (e UserPlayEventValidationError) Cause() error
Cause function returns cause value.
func (UserPlayEventValidationError) Error ¶
func (e UserPlayEventValidationError) Error() string
Error satisfies the builtin error interface
func (UserPlayEventValidationError) ErrorName ¶
func (e UserPlayEventValidationError) ErrorName() string
ErrorName returns error name.
func (UserPlayEventValidationError) Field ¶
func (e UserPlayEventValidationError) Field() string
Field function returns field value.
func (UserPlayEventValidationError) Key ¶
func (e UserPlayEventValidationError) Key() bool
Key function returns key value.
func (UserPlayEventValidationError) Reason ¶
func (e UserPlayEventValidationError) Reason() string
Reason function returns reason value.
type UserReadyEvent ¶
type UserReadyEvent struct { UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserReadyEvent) Descriptor ¶
func (*UserReadyEvent) Descriptor() ([]byte, []int)
func (*UserReadyEvent) GetUserId ¶
func (m *UserReadyEvent) GetUserId() int64
func (*UserReadyEvent) Marshal ¶
func (m *UserReadyEvent) Marshal() (dAtA []byte, err error)
func (*UserReadyEvent) MarshalToSizedBuffer ¶
func (m *UserReadyEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserReadyEvent) ProtoMessage ¶
func (*UserReadyEvent) ProtoMessage()
func (*UserReadyEvent) Reset ¶
func (m *UserReadyEvent) Reset()
func (*UserReadyEvent) Size ¶
func (m *UserReadyEvent) Size() (n int)
func (*UserReadyEvent) String ¶
func (m *UserReadyEvent) String() string
func (*UserReadyEvent) Unmarshal ¶
func (m *UserReadyEvent) Unmarshal(dAtA []byte) error
func (*UserReadyEvent) Validate ¶
func (m *UserReadyEvent) Validate() error
Validate checks the field values on UserReadyEvent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*UserReadyEvent) XXX_DiscardUnknown ¶
func (m *UserReadyEvent) XXX_DiscardUnknown()
func (*UserReadyEvent) XXX_Marshal ¶
func (m *UserReadyEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserReadyEvent) XXX_Merge ¶
func (m *UserReadyEvent) XXX_Merge(src proto.Message)
func (*UserReadyEvent) XXX_Size ¶
func (m *UserReadyEvent) XXX_Size() int
func (*UserReadyEvent) XXX_Unmarshal ¶
func (m *UserReadyEvent) XXX_Unmarshal(b []byte) error
type UserReadyEventValidationError ¶
type UserReadyEventValidationError struct {
// contains filtered or unexported fields
}
UserReadyEventValidationError is the validation error returned by UserReadyEvent.Validate if the designated constraints aren't met.
func (UserReadyEventValidationError) Cause ¶
func (e UserReadyEventValidationError) Cause() error
Cause function returns cause value.
func (UserReadyEventValidationError) Error ¶
func (e UserReadyEventValidationError) Error() string
Error satisfies the builtin error interface
func (UserReadyEventValidationError) ErrorName ¶
func (e UserReadyEventValidationError) ErrorName() string
ErrorName returns error name.
func (UserReadyEventValidationError) Field ¶
func (e UserReadyEventValidationError) Field() string
Field function returns field value.
func (UserReadyEventValidationError) Key ¶
func (e UserReadyEventValidationError) Key() bool
Key function returns key value.
func (UserReadyEventValidationError) Reason ¶
func (e UserReadyEventValidationError) Reason() string
Reason function returns reason value.
type UserReplyEvent ¶
type UserReplyEvent struct { Kind ApplyModel_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=stmp.examples.gomoku.ApplyModel_Kind" json:"kind,omitempty"` Accepted bool `protobuf:"varint,2,opt,name=accepted,proto3" json:"accepted,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserReplyEvent) Descriptor ¶
func (*UserReplyEvent) Descriptor() ([]byte, []int)
func (*UserReplyEvent) GetAccepted ¶
func (m *UserReplyEvent) GetAccepted() bool
func (*UserReplyEvent) GetKind ¶
func (m *UserReplyEvent) GetKind() ApplyModel_Kind
func (*UserReplyEvent) Marshal ¶
func (m *UserReplyEvent) Marshal() (dAtA []byte, err error)
func (*UserReplyEvent) MarshalToSizedBuffer ¶
func (m *UserReplyEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserReplyEvent) ProtoMessage ¶
func (*UserReplyEvent) ProtoMessage()
func (*UserReplyEvent) Reset ¶
func (m *UserReplyEvent) Reset()
func (*UserReplyEvent) Size ¶
func (m *UserReplyEvent) Size() (n int)
func (*UserReplyEvent) String ¶
func (m *UserReplyEvent) String() string
func (*UserReplyEvent) Unmarshal ¶
func (m *UserReplyEvent) Unmarshal(dAtA []byte) error
func (*UserReplyEvent) Validate ¶
func (m *UserReplyEvent) Validate() error
Validate checks the field values on UserReplyEvent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*UserReplyEvent) XXX_DiscardUnknown ¶
func (m *UserReplyEvent) XXX_DiscardUnknown()
func (*UserReplyEvent) XXX_Marshal ¶
func (m *UserReplyEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserReplyEvent) XXX_Merge ¶
func (m *UserReplyEvent) XXX_Merge(src proto.Message)
func (*UserReplyEvent) XXX_Size ¶
func (m *UserReplyEvent) XXX_Size() int
func (*UserReplyEvent) XXX_Unmarshal ¶
func (m *UserReplyEvent) XXX_Unmarshal(b []byte) error
type UserReplyEventValidationError ¶
type UserReplyEventValidationError struct {
// contains filtered or unexported fields
}
UserReplyEventValidationError is the validation error returned by UserReplyEvent.Validate if the designated constraints aren't met.
func (UserReplyEventValidationError) Cause ¶
func (e UserReplyEventValidationError) Cause() error
Cause function returns cause value.
func (UserReplyEventValidationError) Error ¶
func (e UserReplyEventValidationError) Error() string
Error satisfies the builtin error interface
func (UserReplyEventValidationError) ErrorName ¶
func (e UserReplyEventValidationError) ErrorName() string
ErrorName returns error name.
func (UserReplyEventValidationError) Field ¶
func (e UserReplyEventValidationError) Field() string
Field function returns field value.
func (UserReplyEventValidationError) Key ¶
func (e UserReplyEventValidationError) Key() bool
Key function returns key value.
func (UserReplyEventValidationError) Reason ¶
func (e UserReplyEventValidationError) Reason() string
Reason function returns reason value.
type UserUnreadyEvent ¶
type UserUnreadyEvent struct { UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` ReadyTimeout int32 `protobuf:"varint,2,opt,name=readyTimeout,proto3" json:"readyTimeout,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UserUnreadyEvent) Descriptor ¶
func (*UserUnreadyEvent) Descriptor() ([]byte, []int)
func (*UserUnreadyEvent) GetReadyTimeout ¶
func (m *UserUnreadyEvent) GetReadyTimeout() int32
func (*UserUnreadyEvent) GetUserId ¶
func (m *UserUnreadyEvent) GetUserId() int64
func (*UserUnreadyEvent) Marshal ¶
func (m *UserUnreadyEvent) Marshal() (dAtA []byte, err error)
func (*UserUnreadyEvent) MarshalToSizedBuffer ¶
func (m *UserUnreadyEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserUnreadyEvent) ProtoMessage ¶
func (*UserUnreadyEvent) ProtoMessage()
func (*UserUnreadyEvent) Reset ¶
func (m *UserUnreadyEvent) Reset()
func (*UserUnreadyEvent) Size ¶
func (m *UserUnreadyEvent) Size() (n int)
func (*UserUnreadyEvent) String ¶
func (m *UserUnreadyEvent) String() string
func (*UserUnreadyEvent) Unmarshal ¶
func (m *UserUnreadyEvent) Unmarshal(dAtA []byte) error
func (*UserUnreadyEvent) Validate ¶
func (m *UserUnreadyEvent) Validate() error
Validate checks the field values on UserUnreadyEvent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*UserUnreadyEvent) XXX_DiscardUnknown ¶
func (m *UserUnreadyEvent) XXX_DiscardUnknown()
func (*UserUnreadyEvent) XXX_Marshal ¶
func (m *UserUnreadyEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserUnreadyEvent) XXX_Merge ¶
func (m *UserUnreadyEvent) XXX_Merge(src proto.Message)
func (*UserUnreadyEvent) XXX_Size ¶
func (m *UserUnreadyEvent) XXX_Size() int
func (*UserUnreadyEvent) XXX_Unmarshal ¶
func (m *UserUnreadyEvent) XXX_Unmarshal(b []byte) error
type UserUnreadyEventValidationError ¶
type UserUnreadyEventValidationError struct {
// contains filtered or unexported fields
}
UserUnreadyEventValidationError is the validation error returned by UserUnreadyEvent.Validate if the designated constraints aren't met.
func (UserUnreadyEventValidationError) Cause ¶
func (e UserUnreadyEventValidationError) Cause() error
Cause function returns cause value.
func (UserUnreadyEventValidationError) Error ¶
func (e UserUnreadyEventValidationError) Error() string
Error satisfies the builtin error interface
func (UserUnreadyEventValidationError) ErrorName ¶
func (e UserUnreadyEventValidationError) ErrorName() string
ErrorName returns error name.
func (UserUnreadyEventValidationError) Field ¶
func (e UserUnreadyEventValidationError) Field() string
Field function returns field value.
func (UserUnreadyEventValidationError) Key ¶
func (e UserUnreadyEventValidationError) Key() bool
Key function returns key value.
func (UserUnreadyEventValidationError) Reason ¶
func (e UserUnreadyEventValidationError) Reason() string
Reason function returns reason value.