Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultCfgAddress = "127.0.0.1" DefaultCfgPort = 8080 )
Variables ¶
Functions ¶
Types ¶
type BETCD ¶
type BETCD struct {
// contains filtered or unexported fields
}
func BackendETCD ¶
func BackendETCD(cfg ConfigBackendETCD) (*BETCD, error)
hotReloadFromETCD is a function which sets up the hot reload from ETCD.
func (*BETCD) Reload ¶
func (b *BETCD) Reload() data.DataHotReload
Reload is a function which reloads the hot reload from ETCD.
type BLocalAPI ¶
type BLocalAPI struct {
// contains filtered or unexported fields
}
func BackendLocalAPI ¶
func BackendLocalAPI(cfg ...ConfigBackendLocalAPI) (*BLocalAPI, error)
func (*BLocalAPI) HttpServer ¶
func (*BLocalAPI) Reload ¶
func (b *BLocalAPI) Reload() data.DataHotReload
type ConfigBackendETCD ¶
type ConfigBackendLocalAPI ¶
Click to show internal directories.
Click to hide internal directories.