Documentation ¶
Index ¶
Constants ¶
View Source
const (
LogEntriesChanSize = 5000
)
View Source
const (
ResultTypeStream = "streams"
)
Variables ¶
View Source
var ( BatchEntriesNumber = 10000 BatchWait = 5 * time.Second )
Functions ¶
This section is empty.
Types ¶
type Client ¶ added in v1.0.0
type Client struct {
// contains filtered or unexported fields
}
type QueryResponse ¶ added in v1.0.0
type QueryResponse struct { Status string `json:"status"` Data QueryResponseData `json:"data"` }
type QueryResponseData ¶ added in v1.0.0
type QueryResponseMetric ¶ added in v1.0.0
type QueryResponseMetric []interface{}
func (QueryResponseMetric) Unix ¶ added in v1.0.0
func (m QueryResponseMetric) Unix() int
func (QueryResponseMetric) Value ¶ added in v1.0.0
func (m QueryResponseMetric) Value() string
type QueryResponseStream ¶ added in v1.0.0
type QueryResponseStream []interface{}
func (QueryResponseStream) Log ¶ added in v1.0.0
func (s QueryResponseStream) Log() string
func (QueryResponseStream) NanoSecond ¶ added in v1.0.0
func (s QueryResponseStream) NanoSecond() int
type ResultType ¶ added in v1.0.0
type ResultType string
Click to show internal directories.
Click to hide internal directories.