Documentation ¶
Overview ¶
Package discovery implements the service discovery.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceRepo ¶
type ServiceRepo interface { NodeID() string Name() string run.Unit bus.Subscriber bus.Publisher run.Service }
ServiceRepo provides service subscripting and publishing.
func NewServiceRepo ¶
func NewServiceRepo(_ context.Context) (ServiceRepo, error)
NewServiceRepo return a new ServiceRepo.
Click to show internal directories.
Click to hide internal directories.