Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCodeFromError ¶
Types ¶
type ApiController ¶
type ApiController struct {
// contains filtered or unexported fields
}
func NewApiController ¶
func NewApiController(s *domain.BadgeService) ApiController
func (*ApiController) Serve ¶
func (c *ApiController) Serve()
type HttpStatusError ¶
type HttpStatusError struct {
// contains filtered or unexported fields
}
func (*HttpStatusError) Error ¶
func (e *HttpStatusError) Error() string
func (*HttpStatusError) HTTPStatus ¶
func (e *HttpStatusError) HTTPStatus() int
Click to show internal directories.
Click to hide internal directories.