Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents the main HTTP server.
func (*Server) ServeHTTP ¶
func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP implements http.Handler and turns the Server type into a handler.
func (*Server) SetDeletePermitted ¶ added in v0.0.4
SetDeletePermitted configures the server to either allow or deny access to DELETE.
func (*Server) SetPutPermitted ¶ added in v0.0.4
SetPutPermitted configures the server to either allow or deny access to PUT.
Click to show internal directories.
Click to hide internal directories.