Documentation
¶
Index ¶
- Constants
- type Storm
- func (s *Storm) AddLog(e log.Entry) error
- func (s *Storm) Close() error
- func (s *Storm) CountEntries(id string) (int, error)
- func (s *Storm) DB() *storm.DB
- func (s *Storm) DeleteEntries(id string) error
- func (s *Storm) DeleteEntry(id string, eid string) error
- func (s *Storm) DeleteGenerator(id string) error
- func (s *Storm) DeleteSource(id string) error
- func (s *Storm) DeleteTemplate(id string) error
- func (s *Storm) GetEntries(id string) ([]snd.Entry, error)
- func (s *Storm) GetEntry(id string, eid string) (snd.Entry, error)
- func (s *Storm) GetGenerator(id string) (snd.Generator, error)
- func (s *Storm) GetGenerators() ([]snd.Generator, error)
- func (s *Storm) GetKey(key string) (string, error)
- func (s *Storm) GetLogs(hours int) ([]log.Entry, error)
- func (s *Storm) GetSettings() (snd.Settings, error)
- func (s *Storm) GetSource(id string) (snd.DataSource, error)
- func (s *Storm) GetSources() ([]database.DataSourceEntry, error)
- func (s *Storm) GetTemplate(id string) (snd.Template, error)
- func (s *Storm) GetTemplates() ([]database.TemplateEntry, error)
- func (s *Storm) SaveEntry(id string, entry snd.Entry) error
- func (s *Storm) SaveGenerator(generator snd.Generator) error
- func (s *Storm) SaveSettings(settings snd.Settings) error
- func (s *Storm) SaveSource(ds snd.DataSource) error
- func (s *Storm) SaveTemplate(template snd.Template) error
- func (s *Storm) SetKey(key, value string) error
Constants ¶
View Source
const ( BucketBase = "BASE" BucketTemplates = "TEMPLATES" BucketGenerators = "GENERATORS" BucketSources = "DATA_SOURCES" BucketEntries = "ENTRIES" KeySettings = "SETTINGS" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storm ¶
type Storm struct {
// contains filtered or unexported fields
}
func (*Storm) DeleteEntries ¶
func (*Storm) DeleteGenerator ¶ added in v0.5.0
func (*Storm) DeleteSource ¶
func (*Storm) DeleteTemplate ¶
func (*Storm) GetGenerator ¶ added in v0.5.0
func (*Storm) GetGenerators ¶ added in v0.5.0
func (*Storm) GetSources ¶
func (s *Storm) GetSources() ([]database.DataSourceEntry, error)
func (*Storm) GetTemplates ¶
func (s *Storm) GetTemplates() ([]database.TemplateEntry, error)
func (*Storm) SaveGenerator ¶ added in v0.5.0
func (*Storm) SaveSource ¶
func (s *Storm) SaveSource(ds snd.DataSource) error
Click to show internal directories.
Click to hide internal directories.