Documentation ¶
Index ¶
- Variables
- type Arena
- func (*Arena) Descriptor() ([]byte, []int)
- func (m *Arena) GetId() uint32
- func (m *Arena) GetName() string
- func (m *Arena) Marshal() (dAtA []byte, err error)
- func (m *Arena) MarshalTo(dAtA []byte) (int, error)
- func (m *Arena) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Arena) ProtoMessage()
- func (m *Arena) Reset()
- func (m *Arena) Size() (n int)
- func (m *Arena) String() string
- func (m *Arena) Unmarshal(dAtA []byte) error
- func (m *Arena) XXX_DiscardUnknown()
- func (m *Arena) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Arena) XXX_Merge(src proto.Message)
- func (m *Arena) XXX_Size() int
- func (m *Arena) XXX_Unmarshal(b []byte) error
- type Competition
- func (*Competition) Descriptor() ([]byte, []int)
- func (m *Competition) GetId() uint64
- func (m *Competition) GetName() string
- func (m *Competition) Marshal() (dAtA []byte, err error)
- func (m *Competition) MarshalTo(dAtA []byte) (int, error)
- func (m *Competition) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Competition) ProtoMessage()
- func (m *Competition) Reset()
- func (m *Competition) Size() (n int)
- func (m *Competition) String() string
- func (m *Competition) Unmarshal(dAtA []byte) error
- func (m *Competition) XXX_DiscardUnknown()
- func (m *Competition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Competition) XXX_Merge(src proto.Message)
- func (m *Competition) XXX_Size() int
- func (m *Competition) XXX_Unmarshal(b []byte) error
- type CompetitionTeam
- func (*CompetitionTeam) Descriptor() ([]byte, []int)
- func (m *CompetitionTeam) GetCompetitionId() uint64
- func (m *CompetitionTeam) GetId() uint64
- func (m *CompetitionTeam) GetPlace() int64
- func (m *CompetitionTeam) GetScore() int64
- func (m *CompetitionTeam) GetTeamId() uint64
- func (m *CompetitionTeam) Marshal() (dAtA []byte, err error)
- func (m *CompetitionTeam) MarshalTo(dAtA []byte) (int, error)
- func (m *CompetitionTeam) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CompetitionTeam) ProtoMessage()
- func (m *CompetitionTeam) Reset()
- func (m *CompetitionTeam) Size() (n int)
- func (m *CompetitionTeam) String() string
- func (m *CompetitionTeam) Unmarshal(dAtA []byte) error
- func (m *CompetitionTeam) XXX_DiscardUnknown()
- func (m *CompetitionTeam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CompetitionTeam) XXX_Merge(src proto.Message)
- func (m *CompetitionTeam) XXX_Size() int
- func (m *CompetitionTeam) XXX_Unmarshal(b []byte) error
- type Game
- func (*Game) Descriptor() ([]byte, []int)
- func (m *Game) GetArenaId() uint32
- func (m *Game) GetBracket() string
- func (m *Game) GetId() uint64
- func (m *Game) GetRoundId() uint64
- func (m *Game) GetStatus() Status
- func (m *Game) Marshal() (dAtA []byte, err error)
- func (m *Game) MarshalTo(dAtA []byte) (int, error)
- func (m *Game) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Game) ProtoMessage()
- func (m *Game) Reset()
- func (m *Game) Size() (n int)
- func (m *Game) String() string
- func (m *Game) Unmarshal(dAtA []byte) error
- 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 GameTeam
- func (*GameTeam) Descriptor() ([]byte, []int)
- func (m *GameTeam) GetGameId() uint64
- func (m *GameTeam) GetId() uint64
- func (m *GameTeam) GetPlace() int64
- func (m *GameTeam) GetScore() int64
- func (m *GameTeam) GetTeamId() uint64
- func (m *GameTeam) Marshal() (dAtA []byte, err error)
- func (m *GameTeam) MarshalTo(dAtA []byte) (int, error)
- func (m *GameTeam) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GameTeam) ProtoMessage()
- func (m *GameTeam) Reset()
- func (m *GameTeam) Size() (n int)
- func (m *GameTeam) String() string
- func (m *GameTeam) Unmarshal(dAtA []byte) error
- func (m *GameTeam) XXX_DiscardUnknown()
- func (m *GameTeam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GameTeam) XXX_Merge(src proto.Message)
- func (m *GameTeam) XXX_Size() int
- func (m *GameTeam) XXX_Unmarshal(b []byte) error
- type Player
- func (*Player) Descriptor() ([]byte, []int)
- func (m *Player) GetId() uint64
- func (m *Player) GetMetadata() []byte
- func (m *Player) GetName() string
- func (m *Player) GetScore() uint64
- func (m *Player) Marshal() (dAtA []byte, err error)
- func (m *Player) MarshalTo(dAtA []byte) (int, error)
- func (m *Player) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Player) ProtoMessage()
- func (m *Player) Reset()
- func (m *Player) Size() (n int)
- func (m *Player) String() string
- func (m *Player) Unmarshal(dAtA []byte) error
- 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 PlayerTeam
- func (*PlayerTeam) Descriptor() ([]byte, []int)
- func (m *PlayerTeam) GetId() uint64
- func (m *PlayerTeam) GetPlayerId() uint64
- func (m *PlayerTeam) GetTeamId() uint64
- func (m *PlayerTeam) Marshal() (dAtA []byte, err error)
- func (m *PlayerTeam) MarshalTo(dAtA []byte) (int, error)
- func (m *PlayerTeam) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PlayerTeam) ProtoMessage()
- func (m *PlayerTeam) Reset()
- func (m *PlayerTeam) Size() (n int)
- func (m *PlayerTeam) String() string
- func (m *PlayerTeam) Unmarshal(dAtA []byte) error
- func (m *PlayerTeam) XXX_DiscardUnknown()
- func (m *PlayerTeam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PlayerTeam) XXX_Merge(src proto.Message)
- func (m *PlayerTeam) XXX_Size() int
- func (m *PlayerTeam) XXX_Unmarshal(b []byte) error
- type Round
- func (*Round) Descriptor() ([]byte, []int)
- func (m *Round) GetId() uint64
- func (m *Round) GetStatus() Status
- func (m *Round) GetTournamentId() uint64
- func (m *Round) Marshal() (dAtA []byte, err error)
- func (m *Round) MarshalTo(dAtA []byte) (int, error)
- func (m *Round) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Round) ProtoMessage()
- func (m *Round) Reset()
- func (m *Round) Size() (n int)
- func (m *Round) String() string
- func (m *Round) Unmarshal(dAtA []byte) error
- func (m *Round) XXX_DiscardUnknown()
- func (m *Round) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Round) XXX_Merge(src proto.Message)
- func (m *Round) XXX_Size() int
- func (m *Round) XXX_Unmarshal(b []byte) error
- type Status
- type Team
- func (*Team) Descriptor() ([]byte, []int)
- func (m *Team) GetId() uint64
- func (m *Team) GetMetadata() []byte
- func (m *Team) GetName() string
- func (m *Team) GetTournamentId() uint64
- func (m *Team) Marshal() (dAtA []byte, err error)
- func (m *Team) MarshalTo(dAtA []byte) (int, error)
- func (m *Team) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Team) ProtoMessage()
- func (m *Team) Reset()
- func (m *Team) Size() (n int)
- func (m *Team) String() string
- func (m *Team) Unmarshal(dAtA []byte) error
- func (m *Team) XXX_DiscardUnknown()
- func (m *Team) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Team) XXX_Merge(src proto.Message)
- func (m *Team) XXX_Size() int
- func (m *Team) XXX_Unmarshal(b []byte) error
- type Tournament
- func (*Tournament) Descriptor() ([]byte, []int)
- func (m *Tournament) GetAdvancing() uint32
- func (m *Tournament) GetBracketOrder() []string
- func (m *Tournament) GetCompetitionId() uint64
- func (m *Tournament) GetGameSize() uint32
- func (m *Tournament) GetId() uint64
- func (m *Tournament) GetMetadata() []byte
- func (m *Tournament) GetName() string
- func (m *Tournament) GetScored() bool
- func (m *Tournament) GetSeeded() bool
- func (m *Tournament) GetStatus() Status
- func (m *Tournament) GetType() TournamentType
- func (m *Tournament) Marshal() (dAtA []byte, err error)
- func (m *Tournament) MarshalTo(dAtA []byte) (int, error)
- func (m *Tournament) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Tournament) ProtoMessage()
- func (m *Tournament) Reset()
- func (m *Tournament) Size() (n int)
- func (m *Tournament) String() string
- func (m *Tournament) Unmarshal(dAtA []byte) error
- func (m *Tournament) XXX_DiscardUnknown()
- func (m *Tournament) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Tournament) XXX_Merge(src proto.Message)
- func (m *Tournament) XXX_Size() int
- func (m *Tournament) XXX_Unmarshal(b []byte) error
- type TournamentTeam
- func (*TournamentTeam) Descriptor() ([]byte, []int)
- func (m *TournamentTeam) GetId() uint64
- func (m *TournamentTeam) GetTeamId() uint64
- func (m *TournamentTeam) GetTournamentId() uint64
- func (m *TournamentTeam) Marshal() (dAtA []byte, err error)
- func (m *TournamentTeam) MarshalTo(dAtA []byte) (int, error)
- func (m *TournamentTeam) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TournamentTeam) ProtoMessage()
- func (m *TournamentTeam) Reset()
- func (m *TournamentTeam) Size() (n int)
- func (m *TournamentTeam) String() string
- func (m *TournamentTeam) Unmarshal(dAtA []byte) error
- func (m *TournamentTeam) XXX_DiscardUnknown()
- func (m *TournamentTeam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TournamentTeam) XXX_Merge(src proto.Message)
- func (m *TournamentTeam) XXX_Size() int
- func (m *TournamentTeam) XXX_Unmarshal(b []byte) error
- type TournamentType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthModels = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowModels = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupModels = fmt.Errorf("proto: unexpected end of group") )
View Source
var Status_name = map[int32]string{
0: "NEW",
1: "ONGOING",
2: "COMPLETED",
}
View Source
var Status_value = map[string]int32{
"NEW": 0,
"ONGOING": 1,
"COMPLETED": 2,
}
View Source
var TournamentType_name = map[int32]string{
0: "SINGLE_ELIMINATION",
1: "DOUBLE_ELIMINATION",
2: "ROUND_ROBIN",
3: "COMPASS_DRAW",
4: "SWISS_FORMAT",
5: "GROUP_PLAY",
}
View Source
var TournamentType_value = map[string]int32{
"SINGLE_ELIMINATION": 0,
"DOUBLE_ELIMINATION": 1,
"ROUND_ROBIN": 2,
"COMPASS_DRAW": 3,
"SWISS_FORMAT": 4,
"GROUP_PLAY": 5,
}
Functions ¶
This section is empty.
Types ¶
type Arena ¶
type Arena struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" storm:"id,increment"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Arena) Descriptor ¶
func (*Arena) ProtoMessage ¶
func (*Arena) ProtoMessage()
func (*Arena) XXX_DiscardUnknown ¶
func (m *Arena) XXX_DiscardUnknown()
func (*Arena) XXX_Marshal ¶
func (*Arena) XXX_Unmarshal ¶
type Competition ¶
type Competition struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" storm:"id,increment"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Competition) Descriptor ¶
func (*Competition) Descriptor() ([]byte, []int)
func (*Competition) GetId ¶
func (m *Competition) GetId() uint64
func (*Competition) GetName ¶
func (m *Competition) GetName() string
func (*Competition) Marshal ¶
func (m *Competition) Marshal() (dAtA []byte, err error)
func (*Competition) MarshalToSizedBuffer ¶
func (m *Competition) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Competition) ProtoMessage ¶
func (*Competition) ProtoMessage()
func (*Competition) Reset ¶
func (m *Competition) Reset()
func (*Competition) Size ¶
func (m *Competition) Size() (n int)
func (*Competition) String ¶
func (m *Competition) String() string
func (*Competition) Unmarshal ¶
func (m *Competition) Unmarshal(dAtA []byte) error
func (*Competition) XXX_DiscardUnknown ¶
func (m *Competition) XXX_DiscardUnknown()
func (*Competition) XXX_Marshal ¶
func (m *Competition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Competition) XXX_Merge ¶
func (m *Competition) XXX_Merge(src proto.Message)
func (*Competition) XXX_Size ¶
func (m *Competition) XXX_Size() int
func (*Competition) XXX_Unmarshal ¶
func (m *Competition) XXX_Unmarshal(b []byte) error
type CompetitionTeam ¶
type CompetitionTeam struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" storm:"id,increment"` CompetitionId uint64 `protobuf:"varint,2,opt,name=competitionId,proto3" json:"competitionId,omitempty"` TeamId uint64 `protobuf:"varint,3,opt,name=teamId,proto3" json:"teamId,omitempty"` Score int64 `protobuf:"varint,4,opt,name=score,proto3" json:"score,omitempty"` Place int64 `protobuf:"varint,5,opt,name=place,proto3" json:"place,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CompetitionTeam) Descriptor ¶
func (*CompetitionTeam) Descriptor() ([]byte, []int)
func (*CompetitionTeam) GetCompetitionId ¶
func (m *CompetitionTeam) GetCompetitionId() uint64
func (*CompetitionTeam) GetId ¶
func (m *CompetitionTeam) GetId() uint64
func (*CompetitionTeam) GetPlace ¶
func (m *CompetitionTeam) GetPlace() int64
func (*CompetitionTeam) GetScore ¶
func (m *CompetitionTeam) GetScore() int64
func (*CompetitionTeam) GetTeamId ¶
func (m *CompetitionTeam) GetTeamId() uint64
func (*CompetitionTeam) Marshal ¶
func (m *CompetitionTeam) Marshal() (dAtA []byte, err error)
func (*CompetitionTeam) MarshalToSizedBuffer ¶
func (m *CompetitionTeam) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CompetitionTeam) ProtoMessage ¶
func (*CompetitionTeam) ProtoMessage()
func (*CompetitionTeam) Reset ¶
func (m *CompetitionTeam) Reset()
func (*CompetitionTeam) Size ¶
func (m *CompetitionTeam) Size() (n int)
func (*CompetitionTeam) String ¶
func (m *CompetitionTeam) String() string
func (*CompetitionTeam) Unmarshal ¶
func (m *CompetitionTeam) Unmarshal(dAtA []byte) error
func (*CompetitionTeam) XXX_DiscardUnknown ¶
func (m *CompetitionTeam) XXX_DiscardUnknown()
func (*CompetitionTeam) XXX_Marshal ¶
func (m *CompetitionTeam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CompetitionTeam) XXX_Merge ¶
func (m *CompetitionTeam) XXX_Merge(src proto.Message)
func (*CompetitionTeam) XXX_Size ¶
func (m *CompetitionTeam) XXX_Size() int
func (*CompetitionTeam) XXX_Unmarshal ¶
func (m *CompetitionTeam) XXX_Unmarshal(b []byte) error
type Game ¶
type Game struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" storm:"id,increment"` ArenaId uint32 `protobuf:"varint,2,opt,name=arenaId,proto3" json:"arenaId,omitempty"` RoundId uint64 `protobuf:"varint,3,opt,name=roundId,proto3" json:"roundId,omitempty"` Status Status `` /* 132-byte string literal not displayed */ Bracket string `protobuf:"bytes,5,opt,name=bracket,proto3" json:"bracket,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Game) Descriptor ¶
func (*Game) GetArenaId ¶
func (*Game) GetBracket ¶
func (*Game) GetRoundId ¶
func (*Game) ProtoMessage ¶
func (*Game) ProtoMessage()
func (*Game) XXX_DiscardUnknown ¶
func (m *Game) XXX_DiscardUnknown()
func (*Game) XXX_Unmarshal ¶
type GameTeam ¶
type GameTeam struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" storm:"id,increment"` GameId uint64 `protobuf:"varint,2,opt,name=gameId,proto3" json:"gameId,omitempty"` TeamId uint64 `protobuf:"varint,3,opt,name=teamId,proto3" json:"teamId,omitempty"` Score int64 `protobuf:"varint,4,opt,name=score,proto3" json:"score,omitempty"` Place int64 `protobuf:"varint,5,opt,name=place,proto3" json:"place,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GameTeam) Descriptor ¶
func (*GameTeam) MarshalToSizedBuffer ¶
func (*GameTeam) ProtoMessage ¶
func (*GameTeam) ProtoMessage()
func (*GameTeam) XXX_DiscardUnknown ¶
func (m *GameTeam) XXX_DiscardUnknown()
func (*GameTeam) XXX_Marshal ¶
func (*GameTeam) XXX_Unmarshal ¶
type Player ¶
type Player struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" storm:"id,increment"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" storm:"unique"` Score uint64 `protobuf:"varint,3,opt,name=score,proto3" json:"score,omitempty"` Metadata []byte `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Player) Descriptor ¶
func (*Player) GetMetadata ¶
func (*Player) MarshalToSizedBuffer ¶
func (*Player) ProtoMessage ¶
func (*Player) ProtoMessage()
func (*Player) XXX_DiscardUnknown ¶
func (m *Player) XXX_DiscardUnknown()
func (*Player) XXX_Marshal ¶
func (*Player) XXX_Unmarshal ¶
type PlayerTeam ¶
type PlayerTeam struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" storm:"id,increment"` PlayerId uint64 `protobuf:"varint,2,opt,name=playerId,proto3" json:"playerId,omitempty"` TeamId uint64 `protobuf:"varint,3,opt,name=teamId,proto3" json:"teamId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PlayerTeam) Descriptor ¶
func (*PlayerTeam) Descriptor() ([]byte, []int)
func (*PlayerTeam) GetId ¶
func (m *PlayerTeam) GetId() uint64
func (*PlayerTeam) GetPlayerId ¶
func (m *PlayerTeam) GetPlayerId() uint64
func (*PlayerTeam) GetTeamId ¶
func (m *PlayerTeam) GetTeamId() uint64
func (*PlayerTeam) Marshal ¶
func (m *PlayerTeam) Marshal() (dAtA []byte, err error)
func (*PlayerTeam) MarshalToSizedBuffer ¶
func (m *PlayerTeam) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PlayerTeam) ProtoMessage ¶
func (*PlayerTeam) ProtoMessage()
func (*PlayerTeam) Reset ¶
func (m *PlayerTeam) Reset()
func (*PlayerTeam) Size ¶
func (m *PlayerTeam) Size() (n int)
func (*PlayerTeam) String ¶
func (m *PlayerTeam) String() string
func (*PlayerTeam) Unmarshal ¶
func (m *PlayerTeam) Unmarshal(dAtA []byte) error
func (*PlayerTeam) XXX_DiscardUnknown ¶
func (m *PlayerTeam) XXX_DiscardUnknown()
func (*PlayerTeam) XXX_Marshal ¶
func (m *PlayerTeam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PlayerTeam) XXX_Merge ¶
func (m *PlayerTeam) XXX_Merge(src proto.Message)
func (*PlayerTeam) XXX_Size ¶
func (m *PlayerTeam) XXX_Size() int
func (*PlayerTeam) XXX_Unmarshal ¶
func (m *PlayerTeam) XXX_Unmarshal(b []byte) error
type Round ¶
type Round struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" storm:"id,increment"` Status Status `` /* 132-byte string literal not displayed */ TournamentId uint64 `protobuf:"varint,3,opt,name=tournamentId,proto3" json:"tournamentId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Round) Descriptor ¶
func (*Round) GetTournamentId ¶
func (*Round) ProtoMessage ¶
func (*Round) ProtoMessage()
func (*Round) XXX_DiscardUnknown ¶
func (m *Round) XXX_DiscardUnknown()
func (*Round) XXX_Marshal ¶
func (*Round) XXX_Unmarshal ¶
type Team ¶
type Team struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" storm:"id,increment"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` TournamentId uint64 `protobuf:"varint,3,opt,name=tournamentId,proto3" json:"tournamentId,omitempty"` Metadata []byte `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Team) Descriptor ¶
func (*Team) GetMetadata ¶
func (*Team) GetTournamentId ¶
func (*Team) ProtoMessage ¶
func (*Team) ProtoMessage()
func (*Team) XXX_DiscardUnknown ¶
func (m *Team) XXX_DiscardUnknown()
func (*Team) XXX_Unmarshal ¶
type Tournament ¶
type Tournament struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" storm:"id,increment"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Type TournamentType `` /* 136-byte string literal not displayed */ Status Status `` /* 132-byte string literal not displayed */ CompetitionId uint64 `protobuf:"varint,5,opt,name=competitionId,proto3" json:"competitionId,omitempty"` Seeded bool `protobuf:"varint,6,opt,name=seeded,proto3" json:"seeded,omitempty"` GameSize uint32 `protobuf:"varint,7,opt,name=game_size,json=gameSize,proto3" json:"game_size,omitempty"` Advancing uint32 `protobuf:"varint,8,opt,name=advancing,proto3" json:"advancing,omitempty"` Scored bool `protobuf:"varint,9,opt,name=scored,proto3" json:"scored,omitempty"` BracketOrder []string `protobuf:"bytes,10,rep,name=bracket_order,json=bracketOrder,proto3" json:"bracket_order,omitempty"` Metadata []byte `protobuf:"bytes,11,opt,name=metadata,proto3" json:"metadata,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Tournament) Descriptor ¶
func (*Tournament) Descriptor() ([]byte, []int)
func (*Tournament) GetAdvancing ¶
func (m *Tournament) GetAdvancing() uint32
func (*Tournament) GetBracketOrder ¶
func (m *Tournament) GetBracketOrder() []string
func (*Tournament) GetCompetitionId ¶
func (m *Tournament) GetCompetitionId() uint64
func (*Tournament) GetGameSize ¶
func (m *Tournament) GetGameSize() uint32
func (*Tournament) GetId ¶
func (m *Tournament) GetId() uint64
func (*Tournament) GetMetadata ¶
func (m *Tournament) GetMetadata() []byte
func (*Tournament) GetName ¶
func (m *Tournament) GetName() string
func (*Tournament) GetScored ¶
func (m *Tournament) GetScored() bool
func (*Tournament) GetSeeded ¶
func (m *Tournament) GetSeeded() bool
func (*Tournament) GetStatus ¶
func (m *Tournament) GetStatus() Status
func (*Tournament) GetType ¶
func (m *Tournament) GetType() TournamentType
func (*Tournament) Marshal ¶
func (m *Tournament) Marshal() (dAtA []byte, err error)
func (*Tournament) MarshalToSizedBuffer ¶
func (m *Tournament) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Tournament) ProtoMessage ¶
func (*Tournament) ProtoMessage()
func (*Tournament) Reset ¶
func (m *Tournament) Reset()
func (*Tournament) Size ¶
func (m *Tournament) Size() (n int)
func (*Tournament) String ¶
func (m *Tournament) String() string
func (*Tournament) Unmarshal ¶
func (m *Tournament) Unmarshal(dAtA []byte) error
func (*Tournament) XXX_DiscardUnknown ¶
func (m *Tournament) XXX_DiscardUnknown()
func (*Tournament) XXX_Marshal ¶
func (m *Tournament) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Tournament) XXX_Merge ¶
func (m *Tournament) XXX_Merge(src proto.Message)
func (*Tournament) XXX_Size ¶
func (m *Tournament) XXX_Size() int
func (*Tournament) XXX_Unmarshal ¶
func (m *Tournament) XXX_Unmarshal(b []byte) error
type TournamentTeam ¶
type TournamentTeam struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" storm:"id,increment"` TournamentId uint64 `protobuf:"varint,2,opt,name=tournamentId,proto3" json:"tournamentId,omitempty"` TeamId uint64 `protobuf:"varint,3,opt,name=teamId,proto3" json:"teamId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TournamentTeam) Descriptor ¶
func (*TournamentTeam) Descriptor() ([]byte, []int)
func (*TournamentTeam) GetId ¶
func (m *TournamentTeam) GetId() uint64
func (*TournamentTeam) GetTeamId ¶
func (m *TournamentTeam) GetTeamId() uint64
func (*TournamentTeam) GetTournamentId ¶
func (m *TournamentTeam) GetTournamentId() uint64
func (*TournamentTeam) Marshal ¶
func (m *TournamentTeam) Marshal() (dAtA []byte, err error)
func (*TournamentTeam) MarshalToSizedBuffer ¶
func (m *TournamentTeam) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TournamentTeam) ProtoMessage ¶
func (*TournamentTeam) ProtoMessage()
func (*TournamentTeam) Reset ¶
func (m *TournamentTeam) Reset()
func (*TournamentTeam) Size ¶
func (m *TournamentTeam) Size() (n int)
func (*TournamentTeam) String ¶
func (m *TournamentTeam) String() string
func (*TournamentTeam) Unmarshal ¶
func (m *TournamentTeam) Unmarshal(dAtA []byte) error
func (*TournamentTeam) XXX_DiscardUnknown ¶
func (m *TournamentTeam) XXX_DiscardUnknown()
func (*TournamentTeam) XXX_Marshal ¶
func (m *TournamentTeam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TournamentTeam) XXX_Merge ¶
func (m *TournamentTeam) XXX_Merge(src proto.Message)
func (*TournamentTeam) XXX_Size ¶
func (m *TournamentTeam) XXX_Size() int
func (*TournamentTeam) XXX_Unmarshal ¶
func (m *TournamentTeam) XXX_Unmarshal(b []byte) error
type TournamentType ¶
type TournamentType int32
const ( TournamentType_SINGLE_ELIMINATION TournamentType = 0 TournamentType_DOUBLE_ELIMINATION TournamentType = 1 TournamentType_ROUND_ROBIN TournamentType = 2 TournamentType_COMPASS_DRAW TournamentType = 3 TournamentType_SWISS_FORMAT TournamentType = 4 TournamentType_GROUP_PLAY TournamentType = 5 )
func (TournamentType) EnumDescriptor ¶
func (TournamentType) EnumDescriptor() ([]byte, []int)
func (TournamentType) String ¶
func (x TournamentType) String() string
Click to show internal directories.
Click to hide internal directories.