Documentation
¶
Index ¶
- Variables
- type Configor
- type Registor
- func (r *Registor) DeRegister(ctx context.Context, svc registor.ServiceMeta) error
- func (r *Registor) Lookup(svc registor.Service) (registor.ServiceMeta, error)
- func (r *Registor) Register(ctx context.Context, svc registor.ServiceMeta) error
- func (r *Registor) Watch(ctx context.Context, handler registor.Handler, svcs ...registor.Service) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoSuchConfigor = errors.New("no such configor")
)
View Source
var (
ErrNoSuchRegistor = errors.New("no such registor")
)
Functions ¶
This section is empty.
Types ¶
type Configor ¶
type Configor struct {
// contains filtered or unexported fields
}
func NewConfigor ¶ added in v0.3.8
type Registor ¶ added in v0.3.8
type Registor struct {
// contains filtered or unexported fields
}
func NewRegistor ¶ added in v0.3.8
func (*Registor) DeRegister ¶ added in v0.3.8
Click to show internal directories.
Click to hide internal directories.