Documentation ¶
Index ¶
- Variables
- func Factory(loader func(v interface{}) error) (notificationqueue.Directive, error)
- type Config
- type Engine
- func (e *Engine) Insert(execution *notificationqueue.Execution) error
- func (e *Engine) List(start string, count int) ([]*notificationqueue.Execution, string, error)
- func (e *Engine) Remove(nid string) error
- func (e *Engine) Replace(eid string, new *notificationqueue.Execution) error
- func (e *Engine) Start() error
- func (e *Engine) Stop() error
Constants ¶
This section is empty.
Variables ¶
View Source
var DirectiveName = "embeddedqueue"
Functions ¶
Types ¶
type Config ¶
func (*Config) AppylToPublisher ¶
func (c *Config) AppylToPublisher(p *notificationqueue.Publisher) error
type Engine ¶
Engine embedded store
func (*Engine) Insert ¶
func (e *Engine) Insert(execution *notificationqueue.Execution) error
Insert insert execution to queue. Do nothing if notifiaction exsits
func (*Engine) Remove ¶
Remove notifcation with given nid form queue. Do nothing if notificatio not found
Click to show internal directories.
Click to hide internal directories.