Documentation ¶
Index ¶
Constants ¶
View Source
const ErrorDelayMax = time.Minute
View Source
const ErrorDelayMin = time.Second
Variables ¶
This section is empty.
Functions ¶
func ToInfluxPoint ¶
func ToInfluxPoint(point Point) (*influxClient.Point, error)
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (Client) ServerVersion ¶
type ClientPool ¶
type ClientPool struct {
// contains filtered or unexported fields
}
func RunPool ¶
func RunPool() (pool *ClientPool)
func (*ClientPool) AddClient ¶
func (p *ClientPool) AddClient(client *Client)
func (*ClientPool) RemoveClient ¶
func (p *ClientPool) RemoveClient(client *Client)
func (*ClientPool) Shutdown ¶
func (p *ClientPool) Shutdown()
func (*ClientPool) WritePoint ¶
func (p *ClientPool) WritePoint(point Point, receiverNames []string)
type Statistics ¶
type Statistics interface {
IncrementOne(module, name, field string)
}
Click to show internal directories.
Click to hide internal directories.