Documentation ¶
Overview ¶
Package http contains the HTTP server and associated endpoint handlers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrBodyDecode = httperr.New(http.StatusBadRequest, "failed to decode body")
)
Functions ¶
This section is empty.
Types ¶
type Resp ¶
type Resp struct { Error string `json:"error,omitempty"` Data interface{} `json:"data,omitempty"` }
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) GetV1ApiRouters ¶
Click to show internal directories.
Click to hide internal directories.