Documentation ¶
Index ¶
- type MatchManager
- func (mm *MatchManager) GetMatchByID(id int) *models.Match
- func (mm *MatchManager) GetMatches() []*models.Match
- func (mm *MatchManager) IsJoinable(id int) bool
- func (mm *MatchManager) JoinMatch(id int, user *models.User) bool
- func (mm *MatchManager) NewMatch() *models.Match
- func (mm *MatchManager) UserJoined(id int, user *models.User) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MatchManager ¶
type MatchManager struct {
// contains filtered or unexported fields
}
func (*MatchManager) GetMatchByID ¶
func (mm *MatchManager) GetMatchByID(id int) *models.Match
func (*MatchManager) GetMatches ¶
func (mm *MatchManager) GetMatches() []*models.Match
func (*MatchManager) IsJoinable ¶
func (mm *MatchManager) IsJoinable(id int) bool
func (*MatchManager) NewMatch ¶
func (mm *MatchManager) NewMatch() *models.Match
func (*MatchManager) UserJoined ¶
func (mm *MatchManager) UserJoined(id int, user *models.User) bool
Click to show internal directories.
Click to hide internal directories.