Documentation ¶
Index ¶
- func CheckKey(baseUrl string, key string) error
- type Cloud
- func (c *Cloud) AddLog(e log.Entry) error
- func (c *Cloud) Close() error
- func (c *Cloud) CopyFromLocal() error
- func (c *Cloud) CopyToLocal() error
- func (c *Cloud) CountEntries(id string) (int, error)
- func (c *Cloud) DeleteEntries(id string) error
- func (c *Cloud) DeleteEntry(id string, eid string) error
- func (c *Cloud) DeleteGenerator(id string) error
- func (c *Cloud) DeleteSource(id string) error
- func (c *Cloud) DeleteTemplate(id string) error
- func (c *Cloud) GetEntries(id string) ([]snd.Entry, error)
- func (c *Cloud) GetEntry(id string, eid string) (snd.Entry, error)
- func (c *Cloud) GetGenerator(id string) (snd.Generator, error)
- func (c *Cloud) GetGenerators() ([]snd.Generator, error)
- func (c *Cloud) GetKey(key string) (string, error)
- func (c *Cloud) GetLogs(hours int) ([]log.Entry, error)
- func (c *Cloud) GetSettings() (snd.Settings, error)
- func (c *Cloud) GetSource(id string) (snd.DataSource, error)
- func (c *Cloud) GetSources() ([]database.DataSourceEntry, error)
- func (c *Cloud) GetTemplate(id string) (snd.Template, error)
- func (c *Cloud) GetTemplates() ([]database.TemplateEntry, error)
- func (c *Cloud) SaveEntries(id string, entries []snd.Entry) error
- func (c *Cloud) SaveEntry(id string, entry snd.Entry) error
- func (c *Cloud) SaveGenerator(generator snd.Generator) error
- func (c *Cloud) SaveSettings(settings snd.Settings) error
- func (c *Cloud) SaveSource(ds snd.DataSource) error
- func (c *Cloud) SaveTemplate(template snd.Template) error
- func (c *Cloud) SetKey(key string, value string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cloud ¶
type Cloud struct {
// contains filtered or unexported fields
}
func (*Cloud) CopyFromLocal ¶
func (*Cloud) CopyToLocal ¶
func (*Cloud) DeleteEntries ¶
func (*Cloud) DeleteGenerator ¶
func (*Cloud) DeleteSource ¶
func (*Cloud) DeleteTemplate ¶
func (*Cloud) GetSources ¶
func (c *Cloud) GetSources() ([]database.DataSourceEntry, error)
func (*Cloud) GetTemplates ¶
func (c *Cloud) GetTemplates() ([]database.TemplateEntry, error)
func (*Cloud) SaveSource ¶
func (c *Cloud) SaveSource(ds snd.DataSource) error
Click to show internal directories.
Click to hide internal directories.