Documentation ¶ Index ¶ func NewDefaultClient(conf config.Config, points config.EndPoints, resol resolver.Resolver) (service.Client, error) func NewService(conf config.Config, points config.EndPoints, reg registry.Registry) (service.Service, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewDefaultClient ¶ func NewDefaultClient(conf config.Config, points config.EndPoints, resol resolver.Resolver) (service.Client, error) func NewService ¶ func NewService(conf config.Config, points config.EndPoints, reg registry.Registry) (service.Service, error) NewService 注册一个服务 Types ¶ This section is empty. Source Files ¶ View all Source files client.go service.go Click to show internal directories. Click to hide internal directories.