Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Notificator ¶
type Notificator struct {
// contains filtered or unexported fields
}
Notificator is asynchronous Video API notification service. It takes events and calls videoapi service-side API in separate goroutine.
TODO In the future could be replaced with actual message queue.
func New ¶
func New(cfg *Config) (*Notificator, error)
func (*Notificator) Send ¶
func (n *Notificator) Send(ev *event.Event)
Click to show internal directories.
Click to hide internal directories.