Versions in this module Expand all Collapse all v0 v0.0.1 Mar 24, 2024 v0.0.0 Mar 24, 2024 Changes in this version + var ErrNoUser = errors.New("username does not exist") + var ErrNoUserArg = errors.New("username argument missing") + type Response struct + Body map[string]interface{} + Headers map[string]string + StatusCode int + func ClientErrResponse(msg_optional ...string) *Response + func NewResponse(statusCode int, body map[string]interface{}) *Response + func OkJsonReponse(body map[string]interface{}) *Response + func OkMsgResponse(msg_optional ...string) *Response + func OkResponse() *Response + func ServerErrResponse(msg_optional ...string) *Response