configapi

package
v0.14.0-unstable1 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BackupFileApiGet added in v0.12.0

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

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