Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterFromFile ¶
func RegisterFromFile(configPath string, client *RegisterClient) error
Types ¶
type RegisterClient ¶
func (*RegisterClient) Init ¶
func (c *RegisterClient) Init() error
type RegisterConfig ¶
type RegisterPlugin ¶
type RegisterPlugin struct {
Config *RegisterConfig
// contains filtered or unexported fields
}
func (*RegisterPlugin) GetPluginConfig ¶
func (p *RegisterPlugin) GetPluginConfig() map[string]interface{}
func (*RegisterPlugin) OnInit ¶
func (p *RegisterPlugin) OnInit(e *harukap.HarukaAppEngine) error
func (*RegisterPlugin) SetConfig ¶
func (p *RegisterPlugin) SetConfig(config RegisterConfig)
type Service ¶
type Service struct {
Id string
Namespace string `mapstructure:"namespace"`
Version string `mapstructure:"version"`
Ref string `mapstructure:"ref"`
// contains filtered or unexported fields
}
func (*Service) Init ¶
func (s *Service) Init(client *RegisterClient) error
func (*Service) UnRegister ¶
Click to show internal directories.
Click to hide internal directories.