Versions in this module Expand all Collapse all v1 v1.6.0 Sep 24, 2021 Changes in this version type Response + func (resp *Response) Gone(v interface{}) v1.5.0 Sep 1, 2021 Changes in this version + type DefaultMessageResponse struct + Message string + Status int + type Response struct + DefMessage bool + Headers map[string]string + Writer http.ResponseWriter + func NewResponse(w http.ResponseWriter) *Response + func (resp *Response) Accepted(v interface{}) + func (resp *Response) AddHeader(key string, value string) *Response + func (resp *Response) BadGateway(v interface{}) + func (resp *Response) BadRequest(v interface{}) + func (resp *Response) Conflict(v interface{}) + func (resp *Response) Created(v interface{}) + func (resp *Response) DefaultMessage() *Response + func (resp *Response) DeleteHeader(key string) *Response + func (resp *Response) Forbidden(v interface{}) + func (resp *Response) GatewayTimeout(v interface{}) + func (resp *Response) InternalServerError(v interface{}) + func (resp *Response) LengthRequired(v interface{}) + func (resp *Response) MethodNotAllowed(v interface{}) + func (resp *Response) NoContent() + func (resp *Response) NotAcceptable(v interface{}) + func (resp *Response) NotFound(v interface{}) + func (resp *Response) NotImplemented(v interface{}) + func (resp *Response) Ok(v interface{}) + func (resp *Response) PreconditionFailed(v interface{}) + func (resp *Response) RequestEntityTooLarge(v interface{}) + func (resp *Response) ServiceUnavailable(v interface{}) + func (resp *Response) Unauthorized(v interface{}) + func (resp *Response) UnprocessableEntity(v interface{}) + func (resp *Response) UnsupportedMediaType(v interface{})