Documentation ¶ Index ¶ type Streamer func NewStreamer(config *config.Config, name string) (self *Streamer) func (self *Streamer) Pause() (err error) func (self *Streamer) Resume() (err error) func (self *Streamer) WithCapacity(size int) *Streamer func (self *Streamer) WithNotificationChannelName(name string) *Streamer Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Streamer ¶ type Streamer struct { *task.Task Output chan string // contains filtered or unexported fields } Streams data from postgres notification channel puts on output channel func NewStreamer ¶ func NewStreamer(config *config.Config, name string) (self *Streamer) func (*Streamer) Pause ¶ func (self *Streamer) Pause() (err error) func (*Streamer) Resume ¶ func (self *Streamer) Resume() (err error) func (*Streamer) WithCapacity ¶ func (self *Streamer) WithCapacity(size int) *Streamer func (*Streamer) WithNotificationChannelName ¶ func (self *Streamer) WithNotificationChannelName(name string) *Streamer Source Files ¶ View all Source files streamer.go Click to show internal directories. Click to hide internal directories.