Documentation
¶
Index ¶
Constants ¶
View Source
const ( ROOT = "/" SERVICE = "service" DEFALUT_CLUSTER = "default" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceConfig ¶
func NewServiceConfig ¶
func NewServiceConfig(slb *slb.ServiceLB) *ServiceConfig
func (*ServiceConfig) GetConfig ¶
func (s *ServiceConfig) GetConfig() (*Config, error)
func (*ServiceConfig) GetConfigs ¶
func (s *ServiceConfig) GetConfigs() (map[string]*Config, error)
func (*ServiceConfig) GetKeyName ¶
func (s *ServiceConfig) GetKeyName(serverName string) string
func (*ServiceConfig) WriteConfig ¶
func (s *ServiceConfig) WriteConfig(c Config) error
Click to show internal directories.
Click to hide internal directories.