Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BufferPool = util.NewBufferPool() // used by pickle, fastjson and msgp responses to serialize into
View Source
var ErrMetricNotFound = errors.New("metric not found")
View Source
var RequestCanceledErr = NewError(499, "request canceled")
Functions ¶
func Write ¶
func Write(w http.ResponseWriter, resp Response)
Types ¶
type ErrorResp ¶
type ErrorResp struct {
// contains filtered or unexported fields
}
func WrapErrorForTagDB ¶
graphite's http tagdb client requires a specific error format
func (*ErrorResp) ValidateAndFixCode ¶
func (r *ErrorResp) ValidateAndFixCode()
type FastJson ¶
type FastJson struct {
// contains filtered or unexported fields
}
func NewFastJson ¶
type TagDBError ¶
type TagDBError struct {
Error string `json:"error"`
}
Click to show internal directories.
Click to hide internal directories.