Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶ added in v1.4.0
type Server struct {
// contains filtered or unexported fields
}
Server contains instance details for the server
func (*Server) CreateMux ¶ added in v1.9.0
CreateMux returns a new mux with all the routers registered.
func (*Server) UseMiddleware ¶ added in v1.12.0
func (s *Server) UseMiddleware(m middleware.Middleware)
UseMiddleware appends a new middleware to the request chain. This needs to be called before the API routes are configured.
Click to show internal directories.
Click to hide internal directories.