Documentation
¶
Index ¶
- func BackupFileApiGet(w http.ResponseWriter, req *http.Request)
- func ConfigApiGet(w http.ResponseWriter, req *http.Request)
- func ConfigApiPatch(w http.ResponseWriter, req *http.Request)
- func ConfigApiRestart(w http.ResponseWriter, req *http.Request)
- func ConfigApiSet(w http.ResponseWriter, req *http.Request)
- func ConfigRoute(w http.ResponseWriter, req *http.Request)
- func DashboardApiGet(w http.ResponseWriter, req *http.Request)
- type DashboardRoute
- type UpdateRouteRequest
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"`
}
Click to show internal directories.
Click to hide internal directories.