Documentation ¶
Index ¶
- Variables
- func HasDoubleDot(p []byte) bool
- func PlainParseBuffer(exit chan struct{}, b *Buffer, out chan *RowBinary.WriteBuffer, ...)
- func PlainParseLine(p []byte) ([]byte, float64, uint32, error)
- func PlainParser(exit chan struct{}, in chan *Buffer, out chan *RowBinary.WriteBuffer, ...)
- func RemoveDoubleDot(p []byte) []byte
- type Buffer
- type Option
- type Receiver
- type TCP
- type UDP
Constants ¶
This section is empty.
Variables ¶
View Source
var BufferPool = sync.Pool{ New: func() interface{} { return &Buffer{} }, }
Functions ¶
func HasDoubleDot ¶
func PlainParseBuffer ¶
func PlainParser ¶
func PlainParser(exit chan struct{}, in chan *Buffer, out chan *RowBinary.WriteBuffer, metricsReceived *uint32, errors *uint32)
func RemoveDoubleDot ¶
Types ¶
type Option ¶
func ParseThreads ¶
ParseThreads creates option for New contructor
func WriteChan ¶
func WriteChan(ch chan *RowBinary.WriteBuffer) Option
WriteChan creates option for New contructor
type TCP ¶
TCP receive metrics from TCP connections
func (*TCP) HandleConnection ¶
Click to show internal directories.
Click to hide internal directories.