api

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2018 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllConfigsGET

func AllConfigsGET(w http.ResponseWriter, req *http.Request, _ httprouter.Params)

AllConfigsGET get all configs

func Bind added in v1.1.0

func Bind(dst interface{}, req *http.Request) error

Bind form

func CacheConfigDELETE

func CacheConfigDELETE(w http.ResponseWriter, req *http.Request, param httprouter.Params)

CacheConfigDELETE ...

func CacheConfigGET

func CacheConfigGET(w http.ResponseWriter, req *http.Request, param httprouter.Params)

CacheConfigGET ...

func CacheConfigPOST

func CacheConfigPOST(w http.ResponseWriter, req *http.Request, param httprouter.Params)

CacheConfigPOST ...

func CacheConfigPUT

func CacheConfigPUT(w http.ResponseWriter, req *http.Request, param httprouter.Params)

CacheConfigPUT ...

func CacheConfigsGET

func CacheConfigsGET(w http.ResponseWriter, req *http.Request, param httprouter.Params)

CacheConfigsGET ...

func Global

func Global() presistence.Store

Global ...

func ProxyConfigPathDELETE

func ProxyConfigPathDELETE(w http.ResponseWriter, req *http.Request, param httprouter.Params)

ProxyConfigPathDELETE ...

func ProxyConfigPathGET

func ProxyConfigPathGET(w http.ResponseWriter, req *http.Request, param httprouter.Params)

ProxyConfigPathGET ...

func ProxyConfigPathPOST

func ProxyConfigPathPOST(w http.ResponseWriter, req *http.Request, param httprouter.Params)

ProxyConfigPathPOST ... [fixed] TOFIX request by JSON

func ProxyConfigPathPUT

func ProxyConfigPathPUT(w http.ResponseWriter, req *http.Request, param httprouter.Params)

ProxyConfigPathPUT ... [fixed] TOFIX request by JSON

func ProxyConfigPathsGET

func ProxyConfigPathsGET(w http.ResponseWriter, req *http.Request, param httprouter.Params)

ProxyConfigPathsGET ...

func ProxyConfigReverseSrvDELETE

func ProxyConfigReverseSrvDELETE(w http.ResponseWriter, req *http.Request, param httprouter.Params)

ProxyConfigReverseSrvDELETE ...

func ProxyConfigReverseSrvGET

func ProxyConfigReverseSrvGET(w http.ResponseWriter, req *http.Request, param httprouter.Params)

ProxyConfigReverseSrvGET ...

func ProxyConfigReverseSrvGroupDELETE

func ProxyConfigReverseSrvGroupDELETE(w http.ResponseWriter, req *http.Request, param httprouter.Params)

ProxyConfigReverseSrvGroupDELETE ...

func ProxyConfigReverseSrvGroupGET

func ProxyConfigReverseSrvGroupGET(w http.ResponseWriter, req *http.Request, param httprouter.Params)

ProxyConfigReverseSrvGroupGET ...

func ProxyConfigReverseSrvGroupPUT

func ProxyConfigReverseSrvGroupPUT(w http.ResponseWriter, req *http.Request, param httprouter.Params)

ProxyConfigReverseSrvGroupPUT ...

func ProxyConfigReverseSrvGroupsGET added in v1.1.0

func ProxyConfigReverseSrvGroupsGET(w http.ResponseWriter, req *http.Request, param httprouter.Params)

ProxyConfigReverseSrvGroupsGET ...

func ProxyConfigReverseSrvPOST

func ProxyConfigReverseSrvPOST(w http.ResponseWriter, req *http.Request, param httprouter.Params)

ProxyConfigReverseSrvPOST ... 新增反向代理配置

func ProxyConfigReverseSrvPUT

func ProxyConfigReverseSrvPUT(w http.ResponseWriter, req *http.Request, param httprouter.Params)

ProxyConfigReverseSrvPUT ...

func ProxyConfigSrvDELETE

func ProxyConfigSrvDELETE(w http.ResponseWriter, req *http.Request, param httprouter.Params)

ProxyConfigSrvDELETE ...

func ProxyConfigSrvGET

func ProxyConfigSrvGET(w http.ResponseWriter, req *http.Request, param httprouter.Params)

ProxyConfigSrvGET ...

func ProxyConfigSrvPOST

func ProxyConfigSrvPOST(w http.ResponseWriter, req *http.Request, param httprouter.Params)

ProxyConfigSrvPOST ...

func ProxyConfigSrvPUT

func ProxyConfigSrvPUT(w http.ResponseWriter, req *http.Request, param httprouter.Params)

ProxyConfigSrvPUT ...

func ProxyConfigSrvsGET

func ProxyConfigSrvsGET(w http.ResponseWriter, req *http.Request, param httprouter.Params)

ProxyConfigSrvsGET ...

func ResponseWithError added in v1.1.0

func ResponseWithError(w http.ResponseWriter, resp interface{}, err error)

ResponseWithError ...

func SetGlobal

func SetGlobal(store presistence.Store)

SetGlobal ..

func Valid added in v1.1.0

func Valid(v interface{}) error

Valid ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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