Documentation ¶
Index ¶
- Variables
- func Build(id string) naming.Resolver
- func Builder() naming.Builder
- type Config
- type Discovery
- func (d *Discovery) Build(appid string) naming.Resolver
- func (d *Discovery) Close() error
- func (d *Discovery) Register(ctx context.Context, ins *naming.Instance) (cancelFunc context.CancelFunc, err error)
- func (d *Discovery) Reload(c *Config)
- func (d *Discovery) Scheme() string
- func (d *Discovery) Set(ins *naming.Instance) error
- type Resolve
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrDuplication duplication treeid. ErrDuplication = errors.New("discovery: instance duplicate registration") )
Functions ¶
Types ¶
type Discovery ¶
type Discovery struct {
// contains filtered or unexported fields
}
Discovery is discovery client.
Click to show internal directories.
Click to hide internal directories.