Documentation ¶ Index ¶ type StormDB func NewStormStorage(lc fx.Lifecycle, c *cmd.Conf, l zerolog.Logger) (*StormDB, error) func (s *StormDB) GetGuilConf(guildID string) (*models.Conf, error) func (s *StormDB) NewGuildState(guildID string) (*models.Conf, error) func (s *StormDB) SaveGuildState(gs *models.Conf) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type StormDB ¶ type StormDB struct { // contains filtered or unexported fields } func NewStormStorage ¶ func NewStormStorage(lc fx.Lifecycle, c *cmd.Conf, l zerolog.Logger) (*StormDB, error) func (*StormDB) GetGuilConf ¶ func (s *StormDB) GetGuilConf(guildID string) (*models.Conf, error) func (*StormDB) NewGuildState ¶ func (s *StormDB) NewGuildState(guildID string) (*models.Conf, error) func (*StormDB) SaveGuildState ¶ func (s *StormDB) SaveGuildState(gs *models.Conf) error Source Files ¶ View all Source files storage.go Click to show internal directories. Click to hide internal directories.