Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alert ¶
type Alert interface { // Update exists alert or create new Update(name string, level alert.Level) (*alert.Alert, bool, error) Index(levels []alert.Level) (alert.Alerts, error) Get(name string) (*alert.Alert, error) }
Alert is an interface for Alert storage
type AlertMock ¶
AlertMock represents mock for Alert storage
type CoreStorage ¶
CoreStorage is an interface for the CoreStorage
type KV ¶
type KV interface { Put(string, string) error Get(string) (string, error) Upsert(string, string) error Delete(string) error All() (map[string]string, error) }
KV is an interface for KV storage
Click to show internal directories.
Click to hide internal directories.