Documentation ¶
Index ¶
- type Client
- type GameService
- func (service *GameService) Download(ctx context.Context, game game.Game, directory string) (download *network.Download, err error)
- func (service *GameService) GetGame(slug string) (game game.Game, err error)
- func (service *GameService) GetGames() (games []string, err error)
- func (service *GameService) GetIcon(game game.Game) (image image.Image, err error)
- type UserService
- func (service *UserService) CreateNewUser(user user.User) (u user.User, err error)
- func (service *UserService) GetUser(ip string) (user user.User, err error)
- func (service *UserService) GetUsers() (users []string, err error)
- func (service *UserService) UpdateUser(user user.User) (u user.User, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Game *GameService User *UserService // contains filtered or unexported fields }
type GameService ¶
type GameService struct {
// contains filtered or unexported fields
}
func (*GameService) GetGame ¶
func (service *GameService) GetGame(slug string) (game game.Game, err error)
func (*GameService) GetGames ¶
func (service *GameService) GetGames() (games []string, err error)
type UserService ¶
type UserService struct {
// contains filtered or unexported fields
}
func (*UserService) CreateNewUser ¶
func (*UserService) GetUser ¶
func (service *UserService) GetUser(ip string) (user user.User, err error)
func (*UserService) GetUsers ¶
func (service *UserService) GetUsers() (users []string, err error)
func (*UserService) UpdateUser ¶
Click to show internal directories.
Click to hide internal directories.