proxy

package
v0.2.5-0...-a8abf42 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2018 License: NCSA Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AccessControlPolicy = "*"
View Source
var HTMLHeader string = "text/html;charset=utf-8"
View Source
var JSONHeader string = "application/json; charset=UTF-8"

These are defaults the user can configure themselves

View Source
var TEXTHeader string = "text/plain; charset=utf-8"
View Source
var Timeout int64 = 10
View Source
var XMLHeader string = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"

Functions

func DELETE

func DELETE(w http.ResponseWriter, url string, format string, token string, r *http.Request)

func GET

func GET(w http.ResponseWriter, url string, format string, token string, r *http.Request)

func PATCH

func PATCH(w http.ResponseWriter, url string, format string, token string, r *http.Request)

func POST

func POST(w http.ResponseWriter, url string, format string, token string, r *http.Request)

func PUT

func PUT(w http.ResponseWriter, url string, format string, token string, r *http.Request)

Types

This section is empty.

Jump to

Keyboard shortcuts

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