controllers

package module
v0.0.0-...-173852c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL