pb

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

func (*Arena) GetId

func (m *Arena) GetId() uint32

func (*Arena) GetName

func (m *Arena) GetName() string

func (*Arena) Marshal

func (m *Arena) Marshal() (dAtA []byte, err error)

func (*Arena) MarshalTo

func (m *Arena) MarshalTo(dAtA []byte) (int, error)

func (*Arena) MarshalToSizedBuffer

func (m *Arena) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Arena) ProtoMessage

func (*Arena) ProtoMessage()

func (*Arena) Reset

func (m *Arena) Reset()

func (*Arena) Size

func (m *Arena) Size() (n int)

func (*Arena) String

func (m *Arena) String() string

func (*Arena) Unmarshal

func (m *Arena) Unmarshal(dAtA []byte) error

func (*Arena) XXX_DiscardUnknown

func (m *Arena) XXX_DiscardUnknown()

func (*Arena) XXX_Marshal

func (m *Arena) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Arena) XXX_Merge

func (m *Arena) XXX_Merge(src proto.Message)

func (*Arena) XXX_Size

func (m *Arena) XXX_Size() int

func (*Arena) XXX_Unmarshal

func (m *Arena) XXX_Unmarshal(b []byte) error

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) MarshalTo

func (m *Competition) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *CompetitionTeam) MarshalTo(dAtA []byte) (int, 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) Descriptor() ([]byte, []int)

func (*Game) GetArenaId

func (m *Game) GetArenaId() uint32

func (*Game) GetBracket

func (m *Game) GetBracket() string

func (*Game) GetId

func (m *Game) GetId() uint64

func (*Game) GetRoundId

func (m *Game) GetRoundId() uint64

func (*Game) GetStatus

func (m *Game) GetStatus() Status

func (*Game) Marshal

func (m *Game) Marshal() (dAtA []byte, err error)

func (*Game) MarshalTo

func (m *Game) MarshalTo(dAtA []byte) (int, error)

func (*Game) MarshalToSizedBuffer

func (m *Game) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Game) ProtoMessage

func (*Game) ProtoMessage()

func (*Game) Reset

func (m *Game) Reset()

func (*Game) Size

func (m *Game) Size() (n int)

func (*Game) String

func (m *Game) String() string

func (*Game) Unmarshal

func (m *Game) Unmarshal(dAtA []byte) error

func (*Game) XXX_DiscardUnknown

func (m *Game) XXX_DiscardUnknown()

func (*Game) XXX_Marshal

func (m *Game) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Game) XXX_Merge

func (m *Game) XXX_Merge(src proto.Message)

func (*Game) XXX_Size

func (m *Game) XXX_Size() int

func (*Game) XXX_Unmarshal

func (m *Game) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*GameTeam) GetGameId

func (m *GameTeam) GetGameId() uint64

func (*GameTeam) GetId

func (m *GameTeam) GetId() uint64

func (*GameTeam) GetPlace

func (m *GameTeam) GetPlace() int64

func (*GameTeam) GetScore

func (m *GameTeam) GetScore() int64

func (*GameTeam) GetTeamId

func (m *GameTeam) GetTeamId() uint64

func (*GameTeam) Marshal

func (m *GameTeam) Marshal() (dAtA []byte, err error)

func (*GameTeam) MarshalTo

func (m *GameTeam) MarshalTo(dAtA []byte) (int, error)

func (*GameTeam) MarshalToSizedBuffer

func (m *GameTeam) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GameTeam) ProtoMessage

func (*GameTeam) ProtoMessage()

func (*GameTeam) Reset

func (m *GameTeam) Reset()

func (*GameTeam) Size

func (m *GameTeam) Size() (n int)

func (*GameTeam) String

func (m *GameTeam) String() string

func (*GameTeam) Unmarshal

func (m *GameTeam) Unmarshal(dAtA []byte) error

func (*GameTeam) XXX_DiscardUnknown

func (m *GameTeam) XXX_DiscardUnknown()

func (*GameTeam) XXX_Marshal

func (m *GameTeam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GameTeam) XXX_Merge

func (m *GameTeam) XXX_Merge(src proto.Message)

func (*GameTeam) XXX_Size

func (m *GameTeam) XXX_Size() int

func (*GameTeam) XXX_Unmarshal

func (m *GameTeam) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Player) GetId

func (m *Player) GetId() uint64

