Documentation ¶
Index ¶
Constants ¶
View Source
const ( // With raw data queries, mappers will read up to this amount before sending results back to the engine. // This is the default size in the number of values returned in a raw query. Could be many more bytes depending on fields returned. DefaultChunkSize = 10000 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { Logger *log.Logger WriteTrace bool // Detailed logging of write path // contains filtered or unexported fields }
Handler represents an HTTP handler for the InfluxDB server.
func NewAPIHandler ¶
NewAPIHandler is the http handler for api endpoints
func NewClusterHandler ¶
NewClusterHandler is the http handler for cluster communcation endpoints
type SnapshotHandler ¶
type SnapshotHandler struct {
CreateSnapshotWriter func() (*influxdb.SnapshotWriter, error)
}
SnapshotHandler streams out a snapshot from the server.
func (*SnapshotHandler) ServeHTTP ¶
func (h *SnapshotHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.