Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
http.Handler
// contains filtered or unexported fields
}
API implements the configs api.
func (*API) RegisterRoutes ¶
func (a *API) RegisterRoutes(r *mux.Router)
RegisterRoutes registers the configs API HTTP routes with the provided Router.
type ConfigsView ¶
type ConfigsView struct {
Configs map[string]configs.View `json:"configs"`
}
ConfigsView renders multiple configurations, mapping userID to configs.View. Exposed only for tests.
Click to show internal directories.
Click to hide internal directories.