Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct { Cfg ClientCfg Log *log.Logger HTTPClient *http.Client // contains filtered or unexported fields }
func (*Client) EnqueuePoint ¶
func (*Client) EnqueuePoints ¶
func (*Client) SendPoints ¶
type ClientCfg ¶
type ClientCfg struct { Log *log.Logger `json:"-"` HTTPClient *http.Client `json:"-"` Hostname string `json:"-"` URI string `json:"uri"` Bucket string `json:"bucket"` Org string `json:"org,omitempty"` Token string `json:"token,omitempty"` BatchSize int `json:"batch_size,omitempty"` Tags map[string]string `json:"tags,omitempty"` LogRequests bool `json:"log_requests,omitempty"` }
func (*ClientCfg) ValidateJSON ¶
Click to show internal directories.
Click to hide internal directories.