Documentation ¶
Index ¶
- Variables
- type DB
- func (s *DB) Close() error
- func (s *DB) Delete(key string) error
- func (s *DB) Dump() map[string]string
- func (s *DB) Get(key string) (string, error)
- func (s *DB) GetGroupAction(group, action string) data.ActionData
- func (s *DB) GetGroupActions(group string) []data.ActionData
- func (s *DB) GetGroups() map[string][]data.ActionData
- func (s *DB) GetNotifications(group string) []data.Notification
- func (s *DB) Put(key string, val string) error
- func (s *DB) PutGroupActions(group string, actions []data.ActionData)
- func (s *DB) PutGroups(data map[string][]data.ActionData) error
- func (s *DB) PutNotifications(notifications []data.Notification) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DBC = &DB{}
)
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) GetGroupAction ¶
func (s *DB) GetGroupAction(group, action string) data.ActionData
func (*DB) GetGroupActions ¶
func (s *DB) GetGroupActions(group string) []data.ActionData
func (*DB) GetNotifications ¶
func (s *DB) GetNotifications(group string) []data.Notification
func (*DB) PutGroupActions ¶
func (s *DB) PutGroupActions(group string, actions []data.ActionData)
func (*DB) PutNotifications ¶
func (s *DB) PutNotifications(notifications []data.Notification) error
Click to show internal directories.
Click to hide internal directories.