func (*Player) GetMetadata

func (m *Player) GetMetadata() []byte

func (*Player) GetName

func (m *Player) GetName() string

func (*Player) GetScore

func (m *Player) GetScore() uint64

func (*Player) Marshal

func (m *Player) Marshal() (dAtA []byte, err error)

func (*Player) MarshalTo

func (m *Player) MarshalTo(dAtA []byte) (int, error)

func (*Player) MarshalToSizedBuffer

func (m *Player) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Player) ProtoMessage

func (*Player) ProtoMessage()

func (*Player) Reset

func (m *Player) Reset()

func (*Player) Size

func (m *Player) Size() (n int)

func (*Player) String

func (m *Player) String() string

func (*Player) Unmarshal

func (m *Player) Unmarshal(dAtA []byte) error

func (*Player) XXX_DiscardUnknown

func (m *Player) XXX_DiscardUnknown()

func (*Player) XXX_Marshal

func (m *Player) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Player) XXX_Merge

func (m *Player) XXX_Merge(src proto.Message)

func (*Player) XXX_Size

func (m *Player) XXX_Size() int

func (*Player) XXX_Unmarshal

func (m *Player) XXX_Unmarshal(b []byte) error

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) MarshalTo

func (m *PlayerTeam) MarshalTo(dAtA []byte) (int, 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) Descriptor() ([]byte, []int)

func (*Round) GetId

func (m *Round) GetId() uint64

func (*Round) GetStatus

func (m *Round) GetStatus() Status

func (*Round) GetTournamentId

func (m *Round) GetTournamentId() uint64

func (*Round) Marshal

func (m *Round) Marshal() (dAtA []byte, err error)

func (*Round) MarshalTo

func (m *Round) MarshalTo(dAtA []byte) (int, error)

func (*Round) MarshalToSizedBuffer

func (m *Round) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Round) ProtoMessage

func (*Round) ProtoMessage()

func (*Round) Reset

func (m *Round) Reset()

func (*Round) Size

func (m *Round) Size() (n int)

func (*Round) String

func (m *Round) String() string

func (*Round) Unmarshal

func (m *Round) Unmarshal(dAtA []byte) error

func (*Round) XXX_DiscardUnknown

func (m *Round) XXX_DiscardUnknown()

func (*Round) XXX_Marshal

func (m *Round) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Round) XXX_Merge

func (m *Round) XXX_Merge(src proto.Message)

func (*Round) XXX_Size

func (m *Round) XXX_Size() int

func (*Round) XXX_Unmarshal

func (m *Round) XXX_Unmarshal(b []byte) error

type Status

type Status int32
const (
	Status_NEW       Status = 0
	Status_ONGOING   Status = 1
	Status_COMPLETED Status = 2
)

func (Status) EnumDescriptor

func (Status) EnumDescriptor() ([]byte, []int)

func (Status) String

func (x Status) String() string

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) Descriptor() ([]byte, []int)

func (*Team) GetId

func (m *Team) GetId() uint64

func (*Team) GetMetadata

func (m *Team) GetMetadata() []byte

func (*Team) GetName

func (m *Team) GetName() string

func (*Team) GetTournamentId

func (m *Team) GetTournamentId() uint64

func (*Team) Marshal

func (m *Team) Marshal() (dAtA []byte, err error)

func (*Team) MarshalTo

func (m *Team) MarshalTo(dAtA []byte) (int, error)

func (*Team) MarshalToSizedBuffer

func (m *Team) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Team) ProtoMessage

func (*Team) ProtoMessage()

func (*Team) Reset

func (m *Team) Reset()

func (*Team) Size

func (m *Team) Size() (n int)

func (*Team) String

func (m *Team) String() string

func (*Team) Unmarshal

func (m *Team) Unmarshal(dAtA []byte) error

func (*Team) XXX_DiscardUnknown

func (m *Team) XXX_DiscardUnknown()

func (*Team) XXX_Marshal

func (m *Team) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Team) XXX_Merge

func (m *Team) XXX_Merge(src proto.Message)

func (*Team) XXX_Size

func (m *Team) XXX_Size() int

func (*Team) XXX_Unmarshal

func (m *Team) XXX_Unmarshal(b []byte) error

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) MarshalTo

func (m *Tournament) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *TournamentTeam) MarshalTo(dAtA []byte) (int, 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL