Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Consumer ¶
type Consumer struct {
// contains filtered or unexported fields
}
Consumer is the representation of a NSCA consumer
func New ¶
func New(cfg config.ConsumerConfiguration) Consumer
New generates a new NSCA Consumer instance
func (Consumer) ErrorChannel ¶ added in v1.3.0
ErrorChannel is the channel that returns errors when sending a message
func (Consumer) ExitChannel ¶ added in v1.3.0
func (consumer Consumer) ExitChannel() chan interface{}
ExitChannel is the channel we need to close in order to shutdown NSCA server
func (Consumer) MessageChannel ¶ added in v1.3.0
func (consumer Consumer) MessageChannel() chan<- consumers.ResultWithHostname
MessageChannel is the channel to be use to push messages to remote provider
Source Files
¶
- nsca.go
Click to show internal directories.
Click to hide internal directories.