Documentation ¶
Index ¶
Constants ¶
This section is empty.
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 NewHandler ¶
NewHandler returns a new instance of Handler.
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.