nsca

package
v1.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2020 License: MIT Imports: 7 Imported by: 0

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

New generates a new NSCA Consumer instance

func (Consumer) ErrorChannel added in v1.3.0

func (consumer Consumer) ErrorChannel() <-chan error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL