configapi

package
v0.16.0-unstable39 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: Apache-2.0 Imports: 9 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