Documentation ¶
Index ¶
- func NewClientZk(eps *server.EndPoints, serviceNode server.Node, timeout int) (*zk.Conn, error)
- func NewService(cfg config.Config, points server.EndPoints) (service.Service, error)
- func NewServiceWith(cli *zk.Conn, cfg config.Config) (service.Service, error)
- func NewZkClient(sn server.Node, eps server.EndPoints) (service.Client, error)
- func NewZkClientWith(cli *zk.Conn, sn server.Node) (service.Client, error)
- type Base
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClientZk ¶ added in v0.1.2
func NewService ¶
NewService 注册一个服务
func NewServiceWith ¶ added in v0.1.2
func NewZkClient ¶ added in v0.1.2
Types ¶
Click to show internal directories.
Click to hide internal directories.