Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Module exported for initialising a new Server.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct {
Error string `json:"error"`
}
Error defines the structure for a failed response.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is the main HTTP server.
func (*Server) RegisterRoutes ¶ added in v0.2.0
func (s *Server) RegisterRoutes()
RegisterRoutes registers the REST HTTP routes.
Click to show internal directories.
Click to hide internal directories.