Documentation ¶
Index ¶
- Variables
- func CompressionHandler(enableCompression bool, handler libhttp.HandlerFunc) libhttp.HandlerFunc
- func CorsAndCompressionHeaderHandler(handler libhttp.HandlerFunc) libhttp.HandlerFunc
- func CorsHeaderHandler(handler libhttp.HandlerFunc) libhttp.HandlerFunc
- type AllPointsWriter
- type ChunkWriter
- type CompressedResponseWriter
- type HttpServer
- type NewContinuousQuery
- type NewUser
- type Point
- type SerializedSeries
- type TimePrecision
- type UpdateClusterAdminUser
- type User
- type Writer
Constants ¶
This section is empty.
Variables ¶
View Source
var VALID_TABLE_NAMES *regexp.Regexp
Functions ¶
func CompressionHandler ¶
func CompressionHandler(enableCompression bool, handler libhttp.HandlerFunc) libhttp.HandlerFunc
func CorsAndCompressionHeaderHandler ¶
func CorsAndCompressionHeaderHandler(handler libhttp.HandlerFunc) libhttp.HandlerFunc
func CorsHeaderHandler ¶
func CorsHeaderHandler(handler libhttp.HandlerFunc) libhttp.HandlerFunc
Types ¶
type AllPointsWriter ¶
type AllPointsWriter struct {
// contains filtered or unexported fields
}
type ChunkWriter ¶
type ChunkWriter struct {
// contains filtered or unexported fields
}
type CompressedResponseWriter ¶
type CompressedResponseWriter struct {
// contains filtered or unexported fields
}
func NewCompressionResponseWriter ¶
func NewCompressionResponseWriter(useCompression bool, rw libhttp.ResponseWriter, req *libhttp.Request) *CompressedResponseWriter
func (*CompressedResponseWriter) Header ¶
func (self *CompressedResponseWriter) Header() libhttp.Header
func (*CompressedResponseWriter) Write ¶
func (self *CompressedResponseWriter) Write(bs []byte) (int, error)
func (*CompressedResponseWriter) WriteHeader ¶
func (self *CompressedResponseWriter) WriteHeader(responseCode int)
type HttpServer ¶
type HttpServer struct {
// contains filtered or unexported fields
}
func NewHttpServer ¶
func NewHttpServer(httpPort string, adminAssetsDir string, theEngine engine.EngineI, theCoordinator coordinator.Coordinator, userManager coordinator.UserManager) *HttpServer
func (*HttpServer) Close ¶
func (self *HttpServer) Close()
func (*HttpServer) ListenAndServe ¶
func (self *HttpServer) ListenAndServe()
func (*HttpServer) Serve ¶
func (self *HttpServer) Serve(listener net.Listener)
type NewContinuousQuery ¶ added in v0.4.0
type NewContinuousQuery struct {
Query string `json:"query"`
}
type SerializedSeries ¶
type TimePrecision ¶
type TimePrecision int
const ( MicrosecondPrecision TimePrecision = iota MillisecondPrecision SecondPrecision )
func TimePrecisionFromString ¶
func TimePrecisionFromString(s string) (TimePrecision, error)
type UpdateClusterAdminUser ¶ added in v0.4.0
type UpdateClusterAdminUser struct {
Password string `json:"password"`
}
Click to show internal directories.
Click to hide internal directories.