Documentation ¶
Index ¶
- type Checker
- type Ennoblement
- type Player
- type Server
- func (s *Server) CreateOrUpdate(ctx context.Context, params ...domain.CreateServerParams) ([]domain.Server, error)
- func (s *Server) List(ctx context.Context, params domain.ListServersParams) ([]domain.Server, int64, error)
- func (s *Server) UpdateByKey(ctx context.Context, key string, params domain.UpdateServerParams) (domain.Server, error)
- type Tribe
- func (t *Tribe) CreateOrUpdate(ctx context.Context, params ...domain.CreateTribeParams) error
- func (t *Tribe) DeleteByID(ctx context.Context, ids ...int64) error
- func (t *Tribe) List(ctx context.Context, params domain.ListTribesParams) ([]domain.Tribe, int64, error)
- func (t *Tribe) UpdateDominance(ctx context.Context, serverKey string, numPlayerVillages int64) error
- type Version
- type Village
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ennoblement ¶
type Ennoblement struct {
// contains filtered or unexported fields
}
func NewEnnoblement ¶
func NewEnnoblement(db *bun.DB) *Ennoblement
func (*Ennoblement) Create ¶
func (e *Ennoblement) Create(ctx context.Context, params ...domain.CreateEnnoblementParams) error
func (*Ennoblement) List ¶
func (e *Ennoblement) List(ctx context.Context, params domain.ListEnnoblementsParams) ([]domain.Ennoblement, int64, error)
type Player ¶
type Player struct {
// contains filtered or unexported fields
}
func (*Player) CreateOrUpdate ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) CreateOrUpdate ¶
type Tribe ¶
type Tribe struct {
// contains filtered or unexported fields
}
func (*Tribe) CreateOrUpdate ¶
type Version ¶
type Version struct {
// contains filtered or unexported fields
}
func NewVersion ¶
type Village ¶
type Village struct {
// contains filtered or unexported fields
}
func NewVillage ¶
func (*Village) CreateOrUpdate ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.