Documentation ¶
Index ¶
- type JSONResponse
- type Meta
- type Standard
- func (s *Standard) Logger() log.Logger
- func (s *Standard) Request() *rest.Request
- func (s *Standard) RespondWithError(err *service.Error)
- func (s *Standard) RespondWithInternalServerFailure(message string, failure ...interface{})
- func (s *Standard) RespondWithStatusAndErrors(statusCode int, errors []*service.Error)
- func (s *Standard) Response() rest.ResponseWriter
- type Trace
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONResponse ¶
type Standard ¶
type Standard struct {
// contains filtered or unexported fields
}
func NewStandard ¶
func (*Standard) RespondWithError ¶
func (*Standard) RespondWithInternalServerFailure ¶
func (*Standard) RespondWithStatusAndErrors ¶
func (*Standard) Response ¶
func (s *Standard) Response() rest.ResponseWriter
Click to show internal directories.
Click to hide internal directories.