Documentation ¶
Index ¶
- func RenderBlankResponse(w http.ResponseWriter, r *http.Request)
- func RenderDataResponse(w http.ResponseWriter, r *http.Request, view interface{})
- func RenderErrorResponse(w http.ResponseWriter, r *http.Request, err error)
- func RenderUserWithAuthentication(w http.ResponseWriter, r *http.Request, user *models.User)
- type ResponseView
- type UserView
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderBlankResponse ¶
func RenderBlankResponse(w http.ResponseWriter, r *http.Request)
func RenderDataResponse ¶
func RenderDataResponse(w http.ResponseWriter, r *http.Request, view interface{})
func RenderErrorResponse ¶
func RenderErrorResponse(w http.ResponseWriter, r *http.Request, err error)
Types ¶
type ResponseView ¶
Click to show internal directories.
Click to hide internal directories.