Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RuleConfig ¶
type RuleConfig struct {
Subscriptions SubscriptionConfig `json:"subscriptions"`
}
type Subscriber ¶
type Subscriber struct {
// contains filtered or unexported fields
}
func NewSubscriber ¶
func NewSubscriber(a app.App) *Subscriber
func (*Subscriber) Init ¶
func (subscriber *Subscriber) Init() error
func (*Subscriber) InitStateStore ¶
func (subscriber *Subscriber) InitStateStore() error
func (*Subscriber) LoadConfigFile ¶
func (subscriber *Subscriber) LoadConfigFile(filename string) (*RuleConfig, error)
func (*Subscriber) Run ¶
func (subscriber *Subscriber) Run() error
func (*Subscriber) Stop ¶
func (subscriber *Subscriber) Stop()
type SubscriptionConfig ¶
Click to show internal directories.
Click to hide internal directories.