Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppErrString ¶
type AppErrString string
type ErrorResponse ¶
type ErrorResponse struct { HttpStatusCode int `json:"-"` Err error `json:"-"` Msg string `json:"msg"` }
func (*ErrorResponse) Render ¶
func (e *ErrorResponse) Render(w http.ResponseWriter, r *http.Request) error
Click to show internal directories.
Click to hide internal directories.