Documentation
¶
Index ¶
- Variables
- type GCGRequest
- type GCGResponse
- type GameDocumentRequest
- func (*GameDocumentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GameDocumentRequest) GetGameId() string
- func (*GameDocumentRequest) ProtoMessage()
- func (x *GameDocumentRequest) ProtoReflect() protoreflect.Message
- func (x *GameDocumentRequest) Reset()
- func (x *GameDocumentRequest) String() string
- type GameDocumentResponse
- func (*GameDocumentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GameDocumentResponse) GetDocument() *ipc.GameDocument
- func (*GameDocumentResponse) ProtoMessage()
- func (x *GameDocumentResponse) ProtoReflect() protoreflect.Message
- func (x *GameDocumentResponse) Reset()
- func (x *GameDocumentResponse) String() string
- type GameHistoryRequest
- func (*GameHistoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GameHistoryRequest) GetGameId() string
- func (*GameHistoryRequest) ProtoMessage()
- func (x *GameHistoryRequest) ProtoReflect() protoreflect.Message
- func (x *GameHistoryRequest) Reset()
- func (x *GameHistoryRequest) String() string
- type GameHistoryResponse
- func (*GameHistoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GameHistoryResponse) GetHistory() *macondo.GameHistory
- func (*GameHistoryResponse) ProtoMessage()
- func (x *GameHistoryResponse) ProtoReflect() protoreflect.Message
- func (x *GameHistoryResponse) Reset()
- func (x *GameHistoryResponse) String() string
- type GameInfoRequest
- type RecentGamesRequest
- func (*RecentGamesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RecentGamesRequest) GetNumGames() int32
- func (x *RecentGamesRequest) GetOffset() int32
- func (x *RecentGamesRequest) GetUsername() string
- func (*RecentGamesRequest) ProtoMessage()
- func (x *RecentGamesRequest) ProtoReflect() protoreflect.Message
- func (x *RecentGamesRequest) Reset()
- func (x *RecentGamesRequest) String() string
- type RematchStreakRequest
- func (*RematchStreakRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RematchStreakRequest) GetOriginalRequestId() string
- func (*RematchStreakRequest) ProtoMessage()
- func (x *RematchStreakRequest) ProtoReflect() protoreflect.Message
- func (x *RematchStreakRequest) Reset()
- func (x *RematchStreakRequest) String() string
- type StreakInfoResponse
- func (*StreakInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreakInfoResponse) GetPlayersInfo() []*StreakInfoResponse_PlayerInfo
- func (x *StreakInfoResponse) GetStreak() []*StreakInfoResponse_SingleGameInfo
- func (*StreakInfoResponse) ProtoMessage()
- func (x *StreakInfoResponse) ProtoReflect() protoreflect.Message
- func (x *StreakInfoResponse) Reset()
- func (x *StreakInfoResponse) String() string
- type StreakInfoResponse_PlayerInfo
- func (*StreakInfoResponse_PlayerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *StreakInfoResponse_PlayerInfo) GetNickname() string
- func (x *StreakInfoResponse_PlayerInfo) GetUuid() string
- func (*StreakInfoResponse_PlayerInfo) ProtoMessage()
- func (x *StreakInfoResponse_PlayerInfo) ProtoReflect() protoreflect.Message
- func (x *StreakInfoResponse_PlayerInfo) Reset()
- func (x *StreakInfoResponse_PlayerInfo) String() string
- type StreakInfoResponse_SingleGameInfo
- func (*StreakInfoResponse_SingleGameInfo) Descriptor() ([]byte, []int)deprecated
- func (x *StreakInfoResponse_SingleGameInfo) GetGameId() string
- func (x *StreakInfoResponse_SingleGameInfo) GetWinner() int32
- func (*StreakInfoResponse_SingleGameInfo) ProtoMessage()
- func (x *StreakInfoResponse_SingleGameInfo) ProtoReflect() protoreflect.Message
- func (x *StreakInfoResponse_SingleGameInfo) Reset()
- func (x *StreakInfoResponse_SingleGameInfo) String() string
Constants ¶
This section is empty.
Variables ¶
var File_proto_game_service_game_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type GCGRequest ¶
type GCGRequest struct {
GameId string `protobuf:"bytes,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
// contains filtered or unexported fields
}
func (*GCGRequest) Descriptor
deprecated
func (*GCGRequest) Descriptor() ([]byte, []int)
Deprecated: Use GCGRequest.ProtoReflect.Descriptor instead.
func (*GCGRequest) GetGameId ¶
func (x *GCGRequest) GetGameId() string
func (*GCGRequest) ProtoMessage ¶
func (*GCGRequest) ProtoMessage()
func (*GCGRequest) ProtoReflect ¶
func (x *GCGRequest) ProtoReflect() protoreflect.Message
func (*GCGRequest) Reset ¶
func (x *GCGRequest) Reset()
func (*GCGRequest) String ¶
func (x *GCGRequest) String() string
type GCGResponse ¶
type GCGResponse struct {
Gcg string `protobuf:"bytes,1,opt,name=gcg,proto3" json:"gcg,omitempty"`
// contains filtered or unexported fields
}
func (*GCGResponse) Descriptor
deprecated
func (*GCGResponse) Descriptor() ([]byte, []int)
Deprecated: Use GCGResponse.ProtoReflect.Descriptor instead.
func (*GCGResponse) GetGcg ¶
func (x *GCGResponse) GetGcg() string
func (*GCGResponse) ProtoMessage ¶
func (*GCGResponse) ProtoMessage()
func (*GCGResponse) ProtoReflect ¶
func (x *GCGResponse) ProtoReflect() protoreflect.Message
func (*GCGResponse) Reset ¶
func (x *GCGResponse) Reset()
func (*GCGResponse) String ¶
func (x *GCGResponse) String() string
type GameDocumentRequest ¶
type GameDocumentRequest struct {
GameId string `protobuf:"bytes,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
// contains filtered or unexported fields
}
func (*GameDocumentRequest) Descriptor
deprecated
func (*GameDocumentRequest) Descriptor() ([]byte, []int)
Deprecated: Use GameDocumentRequest.ProtoReflect.Descriptor instead.
func (*GameDocumentRequest) GetGameId ¶
func (x *GameDocumentRequest) GetGameId() string
func (*GameDocumentRequest) ProtoMessage ¶
func (*GameDocumentRequest) ProtoMessage()
func (*GameDocumentRequest) ProtoReflect ¶
func (x *GameDocumentRequest) ProtoReflect() protoreflect.Message
func (*GameDocumentRequest) Reset ¶
func (x *GameDocumentRequest) Reset()
func (*GameDocumentRequest) String ¶
func (x *GameDocumentRequest) String() string
type GameDocumentResponse ¶
type GameDocumentResponse struct {
Document *ipc.GameDocument `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"`
// contains filtered or unexported fields
}
func (*GameDocumentResponse) Descriptor
deprecated
func (*GameDocumentResponse) Descriptor() ([]byte, []int)
Deprecated: Use GameDocumentResponse.ProtoReflect.Descriptor instead.
func (*GameDocumentResponse) GetDocument ¶
func (x *GameDocumentResponse) GetDocument() *ipc.GameDocument
func (*GameDocumentResponse) ProtoMessage ¶
func (*GameDocumentResponse) ProtoMessage()
func (*GameDocumentResponse) ProtoReflect ¶
func (x *GameDocumentResponse) ProtoReflect() protoreflect.Message
func (*GameDocumentResponse) Reset ¶
func (x *GameDocumentResponse) Reset()
func (*GameDocumentResponse) String ¶
func (x *GameDocumentResponse) String() string
type GameHistoryRequest ¶
type GameHistoryRequest struct {
GameId string `protobuf:"bytes,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
// contains filtered or unexported fields
}
func (*GameHistoryRequest) Descriptor
deprecated
func (*GameHistoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GameHistoryRequest.ProtoReflect.Descriptor instead.
func (*GameHistoryRequest) GetGameId ¶
func (x *GameHistoryRequest) GetGameId() string
func (*GameHistoryRequest) ProtoMessage ¶
func (*GameHistoryRequest) ProtoMessage()
func (*GameHistoryRequest) ProtoReflect ¶
func (x *GameHistoryRequest) ProtoReflect() protoreflect.Message
func (*GameHistoryRequest) Reset ¶
func (x *GameHistoryRequest) Reset()
func (*GameHistoryRequest) String ¶
func (x *GameHistoryRequest) String() string
type GameHistoryResponse ¶
type GameHistoryResponse struct {
History *macondo.GameHistory `protobuf:"bytes,1,opt,name=history,proto3" json:"history,omitempty"`
// contains filtered or unexported fields
}
func (*GameHistoryResponse) Descriptor
deprecated
func (*GameHistoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use GameHistoryResponse.ProtoReflect.Descriptor instead.
func (*GameHistoryResponse) GetHistory ¶
func (x *GameHistoryResponse) GetHistory() *macondo.GameHistory
func (*GameHistoryResponse) ProtoMessage ¶
func (*GameHistoryResponse) ProtoMessage()
func (*GameHistoryResponse) ProtoReflect ¶
func (x *GameHistoryResponse) ProtoReflect() protoreflect.Message
func (*GameHistoryResponse) Reset ¶
func (x *GameHistoryResponse) Reset()
func (*GameHistoryResponse) String ¶
func (x *GameHistoryResponse) String() string
type GameInfoRequest ¶
type GameInfoRequest struct {
GameId string `protobuf:"bytes,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
// contains filtered or unexported fields
}
Meta information about a game, including its players.
func (*GameInfoRequest) Descriptor
deprecated
func (*GameInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GameInfoRequest.ProtoReflect.Descriptor instead.
func (*GameInfoRequest) GetGameId ¶
func (x *GameInfoRequest) GetGameId() string
func (*GameInfoRequest) ProtoMessage ¶
func (*GameInfoRequest) ProtoMessage()
func (*GameInfoRequest) ProtoReflect ¶
func (x *GameInfoRequest) ProtoReflect() protoreflect.Message
func (*GameInfoRequest) Reset ¶
func (x *GameInfoRequest) Reset()
func (*GameInfoRequest) String ¶
func (x *GameInfoRequest) String() string
type RecentGamesRequest ¶
type RecentGamesRequest struct {
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
NumGames int32 `protobuf:"varint,2,opt,name=num_games,json=numGames,proto3" json:"num_games,omitempty"`
Offset int32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
// contains filtered or unexported fields
}
func (*RecentGamesRequest) Descriptor
deprecated
func (*RecentGamesRequest) Descriptor() ([]byte, []int)
Deprecated: Use RecentGamesRequest.ProtoReflect.Descriptor instead.
func (*RecentGamesRequest) GetNumGames ¶
func (x *RecentGamesRequest) GetNumGames() int32
func (*RecentGamesRequest) GetOffset ¶
func (x *RecentGamesRequest) GetOffset() int32
func (*RecentGamesRequest) GetUsername ¶
func (x *RecentGamesRequest) GetUsername() string
func (*RecentGamesRequest) ProtoMessage ¶
func (*RecentGamesRequest) ProtoMessage()
func (*RecentGamesRequest) ProtoReflect ¶
func (x *RecentGamesRequest) ProtoReflect() protoreflect.Message
func (*RecentGamesRequest) Reset ¶
func (x *RecentGamesRequest) Reset()
func (*RecentGamesRequest) String ¶
func (x *RecentGamesRequest) String() string
type RematchStreakRequest ¶
type RematchStreakRequest struct {
OriginalRequestId string `protobuf:"bytes,1,opt,name=original_request_id,json=originalRequestId,proto3" json:"original_request_id,omitempty"`
// contains filtered or unexported fields
}
func (*RematchStreakRequest) Descriptor
deprecated
func (*RematchStreakRequest) Descriptor() ([]byte, []int)
Deprecated: Use RematchStreakRequest.ProtoReflect.Descriptor instead.
func (*RematchStreakRequest) GetOriginalRequestId ¶
func (x *RematchStreakRequest) GetOriginalRequestId() string
func (*RematchStreakRequest) ProtoMessage ¶
func (*RematchStreakRequest) ProtoMessage()
func (*RematchStreakRequest) ProtoReflect ¶
func (x *RematchStreakRequest) ProtoReflect() protoreflect.Message
func (*RematchStreakRequest) Reset ¶
func (x *RematchStreakRequest) Reset()
func (*RematchStreakRequest) String ¶
func (x *RematchStreakRequest) String() string
type StreakInfoResponse ¶
type StreakInfoResponse struct {
Streak []*StreakInfoResponse_SingleGameInfo `protobuf:"bytes,1,rep,name=streak,proto3" json:"streak,omitempty"`
PlayersInfo []*StreakInfoResponse_PlayerInfo `protobuf:"bytes,3,rep,name=playersInfo,proto3" json:"playersInfo,omitempty"` // XXX make this snake_case
// contains filtered or unexported fields
}
func (*StreakInfoResponse) Descriptor
deprecated
func (*StreakInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreakInfoResponse.ProtoReflect.Descriptor instead.
func (*StreakInfoResponse) GetPlayersInfo ¶
func (x *StreakInfoResponse) GetPlayersInfo() []*StreakInfoResponse_PlayerInfo
func (*StreakInfoResponse) GetStreak ¶
func (x *StreakInfoResponse) GetStreak() []*StreakInfoResponse_SingleGameInfo
func (*StreakInfoResponse) ProtoMessage ¶
func (*StreakInfoResponse) ProtoMessage()
func (*StreakInfoResponse) ProtoReflect ¶
func (x *StreakInfoResponse) ProtoReflect() protoreflect.Message
func (*StreakInfoResponse) Reset ¶
func (x *StreakInfoResponse) Reset()
func (*StreakInfoResponse) String ¶
func (x *StreakInfoResponse) String() string
type StreakInfoResponse_PlayerInfo ¶
type StreakInfoResponse_PlayerInfo struct {
Nickname string `protobuf:"bytes,1,opt,name=nickname,proto3" json:"nickname,omitempty"`
Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` // player uuid needed for censoring
// contains filtered or unexported fields
}
func (*StreakInfoResponse_PlayerInfo) Descriptor
deprecated
func (*StreakInfoResponse_PlayerInfo) Descriptor() ([]byte, []int)
Deprecated: Use StreakInfoResponse_PlayerInfo.ProtoReflect.Descriptor instead.
func (*StreakInfoResponse_PlayerInfo) GetNickname ¶
func (x *StreakInfoResponse_PlayerInfo) GetNickname() string
func (*StreakInfoResponse_PlayerInfo) GetUuid ¶
func (x *StreakInfoResponse_PlayerInfo) GetUuid() string
func (*StreakInfoResponse_PlayerInfo) ProtoMessage ¶
func (*StreakInfoResponse_PlayerInfo) ProtoMessage()
func (*StreakInfoResponse_PlayerInfo) ProtoReflect ¶
func (x *StreakInfoResponse_PlayerInfo) ProtoReflect() protoreflect.Message
func (*StreakInfoResponse_PlayerInfo) Reset ¶
func (x *StreakInfoResponse_PlayerInfo) Reset()
func (*StreakInfoResponse_PlayerInfo) String ¶
func (x *StreakInfoResponse_PlayerInfo) String() string
type StreakInfoResponse_SingleGameInfo ¶
type StreakInfoResponse_SingleGameInfo struct {
GameId string `protobuf:"bytes,1,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty"`
Winner int32 `protobuf:"varint,3,opt,name=winner,proto3" json:"winner,omitempty"` // the index in `players` or -1 if no winner (tie)
// contains filtered or unexported fields
}
func (*StreakInfoResponse_SingleGameInfo) Descriptor
deprecated
func (*StreakInfoResponse_SingleGameInfo) Descriptor() ([]byte, []int)
Deprecated: Use StreakInfoResponse_SingleGameInfo.ProtoReflect.Descriptor instead.
func (*StreakInfoResponse_SingleGameInfo) GetGameId ¶
func (x *StreakInfoResponse_SingleGameInfo) GetGameId() string
func (*StreakInfoResponse_SingleGameInfo) GetWinner ¶
func (x *StreakInfoResponse_SingleGameInfo) GetWinner() int32
func (*StreakInfoResponse_SingleGameInfo) ProtoMessage ¶
func (*StreakInfoResponse_SingleGameInfo) ProtoMessage()
func (*StreakInfoResponse_SingleGameInfo) ProtoReflect ¶
func (x *StreakInfoResponse_SingleGameInfo) ProtoReflect() protoreflect.Message
func (*StreakInfoResponse_SingleGameInfo) Reset ¶
func (x *StreakInfoResponse_SingleGameInfo) Reset()
func (*StreakInfoResponse_SingleGameInfo) String ¶
func (x *StreakInfoResponse_SingleGameInfo) String() string