Documentation
¶
Index ¶
- func NewClient(node config.Node, eps config.EndPoints) (service.Client, error)
- func NewClient3(eps *config.EndPoints, timeout int) (*clientv3.Client, error)
- func NewClientWith(cli *clientv3.Client, node config.Node) (service.Client, error)
- func NewService(cfg config.Config, points config.EndPoints) (service.Service, error)
- func NewServiceWith(cli *clientV3.Client, cfg config.Config) (service.Service, error)
- type Base
- type Watcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClientWith ¶
func NewService ¶
NewService 注册一个服务
Types ¶
type Base ¶
type Base struct {
// contains filtered or unexported fields
}
func (*Base) AttachWatcher ¶ added in v0.2.3
Click to show internal directories.
Click to hide internal directories.