Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Strategy ¶
Strategy is the discovery strategy interface. DiscoverNodes may be called several times.
type StrategyDestroyer ¶
StrategyDestroyer is an optional interface for a discovery strategy. If implemented, Destroy method will be called once during client shutdown.
type StrategyOptions ¶
StrategyOptions are passed to the Strategy's Start method.
type StrategyStarter ¶
type StrategyStarter interface {
Start(ctx context.Context, opts StrategyOptions) error
}
StrategyStarter is an optional interface for a discovery strategy. If implemented, Start will be called before DiscoverNodes method. Note that it may be called more than once if the previous start was not successful.
Click to show internal directories.
Click to hide internal directories.