proxy

package
v0.0.0-...-054a03c Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProxy

func NewProxy(cache string) http.Handler

func ReturnBadRequest

func ReturnBadRequest(w http.ResponseWriter, err error)

func ReturnInternalServerError

func ReturnInternalServerError(w http.ResponseWriter, err error)

func ReturnJsonData

func ReturnJsonData(w http.ResponseWriter, data interface{})

func ReturnSuccess

func ReturnSuccess(w http.ResponseWriter, data []byte)

Types

This section is empty.

Jump to

Keyboard shortcuts

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