configapi

package
v0.12.0-unstable14 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigApiGet

func ConfigApiGet(w http.ResponseWriter, req *http.Request)

func ConfigApiPatch

func ConfigApiPatch(w http.ResponseWriter, req *http.Request)

func ConfigApiRestart

func ConfigApiRestart(w http.ResponseWriter, req *http.Request)

func ConfigApiSet

func ConfigApiSet(w http.ResponseWriter, req *http.Request)

func ConfigRoute

func ConfigRoute(w http.ResponseWriter, req *http.Request)

Types

type UpdateRouteRequest

type UpdateRouteRequest struct {
	RouteName string                  `json:"routeName"`
	Operation string                  `json:"operation"`
	NewRoute  *utils.ProxyRouteConfig `json:"newRoute,omitempty"`
}

Jump to

Keyboard shortcuts

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