Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Delete ¶
func Delete(name string)
Delete removes the named ComponentConfig from this package's "/configz" handler.
func InstallHandler ¶
func InstallHandler(m mux)
InstallHandler adds an HTTP handler on the given mux for the "/configz" endpoint which serves all registered ComponentConfigs in JSON format.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config is a handle to a ComponentConfig object. Don't create these directly; use New() instead.
func New ¶
New creates a Config object with the given name. Each Config is registered with this package's "/configz" handler.
func (*Config) MarshalJSON ¶
MarshalJSON marshals the ComponentConfig as JSON data.
Click to show internal directories.
Click to hide internal directories.