Documentation
¶
Index ¶
- type Client
- func (db *Client) AddAlert(alert cache.Alert) error
- func (db *Client) Close() error
- func (db *Client) CreateTables() error
- func (db *Client) DeleteOldAlerts() (int64, error)
- func (db *Client) Healthy() error
- func (db *Client) LoadAlerts() ([]cache.Alert, error)
- func (db *Client) LoadUser(login string) (cache.User, error)
- func (db *Client) LoadUsers() ([]cache.User, error)
- func (db *Client) SaveAlerts(alerts map[string]cache.Alert) error
- func (db *Client) SaveUser(user cache.User) error
- func (db *Client) UpdAlert(alert cache.Alert) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CreateTables ¶
func (*Client) DeleteOldAlerts ¶
Click to show internal directories.
Click to hide internal directories.