Versions in this module Expand all Collapse all v0 v0.2.0 May 6, 2019 Changes in this version + func R(w http.ResponseWriter, r *http.Request, v render.Renderer) + func Unmarshal(r io.Reader, kvs ...KV) (*base.Response, error) + type ErrResponse struct + func Err(message string, code int, kvs ...interface{}) *ErrResponse + func ErrBadRequest(message string, kvs ...interface{}) *ErrResponse + func ErrForbidden(message string, kvs ...interface{}) *ErrResponse + func ErrInternalServer(message string, err error, kvs ...interface{}) *ErrResponse + func ErrNotFound(message string, kvs ...interface{}) *ErrResponse + func ErrUnauthorized(message string, kvs ...interface{}) *ErrResponse + type KV struct + Key string + Value interface{} + type M map[string]interface + type MsgResponse struct + func Msg(message string, code int, kvs ...interface{}) *MsgResponse + func MsgOK(message string, kvs ...interface{}) *MsgResponse