Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var APIKeyHeader = "API-Key"
Functions ¶
This section is empty.
Types ¶
type Handlers ¶
type Handlers struct { LogFunc func(msg string, args ...interface{}) // contains filtered or unexported fields }
Handlers holds the handlers for the HTTP endpoints
func NewHandlers ¶
func (*Handlers) BuildCancelHandler ¶
func (h *Handlers) BuildCancelHandler(w http.ResponseWriter, r *http.Request)
func (*Handlers) BuildRequestHandler ¶
func (h *Handlers) BuildRequestHandler(w http.ResponseWriter, r *http.Request)
REST interface handlers (proxy to gRPC handlers)
func (*Handlers) BuildStatusHandler ¶
func (h *Handlers) BuildStatusHandler(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.