Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigKV ¶
type ConfigKV struct { KV nats.KeyValue // contains filtered or unexported fields }
func NewConfigKV ¶
NewConfigKV is the constructor for *ConfigKV
func (*ConfigKV) GetConfigBytes ¶
GetConfigBytes returns config from the KV backend in bytes
type ConfigKVHTTPGetAll ¶
type ConfigKVHTTPGetAll struct {
// contains filtered or unexported fields
}
ConfigKVHTTPGetAll is http handler to render all config in JSON format
func NewConfigKVHTTPGetAll ¶
func NewConfigKVHTTPGetAll(configkv *ConfigKV) *ConfigKVHTTPGetAll
NewConfigKVHTTPGetAll is constructor for ConfigKVHTTPGetAll
func (*ConfigKVHTTPGetAll) ServeHTTP ¶
func (handler *ConfigKVHTTPGetAll) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.