Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var OpenAPISpec []byte
Functions ¶
This section is empty.
Types ¶
type ErrorResponse ¶
type ErrorResponse struct {
Errors []string `json:"errors"`
}
type Server ¶
type Server struct { UserService UserService Port int }
func (*Server) HandleCreateUser ¶
func (s *Server) HandleCreateUser() http.HandlerFunc
func (*Server) HandleGetUser ¶
func (s *Server) HandleGetUser() http.HandlerFunc
func (*Server) HandleGetUsers ¶
func (s *Server) HandleGetUsers() http.HandlerFunc
func (*Server) ListenAndServe ¶
Click to show internal directories.
Click to hide internal directories.