telnet

package
v2.27.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2020 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const TelnetFormatTagsRegexp string = `([0-9A-Za-z-\._\%\&\#\;\/]+)=([0-9A-Za-z-\._\%\&\#\;\/]+)`

TelnetFormatTagsRegexp - contains the regexp to parse the tags

Variables

This section is empty.

Functions

This section is empty.

Types

type NetdataHandler

type NetdataHandler struct {
	// contains filtered or unexported fields
}

NetdataHandler - handles netdata telnet format data

func NewNetdataHandler

func NewNetdataHandler(regexpCacheDuration string, collector *collector.Collector, telnetConfig *structs.GlobalTelnetServerConfiguration, validationService *validation.Service) *NetdataHandler

NewNetdataHandler - creates the new handler

func (*NetdataHandler) Handle

func (nh *NetdataHandler) Handle(line string)

Handle - extracts the points received by telnet

func (*NetdataHandler) SourceName

func (nh *NetdataHandler) SourceName() string

SourceName - returns the connection type name

type OpenTSDBHandler

type OpenTSDBHandler struct {
	// contains filtered or unexported fields
}

OpenTSDBHandler - handles opentsdb telnet format data

func NewOpenTSDBHandler

func NewOpenTSDBHandler(collector *collector.Collector, telnetConfig *structs.GlobalTelnetServerConfiguration, validationService *validation.Service) *OpenTSDBHandler

NewOpenTSDBHandler - creates the new handler

func (*OpenTSDBHandler) Handle

func (otsdbh *OpenTSDBHandler) Handle(line string)

Handle - extracts the points received by telnet

func (*OpenTSDBHandler) SourceName

func (otsdbh *OpenTSDBHandler) SourceName() string

SourceName - returns the connection type name

Jump to

Keyboard shortcuts

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