Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteError ¶
func WriteError(w http.ResponseWriter, err error, statusCode int, description string)
func WriteSuccess ¶
func WriteSuccess(w http.ResponseWriter, response interface{}, statusCode int)
func WriteSuccessWithLocation ¶
func WriteSuccessWithLocation(w http.ResponseWriter, response interface{}, statusCode int, location string)
Types ¶
type ZoController ¶
type ZoController struct {
// contains filtered or unexported fields
}
func (*ZoController) ZoHandler ¶
func (zc *ZoController) ZoHandler(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.