Documentation ¶
Index ¶
- func AddOpenlib(stype string, fn func(config interface{}) (Client, error))
- func HandleFunc() func(resp http.ResponseWriter, req *http.Request)
- func SetLog(st Client, name string)
- func Sys(st Client, keepalive time.Duration, name string)
- func SysLog(keepalive time.Duration, name string)
- type Client
- type ClientLog
- type InfluxClient
- type Object
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddOpenlib ¶
func HandleFunc ¶
func HandleFunc() func(resp http.ResponseWriter, req *http.Request)
Types ¶
type Client ¶
type Client interface { Close() Write(name string, tags map[string]string, fields map[string]interface{}, tv time.Time) error }
func OpenClient ¶
type InfluxClient ¶
type InfluxClient struct {
// contains filtered or unexported fields
}
func NewInfluxClient ¶
func (*InfluxClient) Close ¶
func (C *InfluxClient) Close()
Click to show internal directories.
Click to hide internal directories.