proxy

package
v0.0.0-...-bb2520b Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProxyRoutes = utils.Routes{
	utils.Route{
		Name:        "GetProxy",
		Method:      "GET",
		Pattern:     "/rest/proxy",
		HandlerFunc: getProxy,
	}, utils.Route{
		Name:        "SetProxy",
		Method:      "PUT",
		Pattern:     "/rest/proxy",
		HandlerFunc: setProxy,
	},
}

ProxyRoutes all routes concerning date and time

Functions

This section is empty.

Types

type ProxyConfig

type ProxyConfig struct {
	HTTPProxy  string `json:"httpProxy"`
	HTTPSProxy string `json:"httpsProxy"`
	NoProxy    string `json:"noProxy"`
}

Jump to

Keyboard shortcuts

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