Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrTimeout = errors.New("err watcher timeout")
View Source
var ErrWatcherStopped = errors.New("err watcher stopped")
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Discovery ¶
type Discovery interface { String() string Watch(ctx context.Context, srv string, opts ...WatchOpt) result.Result[Watcher] GetService(ctx context.Context, srv string, opts ...GetOpt) result.Result[[]*service.Service] }
func NewNoopDiscovery ¶
func NewNoopDiscovery() Discovery
Click to show internal directories.
Click to hide internal directories.