Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bad ¶
func Bad(message string) middleware.Responder
func InternalError ¶
func InternalError() middleware.Responder
func NotFound ¶
func NotFound() middleware.Responder
Types ¶
type Recovery ¶
type Recovery struct{}
func NewRecovery ¶
func NewRecovery() *Recovery
func (*Recovery) ServeHTTP ¶
func (rec *Recovery) ServeHTTP(rw http.ResponseWriter, req *http.Request, next http.HandlerFunc)
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) API ¶
func (server *Server) API() *operations.FerretServerAPI
Directories ¶
Path | Synopsis |
---|---|
api
|
|
restapi
Package restapi Ferret Server API API of Ferret Server Schemes: http Host: localhost BasePath: / Version: 1.0.0-rc.2 License: MIT Contact: MontFerret Project Group<mont.ferret@gmail.com> https://github.com/MontFerret Consumes: - application/json Produces: - application/json swagger:meta
|
Package restapi Ferret Server API API of Ferret Server Schemes: http Host: localhost BasePath: / Version: 1.0.0-rc.2 License: MIT Contact: MontFerret Project Group<mont.ferret@gmail.com> https://github.com/MontFerret Consumes: - application/json Produces: - application/json swagger:meta |
Click to show internal directories.
Click to hide internal directories.