Documentation ¶
Index ¶
- Variables
- func RegisterBananaServiceServer(s *grpc.Server, srv BananaServiceServer)
- type BananaServiceClient
- type BananaServiceServer
- type BananaService_JoinGameClient
- type BananaService_JoinGameServer
- type BananaService_SpectateClient
- type BananaService_SpectateServer
- type BananaService_StreamGamesClient
- type BananaService_StreamGamesServer
- type BananaService_StreamLogsClient
- type BananaService_StreamLogsServer
- type Board
- func (*Board) Descriptor() ([]byte, []int)
- func (m *Board) GetWords() []*Word
- func (*Board) ProtoMessage()
- func (m *Board) Reset()
- func (m *Board) String() string
- func (m *Board) XXX_DiscardUnknown()
- func (m *Board) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Board) XXX_Merge(src proto.Message)
- func (m *Board) XXX_Size() int
- func (m *Board) XXX_Unmarshal(b []byte) error
- type CharLoc
- func (*CharLoc) Descriptor() ([]byte, []int)
- func (m *CharLoc) GetLetter() string
- func (m *CharLoc) GetX() int32
- func (m *CharLoc) GetY() int32
- func (*CharLoc) ProtoMessage()
- func (m *CharLoc) Reset()
- func (m *CharLoc) String() string
- func (m *CharLoc) XXX_DiscardUnknown()
- func (m *CharLoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CharLoc) XXX_Merge(src proto.Message)
- func (m *CharLoc) XXX_Size() int
- func (m *CharLoc) XXX_Unmarshal(b []byte) error
- type CharLocs
- func (*CharLocs) Descriptor() ([]byte, []int)
- func (m *CharLocs) GetLocs() []*CharLoc
- func (m *CharLocs) GetText() string
- func (*CharLocs) ProtoMessage()
- func (m *CharLocs) Reset()
- func (m *CharLocs) String() string
- func (m *CharLocs) XXX_DiscardUnknown()
- func (m *CharLocs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CharLocs) XXX_Merge(src proto.Message)
- func (m *CharLocs) XXX_Size() int
- func (m *CharLocs) XXX_Unmarshal(b []byte) error
- type CurrentStatus
- func (*CurrentStatus) Descriptor() ([]byte, []int)
- func (m *CurrentStatus) GetAllTiles() *Tiles
- func (m *CurrentStatus) GetBoard() *Board
- func (m *CurrentStatus) GetPlayers() []*Player
- func (m *CurrentStatus) GetRemainingTiles() int32
- func (m *CurrentStatus) GetStatus() GameStatus
- func (m *CurrentStatus) GetYourId() string
- func (*CurrentStatus) ProtoMessage()
- func (m *CurrentStatus) Reset()
- func (m *CurrentStatus) String() string
- func (m *CurrentStatus) XXX_DiscardUnknown()
- func (m *CurrentStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CurrentStatus) XXX_Merge(src proto.Message)
- func (m *CurrentStatus) XXX_Size() int
- func (m *CurrentStatus) XXX_Unmarshal(b []byte) error
- type DumpRequest
- func (*DumpRequest) Descriptor() ([]byte, []int)
- func (m *DumpRequest) GetId() string
- func (m *DumpRequest) GetLetter() string
- func (m *DumpRequest) GetPlayerId() string
- func (*DumpRequest) ProtoMessage()
- func (m *DumpRequest) Reset()
- func (m *DumpRequest) String() string
- func (m *DumpRequest) XXX_DiscardUnknown()
- func (m *DumpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DumpRequest) XXX_Merge(src proto.Message)
- func (m *DumpRequest) XXX_Size() int
- func (m *DumpRequest) XXX_Unmarshal(b []byte) error
- type DumpResponse
- func (*DumpResponse) Descriptor() ([]byte, []int)
- func (m *DumpResponse) GetAllTiles() *Tiles
- func (*DumpResponse) ProtoMessage()
- func (m *DumpResponse) Reset()
- func (m *DumpResponse) String() string
- func (m *DumpResponse) XXX_DiscardUnknown()
- func (m *DumpResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DumpResponse) XXX_Merge(src proto.Message)
- func (m *DumpResponse) XXX_Size() int
- func (m *DumpResponse) XXX_Unmarshal(b []byte) error
- type Game
- func (*Game) Descriptor() ([]byte, []int)
- func (m *Game) GetCreatorId() string
- func (m *Game) GetId() string
- func (m *Game) GetName() string
- func (m *Game) GetPlayerCount() int32
- func (m *Game) GetStatus() GameStatus
- func (*Game) ProtoMessage()
- func (m *Game) Reset()
- func (m *Game) String() string
- func (m *Game) XXX_DiscardUnknown()
- func (m *Game) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Game) XXX_Merge(src proto.Message)
- func (m *Game) XXX_Size() int
- func (m *Game) XXX_Unmarshal(b []byte) error
- type GameEnded
- func (*GameEnded) Descriptor() ([]byte, []int)
- func (m *GameEnded) GetStandings() []*Player
- func (*GameEnded) ProtoMessage()
- func (m *GameEnded) Reset()
- func (m *GameEnded) String() string
- func (m *GameEnded) XXX_DiscardUnknown()
- func (m *GameEnded) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GameEnded) XXX_Merge(src proto.Message)
- func (m *GameEnded) XXX_Size() int
- func (m *GameEnded) XXX_Unmarshal(b []byte) error
- type GameStarted
- func (*GameStarted) Descriptor() ([]byte, []int)
- func (*GameStarted) ProtoMessage()
- func (m *GameStarted) Reset()
- func (m *GameStarted) String() string
- func (m *GameStarted) XXX_DiscardUnknown()
- func (m *GameStarted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GameStarted) XXX_Merge(src proto.Message)
- func (m *GameStarted) XXX_Size() int
- func (m *GameStarted) XXX_Unmarshal(b []byte) error
- type GameStatus
- type GameUpdate
- func (*GameUpdate) Descriptor() ([]byte, []int)
- func (m *GameUpdate) GetCurrentStatus() *CurrentStatus
- func (m *GameUpdate) GetGameEnded() *GameEnded
- func (m *GameUpdate) GetGameStarted() *GameStarted
- func (m *GameUpdate) GetOtherTileUpdate() *OtherTileUpdates
- func (m *GameUpdate) GetPlayerUpdate() *PlayerUpdate
- func (m *GameUpdate) GetSelfTileUpdate() *SelfTileUpdate
- func (m *GameUpdate) GetUpdate() isGameUpdate_Update
- func (*GameUpdate) ProtoMessage()
- func (m *GameUpdate) Reset()
- func (m *GameUpdate) String() string
- func (m *GameUpdate) XXX_DiscardUnknown()
- func (m *GameUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GameUpdate) XXX_Merge(src proto.Message)
- func (*GameUpdate) XXX_OneofWrappers() []interface{}
- func (m *GameUpdate) XXX_Size() int
- func (m *GameUpdate) XXX_Unmarshal(b []byte) error
- type GameUpdate_CurrentStatus
- type GameUpdate_GameEnded
- type GameUpdate_GameStarted
- type GameUpdate_OtherTileUpdate
- type GameUpdate_PlayerUpdate
- type GameUpdate_SelfTileUpdate
- type GamesList
- func (*GamesList) Descriptor() ([]byte, []int)
- func (m *GamesList) GetGames() []*Game
- func (*GamesList) ProtoMessage()
- func (m *GamesList) Reset()
- func (m *GamesList) String() string
- func (m *GamesList) XXX_DiscardUnknown()
- func (m *GamesList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GamesList) XXX_Merge(src proto.Message)
- func (m *GamesList) XXX_Size() int
- func (m *GamesList) XXX_Unmarshal(b []byte) error
- type JoinGameRequest
- func (*JoinGameRequest) Descriptor() ([]byte, []int)
- func (m *JoinGameRequest) GetGameId() string
- func (m *JoinGameRequest) GetPlayerId() string
- func (*JoinGameRequest) ProtoMessage()
- func (m *JoinGameRequest) Reset()
- func (m *JoinGameRequest) String() string
- func (m *JoinGameRequest) XXX_DiscardUnknown()
- func (m *JoinGameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *JoinGameRequest) XXX_Merge(src proto.Message)
- func (m *JoinGameRequest) XXX_Size() int
- func (m *JoinGameRequest) XXX_Unmarshal(b []byte) error
- type ListGamesRequest
- func (*ListGamesRequest) Descriptor() ([]byte, []int)
- func (*ListGamesRequest) ProtoMessage()
- func (m *ListGamesRequest) Reset()
- func (m *ListGamesRequest) String() string
- func (m *ListGamesRequest) XXX_DiscardUnknown()
- func (m *ListGamesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListGamesRequest) XXX_Merge(src proto.Message)
- func (m *ListGamesRequest) XXX_Size() int
- func (m *ListGamesRequest) XXX_Unmarshal(b []byte) error
- type ListGamesResponse
- func (*ListGamesResponse) Descriptor() ([]byte, []int)
- func (m *ListGamesResponse) GetGames() []*Game
- func (*ListGamesResponse) ProtoMessage()
- func (m *ListGamesResponse) Reset()
- func (m *ListGamesResponse) String() string
- func (m *ListGamesResponse) XXX_DiscardUnknown()
- func (m *ListGamesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListGamesResponse) XXX_Merge(src proto.Message)
- func (m *ListGamesResponse) XXX_Size() int
- func (m *ListGamesResponse) XXX_Unmarshal(b []byte) error
- type LogEntry
- func (*LogEntry) Descriptor() ([]byte, []int)
- func (m *LogEntry) GetEvent() isLogEntry_Event
- func (m *LogEntry) GetPlayerDump() *PlayerDump
- func (m *LogEntry) GetPlayerMove() *PlayerMove
- func (m *LogEntry) GetPlayerPeel() *PlayerPeel
- func (*LogEntry) ProtoMessage()
- func (m *LogEntry) Reset()
- func (m *LogEntry) String() string
- func (m *LogEntry) XXX_DiscardUnknown()
- func (m *LogEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LogEntry) XXX_Merge(src proto.Message)
- func (*LogEntry) XXX_OneofWrappers() []interface{}
- func (m *LogEntry) XXX_Size() int
- func (m *LogEntry) XXX_Unmarshal(b []byte) error
- type LogEntry_PlayerDump
- type LogEntry_PlayerMove
- type LogEntry_PlayerPeel
- type NewGameRequest
- func (*NewGameRequest) Descriptor() ([]byte, []int)
- func (m *NewGameRequest) GetMinLettersInWord() int32
- func (m *NewGameRequest) GetName() string
- func (*NewGameRequest) ProtoMessage()
- func (m *NewGameRequest) Reset()
- func (m *NewGameRequest) String() string
- func (m *NewGameRequest) XXX_DiscardUnknown()
- func (m *NewGameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NewGameRequest) XXX_Merge(src proto.Message)
- func (m *NewGameRequest) XXX_Size() int
- func (m *NewGameRequest) XXX_Unmarshal(b []byte) error
- type NewGameResponse
- func (*NewGameResponse) Descriptor() ([]byte, []int)
- func (m *NewGameResponse) GetId() string
- func (*NewGameResponse) ProtoMessage()
- func (m *NewGameResponse) Reset()
- func (m *NewGameResponse) String() string
- func (m *NewGameResponse) XXX_DiscardUnknown()
- func (m *NewGameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NewGameResponse) XXX_Merge(src proto.Message)
- func (m *NewGameResponse) XXX_Size() int
- func (m *NewGameResponse) XXX_Unmarshal(b []byte) error
- type OtherTileUpdate
- func (*OtherTileUpdate) Descriptor() ([]byte, []int)
- func (m *OtherTileUpdate) GetPlayerId() string
- func (m *OtherTileUpdate) GetTilesInBoard() int32
- func (m *OtherTileUpdate) GetTilesInHand() int32
- func (*OtherTileUpdate) ProtoMessage()
- func (m *OtherTileUpdate) Reset()
- func (m *OtherTileUpdate) String() string
- func (m *OtherTileUpdate) XXX_DiscardUnknown()
- func (m *OtherTileUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OtherTileUpdate) XXX_Merge(src proto.Message)
- func (m *OtherTileUpdate) XXX_Size() int
- func (m *OtherTileUpdate) XXX_Unmarshal(b []byte) error
- type OtherTileUpdates
- func (*OtherTileUpdates) Descriptor() ([]byte, []int)
- func (m *OtherTileUpdates) GetRemainingTiles() int32
- func (m *OtherTileUpdates) GetUpdates() []*OtherTileUpdate
- func (*OtherTileUpdates) ProtoMessage()
- func (m *OtherTileUpdates) Reset()
- func (m *OtherTileUpdates) String() string
- func (m *OtherTileUpdates) XXX_DiscardUnknown()
- func (m *OtherTileUpdates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OtherTileUpdates) XXX_Merge(src proto.Message)
- func (m *OtherTileUpdates) XXX_Size() int
- func (m *OtherTileUpdates) XXX_Unmarshal(b []byte) error
- type Player
- func (*Player) Descriptor() ([]byte, []int)
- func (m *Player) GetId() string
- func (m *Player) GetName() string
- func (m *Player) GetTilesInBoard() int32
- func (m *Player) GetTilesInHand() int32
- func (*Player) ProtoMessage()
- func (m *Player) Reset()
- func (m *Player) String() string
- func (m *Player) XXX_DiscardUnknown()
- func (m *Player) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Player) XXX_Merge(src proto.Message)
- func (m *Player) XXX_Size() int
- func (m *Player) XXX_Unmarshal(b []byte) error
- type PlayerDump
- func (*PlayerDump) Descriptor() ([]byte, []int)
- func (m *PlayerDump) GetPlayerId() string
- func (m *PlayerDump) GetPlayerName() string
- func (*PlayerDump) ProtoMessage()
- func (m *PlayerDump) Reset()
- func (m *PlayerDump) String() string
- func (m *PlayerDump) XXX_DiscardUnknown()
- func (m *PlayerDump) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PlayerDump) XXX_Merge(src proto.Message)
- func (m *PlayerDump) XXX_Size() int
- func (m *PlayerDump) XXX_Unmarshal(b []byte) error
- type PlayerMove
- func (*PlayerMove) Descriptor() ([]byte, []int)
- func (m *PlayerMove) GetBoardConnected() bool
- func (m *PlayerMove) GetPlayerId() string
- func (m *PlayerMove) GetPlayerName() string
- func (m *PlayerMove) GetWord() string
- func (m *PlayerMove) GetWordValid() bool
- func (*PlayerMove) ProtoMessage()
- func (m *PlayerMove) Reset()
- func (m *PlayerMove) String() string
- func (m *PlayerMove) XXX_DiscardUnknown()
- func (m *PlayerMove) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PlayerMove) XXX_Merge(src proto.Message)
- func (m *PlayerMove) XXX_Size() int
- func (m *PlayerMove) XXX_Unmarshal(b []byte) error
- type PlayerPeel
- func (*PlayerPeel) Descriptor() ([]byte, []int)
- func (m *PlayerPeel) GetPlayerId() string
- func (m *PlayerPeel) GetPlayerName() string
- func (*PlayerPeel) ProtoMessage()
- func (m *PlayerPeel) Reset()
- func (m *PlayerPeel) String() string
- func (m *PlayerPeel) XXX_DiscardUnknown()
- func (m *PlayerPeel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PlayerPeel) XXX_Merge(src proto.Message)
- func (m *PlayerPeel) XXX_Size() int
- func (m *PlayerPeel) XXX_Unmarshal(b []byte) error
- type PlayerUpdate
- func (*PlayerUpdate) Descriptor() ([]byte, []int)
- func (m *PlayerUpdate) GetPlayer() *Player
- func (*PlayerUpdate) ProtoMessage()
- func (m *PlayerUpdate) Reset()
- func (m *PlayerUpdate) String() string
- func (m *PlayerUpdate) XXX_DiscardUnknown()
- func (m *PlayerUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PlayerUpdate) XXX_Merge(src proto.Message)
- func (m *PlayerUpdate) XXX_Size() int
- func (m *PlayerUpdate) XXX_Unmarshal(b []byte) error
- type RegisterRequest
- func (*RegisterRequest) Descriptor() ([]byte, []int)
- func (m *RegisterRequest) GetName() string
- func (*RegisterRequest) ProtoMessage()
- func (m *RegisterRequest) Reset()
- func (m *RegisterRequest) String() string
- func (m *RegisterRequest) XXX_DiscardUnknown()
- func (m *RegisterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterRequest) XXX_Merge(src proto.Message)
- func (m *RegisterRequest) XXX_Size() int
- func (m *RegisterRequest) XXX_Unmarshal(b []byte) error
- type RegisterResponse
- func (*RegisterResponse) Descriptor() ([]byte, []int)
- func (m *RegisterResponse) GetPlayerId() string
- func (m *RegisterResponse) GetToken() string
- func (*RegisterResponse) ProtoMessage()
- func (m *RegisterResponse) Reset()
- func (m *RegisterResponse) String() string
- func (m *RegisterResponse) XXX_DiscardUnknown()
- func (m *RegisterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterResponse) XXX_Merge(src proto.Message)
- func (m *RegisterResponse) XXX_Size() int
- func (m *RegisterResponse) XXX_Unmarshal(b []byte) error
- type SelfTileUpdate
- func (*SelfTileUpdate) Descriptor() ([]byte, []int)
- func (m *SelfTileUpdate) GetAllTiles() *Tiles
- func (m *SelfTileUpdate) GetFromOtherPeel() bool
- func (*SelfTileUpdate) ProtoMessage()
- func (m *SelfTileUpdate) Reset()
- func (m *SelfTileUpdate) String() string
- func (m *SelfTileUpdate) XXX_DiscardUnknown()
- func (m *SelfTileUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SelfTileUpdate) XXX_Merge(src proto.Message)
- func (m *SelfTileUpdate) XXX_Size() int
- func (m *SelfTileUpdate) XXX_Unmarshal(b []byte) error
- type SpectateRequest
- func (*SpectateRequest) Descriptor() ([]byte, []int)
- func (m *SpectateRequest) GetId() string
- func (*SpectateRequest) ProtoMessage()
- func (m *SpectateRequest) Reset()
- func (m *SpectateRequest) String() string
- func (m *SpectateRequest) XXX_DiscardUnknown()
- func (m *SpectateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SpectateRequest) XXX_Merge(src proto.Message)
- func (m *SpectateRequest) XXX_Size() int
- func (m *SpectateRequest) XXX_Unmarshal(b []byte) error
- type SpectateUpdate
- func (*SpectateUpdate) Descriptor() ([]byte, []int)
- func (m *SpectateUpdate) GetBoard() *Board
- func (m *SpectateUpdate) GetDetachedBoard() bool
- func (m *SpectateUpdate) GetInvalidWords() []*CharLocs
- func (m *SpectateUpdate) GetPlayerId() string
- func (m *SpectateUpdate) GetPlayerName() string
- func (*SpectateUpdate) ProtoMessage()
- func (m *SpectateUpdate) Reset()
- func (m *SpectateUpdate) String() string
- func (m *SpectateUpdate) XXX_DiscardUnknown()
- func (m *SpectateUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SpectateUpdate) XXX_Merge(src proto.Message)
- func (m *SpectateUpdate) XXX_Size() int
- func (m *SpectateUpdate) XXX_Unmarshal(b []byte) error
- type StartGameRequest
- func (*StartGameRequest) Descriptor() ([]byte, []int)
- func (m *StartGameRequest) GetId() string
- func (*StartGameRequest) ProtoMessage()
- func (m *StartGameRequest) Reset()
- func (m *StartGameRequest) String() string
- func (m *StartGameRequest) XXX_DiscardUnknown()
- func (m *StartGameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StartGameRequest) XXX_Merge(src proto.Message)
- func (m *StartGameRequest) XXX_Size() int
- func (m *StartGameRequest) XXX_Unmarshal(b []byte) error
- type StartGameResponse
- func (*StartGameResponse) Descriptor() ([]byte, []int)
- func (*StartGameResponse) ProtoMessage()
- func (m *StartGameResponse) Reset()
- func (m *StartGameResponse) String() string
- func (m *StartGameResponse) XXX_DiscardUnknown()
- func (m *StartGameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StartGameResponse) XXX_Merge(src proto.Message)
- func (m *StartGameResponse) XXX_Size() int
- func (m *StartGameResponse) XXX_Unmarshal(b []byte) error
- type StreamLogsRequest
- func (*StreamLogsRequest) Descriptor() ([]byte, []int)
- func (m *StreamLogsRequest) GetGameId() string
- func (m *StreamLogsRequest) GetPlayerId() string
- func (*StreamLogsRequest) ProtoMessage()
- func (m *StreamLogsRequest) Reset()
- func (m *StreamLogsRequest) String() string
- func (m *StreamLogsRequest) XXX_DiscardUnknown()
- func (m *StreamLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StreamLogsRequest) XXX_Merge(src proto.Message)
- func (m *StreamLogsRequest) XXX_Size() int
- func (m *StreamLogsRequest) XXX_Unmarshal(b []byte) error
- type Tiles
- func (*Tiles) Descriptor() ([]byte, []int)
- func (m *Tiles) GetLetters() []string
- func (*Tiles) ProtoMessage()
- func (m *Tiles) Reset()
- func (m *Tiles) String() string
- func (m *Tiles) XXX_DiscardUnknown()
- func (m *Tiles) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Tiles) XXX_Merge(src proto.Message)
- func (m *Tiles) XXX_Size() int
- func (m *Tiles) XXX_Unmarshal(b []byte) error
- type UnimplementedBananaServiceServer
- func (*UnimplementedBananaServiceServer) Dump(ctx context.Context, req *DumpRequest) (*DumpResponse, error)
- func (*UnimplementedBananaServiceServer) JoinGame(req *JoinGameRequest, srv BananaService_JoinGameServer) error
- func (*UnimplementedBananaServiceServer) ListGames(ctx context.Context, req *ListGamesRequest) (*ListGamesResponse, error)
- func (*UnimplementedBananaServiceServer) NewGame(ctx context.Context, req *NewGameRequest) (*NewGameResponse, error)
- func (*UnimplementedBananaServiceServer) Register(ctx context.Context, req *RegisterRequest) (*RegisterResponse, error)
- func (*UnimplementedBananaServiceServer) Spectate(req *SpectateRequest, srv BananaService_SpectateServer) error
- func (*UnimplementedBananaServiceServer) StartGame(ctx context.Context, req *StartGameRequest) (*StartGameResponse, error)
- func (*UnimplementedBananaServiceServer) StreamGames(req *ListGamesRequest, srv BananaService_StreamGamesServer) error
- func (*UnimplementedBananaServiceServer) StreamLogs(req *StreamLogsRequest, srv BananaService_StreamLogsServer) error
- func (*UnimplementedBananaServiceServer) UpdateBoard(ctx context.Context, req *UpdateBoardRequest) (*UpdateBoardResponse, error)
- type UpdateBoardRequest
- func (*UpdateBoardRequest) Descriptor() ([]byte, []int)
- func (m *UpdateBoardRequest) GetBoard() *Board
- func (m *UpdateBoardRequest) GetId() string
- func (m *UpdateBoardRequest) GetLatestWord() *Word
- func (m *UpdateBoardRequest) GetPlayerId() string
- func (*UpdateBoardRequest) ProtoMessage()
- func (m *UpdateBoardRequest) Reset()
- func (m *UpdateBoardRequest) String() string
- func (m *UpdateBoardRequest) XXX_DiscardUnknown()
- func (m *UpdateBoardRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateBoardRequest) XXX_Merge(src proto.Message)
- func (m *UpdateBoardRequest) XXX_Size() int
- func (m *UpdateBoardRequest) XXX_Unmarshal(b []byte) error
- type UpdateBoardResponse
- func (*UpdateBoardResponse) Descriptor() ([]byte, []int)
- func (m *UpdateBoardResponse) GetDetachedBoard() bool
- func (m *UpdateBoardResponse) GetInvalidWords() []*CharLocs
- func (m *UpdateBoardResponse) GetShortWords() []*CharLocs
- func (m *UpdateBoardResponse) GetUnusedLetters() []string
- func (*UpdateBoardResponse) ProtoMessage()
- func (m *UpdateBoardResponse) Reset()
- func (m *UpdateBoardResponse) String() string
- func (m *UpdateBoardResponse) XXX_DiscardUnknown()
- func (m *UpdateBoardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateBoardResponse) XXX_Merge(src proto.Message)
- func (m *UpdateBoardResponse) XXX_Size() int
- func (m *UpdateBoardResponse) XXX_Unmarshal(b []byte) error
- type Word
- func (*Word) Descriptor() ([]byte, []int)
- func (m *Word) GetOrientation() Word_Orientation
- func (m *Word) GetText() string
- func (m *Word) GetX() int32
- func (m *Word) GetY() int32
- func (*Word) ProtoMessage()
- func (m *Word) Reset()
- func (m *Word) String() string
- func (m *Word) XXX_DiscardUnknown()
- func (m *Word) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Word) XXX_Merge(src proto.Message)
- func (m *Word) XXX_Size() int
- func (m *Word) XXX_Unmarshal(b []byte) error
- type Word_Orientation
Constants ¶
This section is empty.
Variables ¶
View Source
var GameStatus_name = map[int32]string{
0: "UNKNOWN",
1: "WAITING_FOR_PLAYERS",
2: "IN_PROGRESS",
3: "FINISHED",
}
View Source
var GameStatus_value = map[string]int32{
"UNKNOWN": 0,
"WAITING_FOR_PLAYERS": 1,
"IN_PROGRESS": 2,
"FINISHED": 3,
}
View Source
var Word_Orientation_name = map[int32]string{
0: "UNKNOWN",
1: "HORIZONTAL",
2: "VERTICAL",
}
View Source
var Word_Orientation_value = map[string]int32{
"UNKNOWN": 0,
"HORIZONTAL": 1,
"VERTICAL": 2,
}
Functions ¶
func RegisterBananaServiceServer ¶
func RegisterBananaServiceServer(s *grpc.Server, srv BananaServiceServer)
Types ¶
type BananaServiceClient ¶
type BananaServiceClient interface { Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error) NewGame(ctx context.Context, in *NewGameRequest, opts ...grpc.CallOption) (*NewGameResponse, error) ListGames(ctx context.Context, in *ListGamesRequest, opts ...grpc.CallOption) (*ListGamesResponse, error) StreamGames(ctx context.Context, in *ListGamesRequest, opts ...grpc.CallOption) (BananaService_StreamGamesClient, error) StartGame(ctx context.Context, in *StartGameRequest, opts ...grpc.CallOption) (*StartGameResponse, error) JoinGame(ctx context.Context, in *JoinGameRequest, opts ...grpc.CallOption) (BananaService_JoinGameClient, error) StreamLogs(ctx context.Context, in *StreamLogsRequest, opts ...grpc.CallOption) (BananaService_StreamLogsClient, error) UpdateBoard(ctx context.Context, in *UpdateBoardRequest, opts ...grpc.CallOption) (*UpdateBoardResponse, error) Dump(ctx context.Context, in *DumpRequest, opts ...grpc.CallOption) (*DumpResponse, error) Spectate(ctx context.Context, in *SpectateRequest, opts ...grpc.CallOption) (BananaService_SpectateClient, error) }
BananaServiceClient is the client API for BananaService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBananaServiceClient ¶
func NewBananaServiceClient(cc *grpc.ClientConn) BananaServiceClient
type BananaServiceServer ¶
type BananaServiceServer interface { Register(context.Context, *RegisterRequest) (*RegisterResponse, error) NewGame(context.Context, *NewGameRequest) (*NewGameResponse, error) ListGames(context.Context, *ListGamesRequest) (*ListGamesResponse, error) StreamGames(*ListGamesRequest, BananaService_StreamGamesServer) error StartGame(context.Context, *StartGameRequest) (*StartGameResponse, error) JoinGame(*JoinGameRequest, BananaService_JoinGameServer) error StreamLogs(*StreamLogsRequest, BananaService_StreamLogsServer) error UpdateBoard(context.Context, *UpdateBoardRequest) (*UpdateBoardResponse, error) Dump(context.Context, *DumpRequest) (*DumpResponse, error) Spectate(*SpectateRequest, BananaService_SpectateServer) error }
BananaServiceServer is the server API for BananaService service.
type BananaService_JoinGameClient ¶
type BananaService_JoinGameClient interface { Recv() (*GameUpdate, error) grpc.ClientStream }
type BananaService_JoinGameServer ¶
type BananaService_JoinGameServer interface { Send(*GameUpdate) error grpc.ServerStream }
type BananaService_SpectateClient ¶
type BananaService_SpectateClient interface { Recv() (*SpectateUpdate, error) grpc.ClientStream }
type BananaService_SpectateServer ¶
type BananaService_SpectateServer interface { Send(*SpectateUpdate) error grpc.ServerStream }
type BananaService_StreamGamesClient ¶
type BananaService_StreamGamesClient interface { Recv() (*GamesList, error) grpc.ClientStream }
type BananaService_StreamGamesServer ¶
type BananaService_StreamGamesServer interface { Send(*GamesList) error grpc.ServerStream }
type BananaService_StreamLogsClient ¶
type BananaService_StreamLogsClient interface { Recv() (*LogEntry, error) grpc.ClientStream }
type BananaService_StreamLogsServer ¶
type BananaService_StreamLogsServer interface { Send(*LogEntry) error grpc.ServerStream }
type Board ¶
type Board struct { Words []*Word `protobuf:"bytes,1,rep,name=words,proto3" json:"words,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Board) Descriptor ¶
func (*Board) ProtoMessage ¶
func (*Board) ProtoMessage()
func (*Board) XXX_DiscardUnknown ¶
func (m *Board) XXX_DiscardUnknown()
func (*Board) XXX_Marshal ¶
func (*Board) XXX_Unmarshal ¶
type CharLoc ¶
type CharLoc struct { Letter string `protobuf:"bytes,1,opt,name=letter,proto3" json:"letter,omitempty"` X int32 `protobuf:"varint,2,opt,name=x,proto3" json:"x,omitempty"` Y int32 `protobuf:"varint,3,opt,name=y,proto3" json:"y,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CharLoc) Descriptor ¶
func (*CharLoc) ProtoMessage ¶
func (*CharLoc) ProtoMessage()
func (*CharLoc) XXX_DiscardUnknown ¶
func (m *CharLoc) XXX_DiscardUnknown()
func (*CharLoc) XXX_Marshal ¶
func (*CharLoc) XXX_Unmarshal ¶
type CharLocs ¶
type CharLocs struct { Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` Locs []*CharLoc `protobuf:"bytes,2,rep,name=locs,proto3" json:"locs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CharLocs) Descriptor ¶
func (*CharLocs) ProtoMessage ¶
func (*CharLocs) ProtoMessage()
func (*CharLocs) XXX_DiscardUnknown ¶
func (m *CharLocs) XXX_DiscardUnknown()
func (*CharLocs) XXX_Marshal ¶
func (*CharLocs) XXX_Unmarshal ¶
type CurrentStatus ¶
type CurrentStatus struct { YourId string `protobuf:"bytes,1,opt,name=your_id,json=yourId,proto3" json:"your_id,omitempty"` Players []*Player `protobuf:"bytes,2,rep,name=players,proto3" json:"players,omitempty"` RemainingTiles int32 `protobuf:"varint,3,opt,name=remaining_tiles,json=remainingTiles,proto3" json:"remaining_tiles,omitempty"` Board *Board `protobuf:"bytes,4,opt,name=board,proto3" json:"board,omitempty"` AllTiles *Tiles `protobuf:"bytes,5,opt,name=all_tiles,json=allTiles,proto3" json:"all_tiles,omitempty"` Status GameStatus `protobuf:"varint,6,opt,name=status,proto3,enum=GameStatus" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CurrentStatus) Descriptor ¶
func (*CurrentStatus) Descriptor() ([]byte, []int)
func (*CurrentStatus) GetAllTiles ¶
func (m *CurrentStatus) GetAllTiles() *Tiles
func (*CurrentStatus) GetBoard ¶
func (m *CurrentStatus) GetBoard() *Board
func (*CurrentStatus) GetPlayers ¶
func (m *CurrentStatus) GetPlayers() []*Player
func (*CurrentStatus) GetRemainingTiles ¶
func (m *CurrentStatus) GetRemainingTiles() int32
func (*CurrentStatus) GetStatus ¶
func (m *CurrentStatus) GetStatus() GameStatus
func (*CurrentStatus) GetYourId ¶
func (m *CurrentStatus) GetYourId() string
func (*CurrentStatus) ProtoMessage ¶
func (*CurrentStatus) ProtoMessage()
func (*CurrentStatus) Reset ¶
func (m *CurrentStatus) Reset()
func (*CurrentStatus) String ¶
func (m *CurrentStatus) String() string
func (*CurrentStatus) XXX_DiscardUnknown ¶
func (m *CurrentStatus) XXX_DiscardUnknown()
func (*CurrentStatus) XXX_Marshal ¶
func (m *CurrentStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CurrentStatus) XXX_Merge ¶
func (m *CurrentStatus) XXX_Merge(src proto.Message)
func (*CurrentStatus) XXX_Size ¶
func (m *CurrentStatus) XXX_Size() int
func (*CurrentStatus) XXX_Unmarshal ¶
func (m *CurrentStatus) XXX_Unmarshal(b []byte) error
type DumpRequest ¶
type DumpRequest struct { // The unique identifier for the game you're dumping in. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The unique identifier for the player dumping. PlayerId string `protobuf:"bytes,2,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"` // The letter that is being dumped. Letter string `protobuf:"bytes,3,opt,name=letter,proto3" json:"letter,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DumpRequest) Descriptor ¶
func (*DumpRequest) Descriptor() ([]byte, []int)
func (*DumpRequest) GetId ¶
func (m *DumpRequest) GetId() string
func (*DumpRequest) GetLetter ¶
func (m *DumpRequest) GetLetter() string
func (*DumpRequest) GetPlayerId ¶
func (m *DumpRequest) GetPlayerId() string
func (*DumpRequest) ProtoMessage ¶
func (*DumpRequest) ProtoMessage()
func (*DumpRequest) Reset ¶
func (m *DumpRequest) Reset()
func (*DumpRequest) String ¶
func (m *DumpRequest) String() string
func (*DumpRequest) XXX_DiscardUnknown ¶
func (m *DumpRequest) XXX_DiscardUnknown()
func (*DumpRequest) XXX_Marshal ¶
func (m *DumpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DumpRequest) XXX_Merge ¶
func (m *DumpRequest) XXX_Merge(src proto.Message)
func (*DumpRequest) XXX_Size ¶
func (m *DumpRequest) XXX_Size() int
func (*DumpRequest) XXX_Unmarshal ¶
func (m *DumpRequest) XXX_Unmarshal(b []byte) error
type DumpResponse ¶
type DumpResponse struct { AllTiles *Tiles `protobuf:"bytes,1,opt,name=all_tiles,json=allTiles,proto3" json:"all_tiles,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DumpResponse) Descriptor ¶
func (*DumpResponse) Descriptor() ([]byte, []int)
func (*DumpResponse) GetAllTiles ¶
func (m *DumpResponse) GetAllTiles() *Tiles
func (*DumpResponse) ProtoMessage ¶
func (*DumpResponse) ProtoMessage()
func (*DumpResponse) Reset ¶
func (m *DumpResponse) Reset()
func (*DumpResponse) String ¶
func (m *DumpResponse) String() string
func (*DumpResponse) XXX_DiscardUnknown ¶
func (m *DumpResponse) XXX_DiscardUnknown()
func (*DumpResponse) XXX_Marshal ¶
func (m *DumpResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DumpResponse) XXX_Merge ¶
func (m *DumpResponse) XXX_Merge(src proto.Message)
func (*DumpResponse) XXX_Size ¶
func (m *DumpResponse) XXX_Size() int
func (*DumpResponse) XXX_Unmarshal ¶
func (m *DumpResponse) XXX_Unmarshal(b []byte) error
type Game ¶
type Game struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Status GameStatus `protobuf:"varint,3,opt,name=status,proto3,enum=GameStatus" json:"status,omitempty"` PlayerCount int32 `protobuf:"varint,4,opt,name=player_count,json=playerCount,proto3" json:"player_count,omitempty"` CreatorId string `protobuf:"bytes,5,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Game) Descriptor ¶
func (*Game) GetCreatorId ¶
func (*Game) GetPlayerCount ¶
func (*Game) GetStatus ¶
func (m *Game) GetStatus() GameStatus
func (*Game) ProtoMessage ¶
func (*Game) ProtoMessage()
func (*Game) XXX_DiscardUnknown ¶
func (m *Game) XXX_DiscardUnknown()
func (*Game) XXX_Unmarshal ¶
type GameEnded ¶
type GameEnded struct { Standings []*Player `protobuf:"bytes,1,rep,name=standings,proto3" json:"standings,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GameEnded) Descriptor ¶
func (*GameEnded) GetStandings ¶
func (*GameEnded) ProtoMessage ¶
func (*GameEnded) ProtoMessage()
func (*GameEnded) XXX_DiscardUnknown ¶
func (m *GameEnded) XXX_DiscardUnknown()
func (*GameEnded) XXX_Marshal ¶
func (*GameEnded) XXX_Unmarshal ¶
type GameStarted ¶
type GameStarted struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GameStarted) Descriptor ¶
func (*GameStarted) Descriptor() ([]byte, []int)
func (*GameStarted) ProtoMessage ¶
func (*GameStarted) ProtoMessage()
func (*GameStarted) Reset ¶
func (m *GameStarted) Reset()
func (*GameStarted) String ¶
func (m *GameStarted) String() string
func (*GameStarted) XXX_DiscardUnknown ¶
func (m *GameStarted) XXX_DiscardUnknown()
func (*GameStarted) XXX_Marshal ¶
func (m *GameStarted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GameStarted) XXX_Merge ¶
func (m *GameStarted) XXX_Merge(src proto.Message)
func (*GameStarted) XXX_Size ¶
func (m *GameStarted) XXX_Size() int
func (*GameStarted) XXX_Unmarshal ¶
func (m *GameStarted) XXX_Unmarshal(b []byte) error
type GameStatus ¶
type GameStatus int32
const ( GameStatus_UNKNOWN GameStatus = 0 GameStatus_WAITING_FOR_PLAYERS GameStatus = 1 GameStatus_IN_PROGRESS GameStatus = 2 GameStatus_FINISHED GameStatus = 3 )
func (GameStatus) EnumDescriptor ¶
func (GameStatus) EnumDescriptor() ([]byte, []int)
func (GameStatus) String ¶
func (x GameStatus) String() string
type GameUpdate ¶
type GameUpdate struct { // Types that are valid to be assigned to Update: // *GameUpdate_CurrentStatus // *GameUpdate_PlayerUpdate // *GameUpdate_GameStarted // *GameUpdate_GameEnded // *GameUpdate_SelfTileUpdate // *GameUpdate_OtherTileUpdate Update isGameUpdate_Update `protobuf_oneof:"update"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GameUpdate) Descriptor ¶
func (*GameUpdate) Descriptor() ([]byte, []int)
func (*GameUpdate) GetCurrentStatus ¶
func (m *GameUpdate) GetCurrentStatus() *CurrentStatus
func (*GameUpdate) GetGameEnded ¶
func (m *GameUpdate) GetGameEnded() *GameEnded
func (*GameUpdate) GetGameStarted ¶
func (m *GameUpdate) GetGameStarted() *GameStarted
func (*GameUpdate) GetOtherTileUpdate ¶
func (m *GameUpdate) GetOtherTileUpdate() *OtherTileUpdates
func (*GameUpdate) GetPlayerUpdate ¶
func (m *GameUpdate) GetPlayerUpdate() *PlayerUpdate
func (*GameUpdate) GetSelfTileUpdate ¶
func (m *GameUpdate) GetSelfTileUpdate() *SelfTileUpdate
func (*GameUpdate) GetUpdate ¶
func (m *GameUpdate) GetUpdate() isGameUpdate_Update
func (*GameUpdate) ProtoMessage ¶
func (*GameUpdate) ProtoMessage()
func (*GameUpdate) Reset ¶
func (m *GameUpdate) Reset()
func (*GameUpdate) String ¶
func (m *GameUpdate) String() string
func (*GameUpdate) XXX_DiscardUnknown ¶
func (m *GameUpdate) XXX_DiscardUnknown()
func (*GameUpdate) XXX_Marshal ¶
func (m *GameUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GameUpdate) XXX_Merge ¶
func (m *GameUpdate) XXX_Merge(src proto.Message)
func (*GameUpdate) XXX_OneofWrappers ¶
func (*GameUpdate) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*GameUpdate) XXX_Size ¶
func (m *GameUpdate) XXX_Size() int
func (*GameUpdate) XXX_Unmarshal ¶
func (m *GameUpdate) XXX_Unmarshal(b []byte) error
type GameUpdate_CurrentStatus ¶
type GameUpdate_CurrentStatus struct {
CurrentStatus *CurrentStatus `protobuf:"bytes,1,opt,name=current_status,json=currentStatus,proto3,oneof"`
}
type GameUpdate_GameEnded ¶
type GameUpdate_GameEnded struct {
GameEnded *GameEnded `protobuf:"bytes,4,opt,name=game_ended,json=gameEnded,proto3,oneof"`
}
type GameUpdate_GameStarted ¶
type GameUpdate_GameStarted struct {
GameStarted *GameStarted `protobuf:"bytes,3,opt,name=game_started,json=gameStarted,proto3,oneof"`
}
type GameUpdate_OtherTileUpdate ¶
type GameUpdate_OtherTileUpdate struct {
OtherTileUpdate *OtherTileUpdates `protobuf:"bytes,6,opt,name=other_tile_update,json=otherTileUpdate,proto3,oneof"`
}
type GameUpdate_PlayerUpdate ¶
type GameUpdate_PlayerUpdate struct {
PlayerUpdate *PlayerUpdate `protobuf:"bytes,2,opt,name=player_update,json=playerUpdate,proto3,oneof"`
}
type GameUpdate_SelfTileUpdate ¶
type GameUpdate_SelfTileUpdate struct {
SelfTileUpdate *SelfTileUpdate `protobuf:"bytes,5,opt,name=self_tile_update,json=selfTileUpdate,proto3,oneof"`
}
type GamesList ¶
type GamesList struct { Games []*Game `protobuf:"bytes,1,rep,name=games,proto3" json:"games,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GamesList) Descriptor ¶
func (*GamesList) ProtoMessage ¶
func (*GamesList) ProtoMessage()
func (*GamesList) XXX_DiscardUnknown ¶
func (m *GamesList) XXX_DiscardUnknown()
func (*GamesList) XXX_Marshal ¶
func (*GamesList) XXX_Unmarshal ¶
type JoinGameRequest ¶
type JoinGameRequest struct { // The unique identifier for the game to join. GameId string `protobuf:"bytes,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"` // The ID of the player joining the game. PlayerId string `protobuf:"bytes,3,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*JoinGameRequest) Descriptor ¶
func (*JoinGameRequest) Descriptor() ([]byte, []int)
func (*JoinGameRequest) GetGameId ¶
func (m *JoinGameRequest) GetGameId() string
func (*JoinGameRequest) GetPlayerId ¶
func (m *JoinGameRequest) GetPlayerId() string
func (*JoinGameRequest) ProtoMessage ¶
func (*JoinGameRequest) ProtoMessage()
func (*JoinGameRequest) Reset ¶
func (m *JoinGameRequest) Reset()
func (*JoinGameRequest) String ¶
func (m *JoinGameRequest) String() string
func (*JoinGameRequest) XXX_DiscardUnknown ¶
func (m *JoinGameRequest) XXX_DiscardUnknown()
func (*JoinGameRequest) XXX_Marshal ¶
func (m *JoinGameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*JoinGameRequest) XXX_Merge ¶
func (m *JoinGameRequest) XXX_Merge(src proto.Message)
func (*JoinGameRequest) XXX_Size ¶
func (m *JoinGameRequest) XXX_Size() int
func (*JoinGameRequest) XXX_Unmarshal ¶
func (m *JoinGameRequest) XXX_Unmarshal(b []byte) error
type ListGamesRequest ¶
type ListGamesRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListGamesRequest) Descriptor ¶
func (*ListGamesRequest) Descriptor() ([]byte, []int)
func (*ListGamesRequest) ProtoMessage ¶
func (*ListGamesRequest) ProtoMessage()
func (*ListGamesRequest) Reset ¶
func (m *ListGamesRequest) Reset()
func (*ListGamesRequest) String ¶
func (m *ListGamesRequest) String() string
func (*ListGamesRequest) XXX_DiscardUnknown ¶
func (m *ListGamesRequest) XXX_DiscardUnknown()
func (*ListGamesRequest) XXX_Marshal ¶
func (m *ListGamesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListGamesRequest) XXX_Merge ¶
func (m *ListGamesRequest) XXX_Merge(src proto.Message)
func (*ListGamesRequest) XXX_Size ¶
func (m *ListGamesRequest) XXX_Size() int
func (*ListGamesRequest) XXX_Unmarshal ¶
func (m *ListGamesRequest) XXX_Unmarshal(b []byte) error
type ListGamesResponse ¶
type ListGamesResponse struct { Games []*Game `protobuf:"bytes,1,rep,name=games,proto3" json:"games,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListGamesResponse) Descriptor ¶
func (*ListGamesResponse) Descriptor() ([]byte, []int)
func (*ListGamesResponse) GetGames ¶
func (m *ListGamesResponse) GetGames() []*Game
func (*ListGamesResponse) ProtoMessage ¶
func (*ListGamesResponse) ProtoMessage()
func (*ListGamesResponse) Reset ¶
func (m *ListGamesResponse) Reset()
func (*ListGamesResponse) String ¶
func (m *ListGamesResponse) String() string
func (*ListGamesResponse) XXX_DiscardUnknown ¶
func (m *ListGamesResponse) XXX_DiscardUnknown()
func (*ListGamesResponse) XXX_Marshal ¶
func (m *ListGamesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListGamesResponse) XXX_Merge ¶
func (m *ListGamesResponse) XXX_Merge(src proto.Message)
func (*ListGamesResponse) XXX_Size ¶
func (m *ListGamesResponse) XXX_Size() int
func (*ListGamesResponse) XXX_Unmarshal ¶
func (m *ListGamesResponse) XXX_Unmarshal(b []byte) error
type LogEntry ¶
type LogEntry struct { // Types that are valid to be assigned to Event: // *LogEntry_PlayerMove // *LogEntry_PlayerDump // *LogEntry_PlayerPeel Event isLogEntry_Event `protobuf_oneof:"event"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LogEntry) Descriptor ¶
func (*LogEntry) GetPlayerDump ¶
func (m *LogEntry) GetPlayerDump() *PlayerDump
func (*LogEntry) GetPlayerMove ¶
func (m *LogEntry) GetPlayerMove() *PlayerMove
func (*LogEntry) GetPlayerPeel ¶
func (m *LogEntry) GetPlayerPeel() *PlayerPeel
func (*LogEntry) ProtoMessage ¶
func (*LogEntry) ProtoMessage()
func (*LogEntry) XXX_DiscardUnknown ¶
func (m *LogEntry) XXX_DiscardUnknown()
func (*LogEntry) XXX_Marshal ¶
func (*LogEntry) XXX_OneofWrappers ¶
func (*LogEntry) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*LogEntry) XXX_Unmarshal ¶
type LogEntry_PlayerDump ¶
type LogEntry_PlayerDump struct {
PlayerDump *PlayerDump `protobuf:"bytes,2,opt,name=player_dump,json=playerDump,proto3,oneof"`
}
type LogEntry_PlayerMove ¶
type LogEntry_PlayerMove struct {
PlayerMove *PlayerMove `protobuf:"bytes,1,opt,name=player_move,json=playerMove,proto3,oneof"`
}
type LogEntry_PlayerPeel ¶
type LogEntry_PlayerPeel struct {
PlayerPeel *PlayerPeel `protobuf:"bytes,3,opt,name=player_peel,json=playerPeel,proto3,oneof"`
}
type NewGameRequest ¶
type NewGameRequest struct { // What to name the game. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The minimum number of letters that a word needs to have to be considered // valid. MinLettersInWord int32 `protobuf:"varint,2,opt,name=min_letters_in_word,json=minLettersInWord,proto3" json:"min_letters_in_word,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NewGameRequest) Descriptor ¶
func (*NewGameRequest) Descriptor() ([]byte, []int)
func (*NewGameRequest) GetMinLettersInWord ¶
func (m *NewGameRequest) GetMinLettersInWord() int32
func (*NewGameRequest) GetName ¶
func (m *NewGameRequest) GetName() string
func (*NewGameRequest) ProtoMessage ¶
func (*NewGameRequest) ProtoMessage()
func (*NewGameRequest) Reset ¶
func (m *NewGameRequest) Reset()
func (*NewGameRequest) String ¶
func (m *NewGameRequest) String() string
func (*NewGameRequest) XXX_DiscardUnknown ¶
func (m *NewGameRequest) XXX_DiscardUnknown()
func (*NewGameRequest) XXX_Marshal ¶
func (m *NewGameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NewGameRequest) XXX_Merge ¶
func (m *NewGameRequest) XXX_Merge(src proto.Message)
func (*NewGameRequest) XXX_Size ¶
func (m *NewGameRequest) XXX_Size() int
func (*NewGameRequest) XXX_Unmarshal ¶
func (m *NewGameRequest) XXX_Unmarshal(b []byte) error
type NewGameResponse ¶
type NewGameResponse struct { // The unique identifier for the game. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NewGameResponse) Descriptor ¶
func (*NewGameResponse) Descriptor() ([]byte, []int)
func (*NewGameResponse) GetId ¶
func (m *NewGameResponse) GetId() string
func (*NewGameResponse) ProtoMessage ¶
func (*NewGameResponse) ProtoMessage()
func (*NewGameResponse) Reset ¶
func (m *NewGameResponse) Reset()
func (*NewGameResponse) String ¶
func (m *NewGameResponse) String() string
func (*NewGameResponse) XXX_DiscardUnknown ¶
func (m *NewGameResponse) XXX_DiscardUnknown()
func (*NewGameResponse) XXX_Marshal ¶
func (m *NewGameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NewGameResponse) XXX_Merge ¶
func (m *NewGameResponse) XXX_Merge(src proto.Message)
func (*NewGameResponse) XXX_Size ¶
func (m *NewGameResponse) XXX_Size() int
func (*NewGameResponse) XXX_Unmarshal ¶
func (m *NewGameResponse) XXX_Unmarshal(b []byte) error
type OtherTileUpdate ¶
type OtherTileUpdate struct { PlayerId string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"` TilesInHand int32 `protobuf:"varint,2,opt,name=tiles_in_hand,json=tilesInHand,proto3" json:"tiles_in_hand,omitempty"` TilesInBoard int32 `protobuf:"varint,3,opt,name=tiles_in_board,json=tilesInBoard,proto3" json:"tiles_in_board,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OtherTileUpdate) Descriptor ¶
func (*OtherTileUpdate) Descriptor() ([]byte, []int)
func (*OtherTileUpdate) GetPlayerId ¶
func (m *OtherTileUpdate) GetPlayerId() string
func (*OtherTileUpdate) GetTilesInBoard ¶
func (m *OtherTileUpdate) GetTilesInBoard() int32
func (*OtherTileUpdate) GetTilesInHand ¶
func (m *OtherTileUpdate) GetTilesInHand() int32
func (*OtherTileUpdate) ProtoMessage ¶
func (*OtherTileUpdate) ProtoMessage()
func (*OtherTileUpdate) Reset ¶
func (m *OtherTileUpdate) Reset()
func (*OtherTileUpdate) String ¶
func (m *OtherTileUpdate) String() string
func (*OtherTileUpdate) XXX_DiscardUnknown ¶
func (m *OtherTileUpdate) XXX_DiscardUnknown()
func (*OtherTileUpdate) XXX_Marshal ¶
func (m *OtherTileUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OtherTileUpdate) XXX_Merge ¶
func (m *OtherTileUpdate) XXX_Merge(src proto.Message)
func (*OtherTileUpdate) XXX_Size ¶
func (m *OtherTileUpdate) XXX_Size() int
func (*OtherTileUpdate) XXX_Unmarshal ¶
func (m *OtherTileUpdate) XXX_Unmarshal(b []byte) error
type OtherTileUpdates ¶
type OtherTileUpdates struct { Updates []*OtherTileUpdate `protobuf:"bytes,1,rep,name=updates,proto3" json:"updates,omitempty"` RemainingTiles int32 `protobuf:"varint,2,opt,name=remaining_tiles,json=remainingTiles,proto3" json:"remaining_tiles,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OtherTileUpdates) Descriptor ¶
func (*OtherTileUpdates) Descriptor() ([]byte, []int)
func (*OtherTileUpdates) GetRemainingTiles ¶
func (m *OtherTileUpdates) GetRemainingTiles() int32
func (*OtherTileUpdates) GetUpdates ¶
func (m *OtherTileUpdates) GetUpdates() []*OtherTileUpdate
func (*OtherTileUpdates) ProtoMessage ¶
func (*OtherTileUpdates) ProtoMessage()
func (*OtherTileUpdates) Reset ¶
func (m *OtherTileUpdates) Reset()
func (*OtherTileUpdates) String ¶
func (m *OtherTileUpdates) String() string
func (*OtherTileUpdates) XXX_DiscardUnknown ¶
func (m *OtherTileUpdates) XXX_DiscardUnknown()
func (*OtherTileUpdates) XXX_Marshal ¶
func (m *OtherTileUpdates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OtherTileUpdates) XXX_Merge ¶
func (m *OtherTileUpdates) XXX_Merge(src proto.Message)
func (*OtherTileUpdates) XXX_Size ¶
func (m *OtherTileUpdates) XXX_Size() int
func (*OtherTileUpdates) XXX_Unmarshal ¶
func (m *OtherTileUpdates) XXX_Unmarshal(b []byte) error
type Player ¶
type Player struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` TilesInHand int32 `protobuf:"varint,3,opt,name=tiles_in_hand,json=tilesInHand,proto3" json:"tiles_in_hand,omitempty"` TilesInBoard int32 `protobuf:"varint,4,opt,name=tiles_in_board,json=tilesInBoard,proto3" json:"tiles_in_board,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Player) Descriptor ¶
func (*Player) GetTilesInBoard ¶
func (*Player) GetTilesInHand ¶
func (*Player) ProtoMessage ¶
func (*Player) ProtoMessage()
func (*Player) XXX_DiscardUnknown ¶
func (m *Player) XXX_DiscardUnknown()
func (*Player) XXX_Marshal ¶
func (*Player) XXX_Unmarshal ¶
type PlayerDump ¶
type PlayerDump struct { PlayerId string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"` PlayerName string `protobuf:"bytes,2,opt,name=player_name,json=playerName,proto3" json:"player_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PlayerDump) Descriptor ¶
func (*PlayerDump) Descriptor() ([]byte, []int)
func (*PlayerDump) GetPlayerId ¶
func (m *PlayerDump) GetPlayerId() string
func (*PlayerDump) GetPlayerName ¶
func (m *PlayerDump) GetPlayerName() string
func (*PlayerDump) ProtoMessage ¶
func (*PlayerDump) ProtoMessage()
func (*PlayerDump) Reset ¶
func (m *PlayerDump) Reset()
func (*PlayerDump) String ¶
func (m *PlayerDump) String() string
func (*PlayerDump) XXX_DiscardUnknown ¶
func (m *PlayerDump) XXX_DiscardUnknown()
func (*PlayerDump) XXX_Marshal ¶
func (m *PlayerDump) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlayerDump) XXX_Merge ¶
func (m *PlayerDump) XXX_Merge(src proto.Message)
func (*PlayerDump) XXX_Size ¶
func (m *PlayerDump) XXX_Size() int
func (*PlayerDump) XXX_Unmarshal ¶
func (m *PlayerDump) XXX_Unmarshal(b []byte) error
type PlayerMove ¶
type PlayerMove struct { PlayerId string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"` PlayerName string `protobuf:"bytes,2,opt,name=player_name,json=playerName,proto3" json:"player_name,omitempty"` Word string `protobuf:"bytes,3,opt,name=word,proto3" json:"word,omitempty"` WordValid bool `protobuf:"varint,4,opt,name=word_valid,json=wordValid,proto3" json:"word_valid,omitempty"` BoardConnected bool `protobuf:"varint,5,opt,name=board_connected,json=boardConnected,proto3" json:"board_connected,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PlayerMove) Descriptor ¶
func (*PlayerMove) Descriptor() ([]byte, []int)
func (*PlayerMove) GetBoardConnected ¶
func (m *PlayerMove) GetBoardConnected() bool
func (*PlayerMove) GetPlayerId ¶
func (m *PlayerMove) GetPlayerId() string
func (*PlayerMove) GetPlayerName ¶
func (m *PlayerMove) GetPlayerName() string
func (*PlayerMove) GetWord ¶
func (m *PlayerMove) GetWord() string
func (*PlayerMove) GetWordValid ¶
func (m *PlayerMove) GetWordValid() bool
func (*PlayerMove) ProtoMessage ¶
func (*PlayerMove) ProtoMessage()
func (*PlayerMove) Reset ¶
func (m *PlayerMove) Reset()
func (*PlayerMove) String ¶
func (m *PlayerMove) String() string
func (*PlayerMove) XXX_DiscardUnknown ¶
func (m *PlayerMove) XXX_DiscardUnknown()
func (*PlayerMove) XXX_Marshal ¶
func (m *PlayerMove) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlayerMove) XXX_Merge ¶
func (m *PlayerMove) XXX_Merge(src proto.Message)
func (*PlayerMove) XXX_Size ¶
func (m *PlayerMove) XXX_Size() int
func (*PlayerMove) XXX_Unmarshal ¶
func (m *PlayerMove) XXX_Unmarshal(b []byte) error
type PlayerPeel ¶
type PlayerPeel struct { PlayerId string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"` PlayerName string `protobuf:"bytes,2,opt,name=player_name,json=playerName,proto3" json:"player_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PlayerPeel) Descriptor ¶
func (*PlayerPeel) Descriptor() ([]byte, []int)
func (*PlayerPeel) GetPlayerId ¶
func (m *PlayerPeel) GetPlayerId() string
func (*PlayerPeel) GetPlayerName ¶
func (m *PlayerPeel) GetPlayerName() string
func (*PlayerPeel) ProtoMessage ¶
func (*PlayerPeel) ProtoMessage()
func (*PlayerPeel) Reset ¶
func (m *PlayerPeel) Reset()
func (*PlayerPeel) String ¶
func (m *PlayerPeel) String() string
func (*PlayerPeel) XXX_DiscardUnknown ¶
func (m *PlayerPeel) XXX_DiscardUnknown()
func (*PlayerPeel) XXX_Marshal ¶
func (m *PlayerPeel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlayerPeel) XXX_Merge ¶
func (m *PlayerPeel) XXX_Merge(src proto.Message)
func (*PlayerPeel) XXX_Size ¶
func (m *PlayerPeel) XXX_Size() int
func (*PlayerPeel) XXX_Unmarshal ¶
func (m *PlayerPeel) XXX_Unmarshal(b []byte) error
type PlayerUpdate ¶
type PlayerUpdate struct { Player *Player `protobuf:"bytes,1,opt,name=player,proto3" json:"player,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PlayerUpdate) Descriptor ¶
func (*PlayerUpdate) Descriptor() ([]byte, []int)
func (*PlayerUpdate) GetPlayer ¶
func (m *PlayerUpdate) GetPlayer() *Player
func (*PlayerUpdate) ProtoMessage ¶
func (*PlayerUpdate) ProtoMessage()
func (*PlayerUpdate) Reset ¶
func (m *PlayerUpdate) Reset()
func (*PlayerUpdate) String ¶
func (m *PlayerUpdate) String() string
func (*PlayerUpdate) XXX_DiscardUnknown ¶
func (m *PlayerUpdate) XXX_DiscardUnknown()
func (*PlayerUpdate) XXX_Marshal ¶
func (m *PlayerUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlayerUpdate) XXX_Merge ¶
func (m *PlayerUpdate) XXX_Merge(src proto.Message)
func (*PlayerUpdate) XXX_Size ¶
func (m *PlayerUpdate) XXX_Size() int
func (*PlayerUpdate) XXX_Unmarshal ¶
func (m *PlayerUpdate) XXX_Unmarshal(b []byte) error
type RegisterRequest ¶
type RegisterRequest struct { // What the users name should be. Must be unique within the system, because // why not? 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 (*RegisterRequest) Descriptor ¶
func (*RegisterRequest) Descriptor() ([]byte, []int)
func (*RegisterRequest) GetName ¶
func (m *RegisterRequest) GetName() string
func (*RegisterRequest) ProtoMessage ¶
func (*RegisterRequest) ProtoMessage()
func (*RegisterRequest) Reset ¶
func (m *RegisterRequest) Reset()
func (*RegisterRequest) String ¶
func (m *RegisterRequest) String() string
func (*RegisterRequest) XXX_DiscardUnknown ¶
func (m *RegisterRequest) XXX_DiscardUnknown()
func (*RegisterRequest) XXX_Marshal ¶
func (m *RegisterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterRequest) XXX_Merge ¶
func (m *RegisterRequest) XXX_Merge(src proto.Message)
func (*RegisterRequest) XXX_Size ¶
func (m *RegisterRequest) XXX_Size() int
func (*RegisterRequest) XXX_Unmarshal ¶
func (m *RegisterRequest) XXX_Unmarshal(b []byte) error
type RegisterResponse ¶
type RegisterResponse struct { PlayerId string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RegisterResponse) Descriptor ¶
func (*RegisterResponse) Descriptor() ([]byte, []int)
func (*RegisterResponse) GetPlayerId ¶
func (m *RegisterResponse) GetPlayerId() string
func (*RegisterResponse) GetToken ¶
func (m *RegisterResponse) GetToken() string
func (*RegisterResponse) ProtoMessage ¶
func (*RegisterResponse) ProtoMessage()
func (*RegisterResponse) Reset ¶
func (m *RegisterResponse) Reset()
func (*RegisterResponse) String ¶
func (m *RegisterResponse) String() string
func (*RegisterResponse) XXX_DiscardUnknown ¶
func (m *RegisterResponse) XXX_DiscardUnknown()
func (*RegisterResponse) XXX_Marshal ¶
func (m *RegisterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterResponse) XXX_Merge ¶
func (m *RegisterResponse) XXX_Merge(src proto.Message)
func (*RegisterResponse) XXX_Size ¶
func (m *RegisterResponse) XXX_Size() int
func (*RegisterResponse) XXX_Unmarshal ¶
func (m *RegisterResponse) XXX_Unmarshal(b []byte) error
type SelfTileUpdate ¶
type SelfTileUpdate struct { AllTiles *Tiles `protobuf:"bytes,1,opt,name=all_tiles,json=allTiles,proto3" json:"all_tiles,omitempty"` FromOtherPeel bool `protobuf:"varint,2,opt,name=from_other_peel,json=fromOtherPeel,proto3" json:"from_other_peel,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SelfTileUpdate) Descriptor ¶
func (*SelfTileUpdate) Descriptor() ([]byte, []int)
func (*SelfTileUpdate) GetAllTiles ¶
func (m *SelfTileUpdate) GetAllTiles() *Tiles
func (*SelfTileUpdate) GetFromOtherPeel ¶
func (m *SelfTileUpdate) GetFromOtherPeel() bool
func (*SelfTileUpdate) ProtoMessage ¶
func (*SelfTileUpdate) ProtoMessage()
func (*SelfTileUpdate) Reset ¶
func (m *SelfTileUpdate) Reset()
func (*SelfTileUpdate) String ¶
func (m *SelfTileUpdate) String() string
func (*SelfTileUpdate) XXX_DiscardUnknown ¶
func (m *SelfTileUpdate) XXX_DiscardUnknown()
func (*SelfTileUpdate) XXX_Marshal ¶
func (m *SelfTileUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SelfTileUpdate) XXX_Merge ¶
func (m *SelfTileUpdate) XXX_Merge(src proto.Message)
func (*SelfTileUpdate) XXX_Size ¶
func (m *SelfTileUpdate) XXX_Size() int
func (*SelfTileUpdate) XXX_Unmarshal ¶
func (m *SelfTileUpdate) XXX_Unmarshal(b []byte) error
type SpectateRequest ¶
type SpectateRequest struct { // The unique identifier for the game to spectate. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SpectateRequest) Descriptor ¶
func (*SpectateRequest) Descriptor() ([]byte, []int)
func (*SpectateRequest) GetId ¶
func (m *SpectateRequest) GetId() string
func (*SpectateRequest) ProtoMessage ¶
func (*SpectateRequest) ProtoMessage()
func (*SpectateRequest) Reset ¶
func (m *SpectateRequest) Reset()
func (*SpectateRequest) String ¶
func (m *SpectateRequest) String() string
func (*SpectateRequest) XXX_DiscardUnknown ¶
func (m *SpectateRequest) XXX_DiscardUnknown()
func (*SpectateRequest) XXX_Marshal ¶
func (m *SpectateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SpectateRequest) XXX_Merge ¶
func (m *SpectateRequest) XXX_Merge(src proto.Message)
func (*SpectateRequest) XXX_Size ¶
func (m *SpectateRequest) XXX_Size() int
func (*SpectateRequest) XXX_Unmarshal ¶
func (m *SpectateRequest) XXX_Unmarshal(b []byte) error
type SpectateUpdate ¶
type SpectateUpdate struct { PlayerId string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"` PlayerName string `protobuf:"bytes,2,opt,name=player_name,json=playerName,proto3" json:"player_name,omitempty"` Board *Board `protobuf:"bytes,3,opt,name=board,proto3" json:"board,omitempty"` InvalidWords []*CharLocs `protobuf:"bytes,4,rep,name=invalid_words,json=invalidWords,proto3" json:"invalid_words,omitempty"` DetachedBoard bool `protobuf:"varint,5,opt,name=detached_board,json=detachedBoard,proto3" json:"detached_board,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SpectateUpdate) Descriptor ¶
func (*SpectateUpdate) Descriptor() ([]byte, []int)
func (*SpectateUpdate) GetBoard ¶
func (m *SpectateUpdate) GetBoard() *Board
func (*SpectateUpdate) GetDetachedBoard ¶
func (m *SpectateUpdate) GetDetachedBoard() bool
func (*SpectateUpdate) GetInvalidWords ¶
func (m *SpectateUpdate) GetInvalidWords() []*CharLocs
func (*SpectateUpdate) GetPlayerId ¶
func (m *SpectateUpdate) GetPlayerId() string
func (*SpectateUpdate) GetPlayerName ¶
func (m *SpectateUpdate) GetPlayerName() string
func (*SpectateUpdate) ProtoMessage ¶
func (*SpectateUpdate) ProtoMessage()
func (*SpectateUpdate) Reset ¶
func (m *SpectateUpdate) Reset()
func (*SpectateUpdate) String ¶
func (m *SpectateUpdate) String() string
func (*SpectateUpdate) XXX_DiscardUnknown ¶
func (m *SpectateUpdate) XXX_DiscardUnknown()
func (*SpectateUpdate) XXX_Marshal ¶
func (m *SpectateUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SpectateUpdate) XXX_Merge ¶
func (m *SpectateUpdate) XXX_Merge(src proto.Message)
func (*SpectateUpdate) XXX_Size ¶
func (m *SpectateUpdate) XXX_Size() int
func (*SpectateUpdate) XXX_Unmarshal ¶
func (m *SpectateUpdate) XXX_Unmarshal(b []byte) error
type StartGameRequest ¶
type StartGameRequest struct { // The unique identifier for the game to start. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StartGameRequest) Descriptor ¶
func (*StartGameRequest) Descriptor() ([]byte, []int)
func (*StartGameRequest) GetId ¶
func (m *StartGameRequest) GetId() string
func (*StartGameRequest) ProtoMessage ¶
func (*StartGameRequest) ProtoMessage()
func (*StartGameRequest) Reset ¶
func (m *StartGameRequest) Reset()
func (*StartGameRequest) String ¶
func (m *StartGameRequest) String() string
func (*StartGameRequest) XXX_DiscardUnknown ¶
func (m *StartGameRequest) XXX_DiscardUnknown()
func (*StartGameRequest) XXX_Marshal ¶
func (m *StartGameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StartGameRequest) XXX_Merge ¶
func (m *StartGameRequest) XXX_Merge(src proto.Message)
func (*StartGameRequest) XXX_Size ¶
func (m *StartGameRequest) XXX_Size() int
func (*StartGameRequest) XXX_Unmarshal ¶
func (m *StartGameRequest) XXX_Unmarshal(b []byte) error
type StartGameResponse ¶
type StartGameResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StartGameResponse) Descriptor ¶
func (*StartGameResponse) Descriptor() ([]byte, []int)
func (*StartGameResponse) ProtoMessage ¶
func (*StartGameResponse) ProtoMessage()
func (*StartGameResponse) Reset ¶
func (m *StartGameResponse) Reset()
func (*StartGameResponse) String ¶
func (m *StartGameResponse) String() string
func (*StartGameResponse) XXX_DiscardUnknown ¶
func (m *StartGameResponse) XXX_DiscardUnknown()
func (*StartGameResponse) XXX_Marshal ¶
func (m *StartGameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StartGameResponse) XXX_Merge ¶
func (m *StartGameResponse) XXX_Merge(src proto.Message)
func (*StartGameResponse) XXX_Size ¶
func (m *StartGameResponse) XXX_Size() int
func (*StartGameResponse) XXX_Unmarshal ¶
func (m *StartGameResponse) XXX_Unmarshal(b []byte) error
type StreamLogsRequest ¶
type StreamLogsRequest struct { GameId string `protobuf:"bytes,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"` PlayerId string `protobuf:"bytes,2,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StreamLogsRequest) Descriptor ¶
func (*StreamLogsRequest) Descriptor() ([]byte, []int)
func (*StreamLogsRequest) GetGameId ¶
func (m *StreamLogsRequest) GetGameId() string
func (*StreamLogsRequest) GetPlayerId ¶
func (m *StreamLogsRequest) GetPlayerId() string
func (*StreamLogsRequest) ProtoMessage ¶
func (*StreamLogsRequest) ProtoMessage()
func (*StreamLogsRequest) Reset ¶
func (m *StreamLogsRequest) Reset()
func (*StreamLogsRequest) String ¶
func (m *StreamLogsRequest) String() string
func (*StreamLogsRequest) XXX_DiscardUnknown ¶
func (m *StreamLogsRequest) XXX_DiscardUnknown()
func (*StreamLogsRequest) XXX_Marshal ¶
func (m *StreamLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StreamLogsRequest) XXX_Merge ¶
func (m *StreamLogsRequest) XXX_Merge(src proto.Message)
func (*StreamLogsRequest) XXX_Size ¶
func (m *StreamLogsRequest) XXX_Size() int
func (*StreamLogsRequest) XXX_Unmarshal ¶
func (m *StreamLogsRequest) XXX_Unmarshal(b []byte) error
type Tiles ¶
type Tiles struct { // Tiles are just lists of letters Letters []string `protobuf:"bytes,1,rep,name=letters,proto3" json:"letters,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Tiles) Descriptor ¶
func (*Tiles) GetLetters ¶
func (*Tiles) ProtoMessage ¶
func (*Tiles) ProtoMessage()
func (*Tiles) XXX_DiscardUnknown ¶
func (m *Tiles) XXX_DiscardUnknown()
func (*Tiles) XXX_Marshal ¶
func (*Tiles) XXX_Unmarshal ¶
type UnimplementedBananaServiceServer ¶
type UnimplementedBananaServiceServer struct { }
UnimplementedBananaServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedBananaServiceServer) Dump ¶
func (*UnimplementedBananaServiceServer) Dump(ctx context.Context, req *DumpRequest) (*DumpResponse, error)
func (*UnimplementedBananaServiceServer) JoinGame ¶
func (*UnimplementedBananaServiceServer) JoinGame(req *JoinGameRequest, srv BananaService_JoinGameServer) error
func (*UnimplementedBananaServiceServer) ListGames ¶
func (*UnimplementedBananaServiceServer) ListGames(ctx context.Context, req *ListGamesRequest) (*ListGamesResponse, error)
func (*UnimplementedBananaServiceServer) NewGame ¶
func (*UnimplementedBananaServiceServer) NewGame(ctx context.Context, req *NewGameRequest) (*NewGameResponse, error)
func (*UnimplementedBananaServiceServer) Register ¶
func (*UnimplementedBananaServiceServer) Register(ctx context.Context, req *RegisterRequest) (*RegisterResponse, error)
func (*UnimplementedBananaServiceServer) Spectate ¶
func (*UnimplementedBananaServiceServer) Spectate(req *SpectateRequest, srv BananaService_SpectateServer) error
func (*UnimplementedBananaServiceServer) StartGame ¶
func (*UnimplementedBananaServiceServer) StartGame(ctx context.Context, req *StartGameRequest) (*StartGameResponse, error)
func (*UnimplementedBananaServiceServer) StreamGames ¶
func (*UnimplementedBananaServiceServer) StreamGames(req *ListGamesRequest, srv BananaService_StreamGamesServer) error
func (*UnimplementedBananaServiceServer) StreamLogs ¶
func (*UnimplementedBananaServiceServer) StreamLogs(req *StreamLogsRequest, srv BananaService_StreamLogsServer) error
func (*UnimplementedBananaServiceServer) UpdateBoard ¶
func (*UnimplementedBananaServiceServer) UpdateBoard(ctx context.Context, req *UpdateBoardRequest) (*UpdateBoardResponse, error)
type UpdateBoardRequest ¶
type UpdateBoardRequest struct { // The unique identifier for the game you're placing in. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The unique identifier for the player peeling. PlayerId string `protobuf:"bytes,2,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"` Board *Board `protobuf:"bytes,3,opt,name=board,proto3" json:"board,omitempty"` // An optional word to include, to be shared with other players. LatestWord *Word `protobuf:"bytes,4,opt,name=latest_word,json=latestWord,proto3" json:"latest_word,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateBoardRequest) Descriptor ¶
func (*UpdateBoardRequest) Descriptor() ([]byte, []int)
func (*UpdateBoardRequest) GetBoard ¶
func (m *UpdateBoardRequest) GetBoard() *Board
func (*UpdateBoardRequest) GetId ¶
func (m *UpdateBoardRequest) GetId() string
func (*UpdateBoardRequest) GetLatestWord ¶
func (m *UpdateBoardRequest) GetLatestWord() *Word
func (*UpdateBoardRequest) GetPlayerId ¶
func (m *UpdateBoardRequest) GetPlayerId() string
func (*UpdateBoardRequest) ProtoMessage ¶
func (*UpdateBoardRequest) ProtoMessage()
func (*UpdateBoardRequest) Reset ¶
func (m *UpdateBoardRequest) Reset()
func (*UpdateBoardRequest) String ¶
func (m *UpdateBoardRequest) String() string
func (*UpdateBoardRequest) XXX_DiscardUnknown ¶
func (m *UpdateBoardRequest) XXX_DiscardUnknown()
func (*UpdateBoardRequest) XXX_Marshal ¶
func (m *UpdateBoardRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateBoardRequest) XXX_Merge ¶
func (m *UpdateBoardRequest) XXX_Merge(src proto.Message)
func (*UpdateBoardRequest) XXX_Size ¶
func (m *UpdateBoardRequest) XXX_Size() int
func (*UpdateBoardRequest) XXX_Unmarshal ¶
func (m *UpdateBoardRequest) XXX_Unmarshal(b []byte) error
type UpdateBoardResponse ¶
type UpdateBoardResponse struct { InvalidWords []*CharLocs `protobuf:"bytes,1,rep,name=invalid_words,json=invalidWords,proto3" json:"invalid_words,omitempty"` ShortWords []*CharLocs `protobuf:"bytes,2,rep,name=short_words,json=shortWords,proto3" json:"short_words,omitempty"` UnusedLetters []string `protobuf:"bytes,3,rep,name=unused_letters,json=unusedLetters,proto3" json:"unused_letters,omitempty"` DetachedBoard bool `protobuf:"varint,4,opt,name=detached_board,json=detachedBoard,proto3" json:"detached_board,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateBoardResponse) Descriptor ¶
func (*UpdateBoardResponse) Descriptor() ([]byte, []int)
func (*UpdateBoardResponse) GetDetachedBoard ¶
func (m *UpdateBoardResponse) GetDetachedBoard() bool
func (*UpdateBoardResponse) GetInvalidWords ¶
func (m *UpdateBoardResponse) GetInvalidWords() []*CharLocs
func (*UpdateBoardResponse) GetShortWords ¶
func (m *UpdateBoardResponse) GetShortWords() []*CharLocs
func (*UpdateBoardResponse) GetUnusedLetters ¶
func (m *UpdateBoardResponse) GetUnusedLetters() []string
func (*UpdateBoardResponse) ProtoMessage ¶
func (*UpdateBoardResponse) ProtoMessage()
func (*UpdateBoardResponse) Reset ¶
func (m *UpdateBoardResponse) Reset()
func (*UpdateBoardResponse) String ¶
func (m *UpdateBoardResponse) String() string
func (*UpdateBoardResponse) XXX_DiscardUnknown ¶
func (m *UpdateBoardResponse) XXX_DiscardUnknown()
func (*UpdateBoardResponse) XXX_Marshal ¶
func (m *UpdateBoardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateBoardResponse) XXX_Merge ¶
func (m *UpdateBoardResponse) XXX_Merge(src proto.Message)
func (*UpdateBoardResponse) XXX_Size ¶
func (m *UpdateBoardResponse) XXX_Size() int
func (*UpdateBoardResponse) XXX_Unmarshal ¶
func (m *UpdateBoardResponse) XXX_Unmarshal(b []byte) error
type Word ¶
type Word struct { Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` Orientation Word_Orientation `protobuf:"varint,2,opt,name=orientation,proto3,enum=Word_Orientation" json:"orientation,omitempty"` // The x-position of the top-left letter on the board. X int32 `protobuf:"varint,3,opt,name=x,proto3" json:"x,omitempty"` // The y-position of the top-left letter on the board. Y int32 `protobuf:"varint,4,opt,name=y,proto3" json:"y,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Word) Descriptor ¶
func (*Word) GetOrientation ¶
func (m *Word) GetOrientation() Word_Orientation
func (*Word) ProtoMessage ¶
func (*Word) ProtoMessage()
func (*Word) XXX_DiscardUnknown ¶
func (m *Word) XXX_DiscardUnknown()
func (*Word) XXX_Unmarshal ¶
type Word_Orientation ¶
type Word_Orientation int32
const ( Word_UNKNOWN Word_Orientation = 0 Word_HORIZONTAL Word_Orientation = 1 Word_VERTICAL Word_Orientation = 2 )
func (Word_Orientation) EnumDescriptor ¶
func (Word_Orientation) EnumDescriptor() ([]byte, []int)
func (Word_Orientation) String ¶
func (x Word_Orientation) String() string
Click to show internal directories.
Click to hide internal directories.