configapi

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: Apache-2.0 Imports: 12 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)

func DashboardApiGet added in v0.20.0

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

Types

type DashboardRoute added in v0.20.0

type DashboardRoute struct {
	Name              string `json:"Name"`
	Description       string `json:"Description,omitempty"`
	Target            string `json:"Target"`
	Mode              string `json:"Mode"`
	Host              string `json:"Host,omitempty"`
	UseHost           bool   `json:"UseHost"`
	UsePathPrefix     bool   `json:"UsePathPrefix"`
	PathPrefix        string `json:"PathPrefix,omitempty"`
	Icon              string `json:"Icon,omitempty"`
	HideFromDashboard bool   `json:"HideFromDashboard"`
	// Container info (for SERVAPP routes)
	ContainerRunning bool   `json:"ContainerRunning"`
	ContainerIcon    string `json:"ContainerIcon,omitempty"`
}

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