Documentation ¶
Index ¶
- Variables
- type DB
- func (db *DB) AddCharacter(input *model.CharacterInput) *model.Character
- func (db *DB) GetCharacter(id int) *model.Character
- func (db *DB) GetCharacters() []*model.Character
- func (db *DB) GetLightCone(id int) *model.LightCone
- func (db *DB) GetLightCones() []*model.LightCone
- func (db *DB) GetRelic(id int) *model.Relic
- func (db *DB) GetRelics() []*model.Relic
Constants ¶
This section is empty.
Variables ¶
View Source
var CharacterCollections string = "characters"
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) AddCharacter ¶
func (db *DB) AddCharacter(input *model.CharacterInput) *model.Character
func (*DB) GetCharacters ¶
func (*DB) GetLightCones ¶
Click to show internal directories.
Click to hide internal directories.