Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config interface { // Unique path for this config Path() string // JSON-encodeable value Value() interface{} }
type ConfigRoute ¶
func (ConfigRoute) Path ¶
func (self ConfigRoute) Path() string
func (ConfigRoute) Value ¶
func (self ConfigRoute) Value() interface{}
type ConfigService ¶
type ConfigService struct {
ServiceName string
}
Used when a new service directory is created or destroyed. May not necessarily be delivered when a new service is created; you can expect to directly get a ConfigService* event for a new service May be delievered with an empty ServiceName:"" if *all* services are to be deleted
func (ConfigService) Path ¶
func (self ConfigService) Path() string
func (ConfigService) Value ¶
func (self ConfigService) Value() interface{}
type ConfigServiceBackend ¶
type ConfigServiceBackend struct { ServiceName string BackendName string Backend ServiceBackend }
May be delivered with an empty BackendName:"" if *all* service backends are to be deleted
func (ConfigServiceBackend) Path ¶
func (self ConfigServiceBackend) Path() string
func (ConfigServiceBackend) Value ¶
func (self ConfigServiceBackend) Value() interface{}
type ConfigServiceFrontend ¶
type ConfigServiceFrontend struct { ServiceName string Frontend ServiceFrontend }
func (ConfigServiceFrontend) Path ¶
func (self ConfigServiceFrontend) Path() string
func (ConfigServiceFrontend) Value ¶
func (self ConfigServiceFrontend) Value() interface{}
type Etcd ¶
type Etcd struct {
// contains filtered or unexported fields
}
type EtcdConfig ¶
type Files ¶
type Files struct {
// contains filtered or unexported fields
}
type FilesConfig ¶
type FilesConfig struct {
Path string
}
func (FilesConfig) Open ¶
func (self FilesConfig) Open() (*Files, error)
type ServiceBackend ¶
Click to show internal directories.
Click to hide internal directories.