Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConsulRegistry ¶
type ConsulRegistry struct {
// contains filtered or unexported fields
}
func (*ConsulRegistry) GetServices ¶
func (r *ConsulRegistry) GetServices() ([]*runtime.ServiceDesc, error)
获取注册服务器的信息
func (*ConsulRegistry) Register ¶
func (r *ConsulRegistry) Register(node *runtime.ServiceDesc) error
Click to show internal directories.
Click to hide internal directories.