Documentation ¶
Index ¶
- type Rooms
- func (rms *Rooms) AddPlayer(name, username string) (*rooms.Room, error)
- func (rms *Rooms) Delete(name string) error
- func (rms *Rooms) DeletePlayer(name, username string) (*rooms.Room, error)
- func (rms *Rooms) Dump() string
- func (rms *Rooms) Get(name string) (*rooms.Room, error)
- func (rms *Rooms) Insert(r *rooms.Room) error
- func (rms *Rooms) List() ([]*rooms.Room, error)
- func (rms *Rooms) SetGame(name string, typ rooms.GameType, id uuid.UUID) (*rooms.Room, error)
- type Sets
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rooms ¶
type Rooms struct {
// contains filtered or unexported fields
}
Rooms is the collection of fake dao roomms
func (*Rooms) DeletePlayer ¶
Click to show internal directories.
Click to hide internal directories.