Documentation
¶
Index ¶
- func CORS(w http.ResponseWriter, r *http.Request)
- func Healthz(w http.ResponseWriter, r *http.Request)
- func JSON(w http.ResponseWriter, code int, payload interface{})
- func ListConfigGroupItems(w http.ResponseWriter, r *http.Request)
- func ListConfigGroups(w http.ResponseWriter, r *http.Request)
- func ListConfigItemValues(w http.ResponseWriter, r *http.Request)
- func StreamJSON(c *websocket.Conn, payload interface{})
- func UpdateConfigItemValues(w http.ResponseWriter, r *http.Request)
- type HealthzResponse
- type Item
- type ListConfigGroupItemsResponse
- type ListConfigGroupsResponse
- type ListConfigItemValuesReeponse
- type StatusResponse
- type UpdateConfigItemValuesRequest
- type UpdateConfigItemValuesResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Healthz ¶
func Healthz(w http.ResponseWriter, r *http.Request)
Healthz route is UNAUTHENTICATED
func JSON ¶
func JSON(w http.ResponseWriter, code int, payload interface{})
func ListConfigGroupItems ¶
func ListConfigGroupItems(w http.ResponseWriter, r *http.Request)
func ListConfigGroups ¶
func ListConfigGroups(w http.ResponseWriter, r *http.Request)
func ListConfigItemValues ¶
func ListConfigItemValues(w http.ResponseWriter, r *http.Request)
func StreamJSON ¶
func UpdateConfigItemValues ¶
func UpdateConfigItemValues(w http.ResponseWriter, r *http.Request)
Types ¶
type HealthzResponse ¶
type HealthzResponse struct {
Version string `json:"version"`
GitSHA string `json:"gitSha"`
Status StatusResponse `json:"status"`
}
type ListConfigGroupsResponse ¶
type ListConfigGroupsResponse struct {
AppName string `json:"appName"`
Groups []*configtypes.Group `json:"groups"`
Error string `json:"error,omitempty"`
}
type StatusResponse ¶
type StatusResponse struct {
}
type UpdateConfigItemValuesRequest ¶
type UpdateConfigItemValuesRequest struct {
Items []*configtypes.ItemValue `json:"items"`
}
type UpdateConfigItemValuesResponse ¶
type UpdateConfigItemValuesResponse struct {
Error string `json:"error,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.