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 is an HTTP server.
func (*Server) HandleCreateUsers ¶
func (s *Server) HandleCreateUsers(w http.ResponseWriter, r *http.Request)
HandleCreateUsers handles the path "/users/create". Create -> Post/Put.
func (*Server) HandleIndex ¶
func (s *Server) HandleIndex(w http.ResponseWriter, r *http.Request)
HandleIndex handles the index path "/".
func (*Server) HandleUsers ¶
func (s *Server) HandleUsers(w http.ResponseWriter, r *http.Request)
HandleUsers handles the `/users/{name}` request.
Click to show internal directories.
Click to hide internal directories.