Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func (*App) WriteJSONErr ¶
func (app *App) WriteJSONErr(w http.ResponseWriter, statusCode int, err error)
func (*App) WriteJSONResponse ¶
func (app *App) WriteJSONResponse(w http.ResponseWriter, statusCode int, resp any)
type DeleteRequest ¶
type DeleteRequest struct {
BackendName string `json:"backendName"`
}
type UpdateRequest ¶
type UpdateRequest struct { BackendName string `json:"backendName"` LBPort int `json:"lbPort"` LBProtocol string `json:"lbProtocol"` UpstreamServers []services.Server `json:"upstreamServers"` ProxyTimeoutSeconds int `json:"proxyTimeoutSeconds"` ProxyConnectTimeoutSeconds int `json:"proxyConnectTimeoutSeconds"` }
Click to show internal directories.
Click to hide internal directories.