Documentation ¶
Index ¶
- func Advertise(ctx *context.T, p idiscovery.Plugin, adinfos ...*idiscovery.AdInfo) (func(), error)
- func MatchFound(adinfos []idiscovery.AdInfo, wants ...idiscovery.AdInfo) bool
- func MatchLost(adinfos []idiscovery.AdInfo, wants ...idiscovery.AdInfo) bool
- func Scan(ctx *context.T, p idiscovery.Plugin, interfaceName string) (<-chan *idiscovery.AdInfo, func(), error)
- func ScanAndMatch(ctx *context.T, p idiscovery.Plugin, interfaceName string, ...) error
- func WaitUntilMatchFound(ch <-chan *idiscovery.AdInfo, want idiscovery.AdInfo) error
- func WaitUntilMatchLost(ch <-chan *idiscovery.AdInfo, want idiscovery.AdInfo) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Advertise ¶
func Advertise(ctx *context.T, p idiscovery.Plugin, adinfos ...*idiscovery.AdInfo) (func(), error)
func MatchFound ¶
func MatchFound(adinfos []idiscovery.AdInfo, wants ...idiscovery.AdInfo) bool
func MatchLost ¶
func MatchLost(adinfos []idiscovery.AdInfo, wants ...idiscovery.AdInfo) bool
func Scan ¶
func Scan(ctx *context.T, p idiscovery.Plugin, interfaceName string) (<-chan *idiscovery.AdInfo, func(), error)
func ScanAndMatch ¶
func ScanAndMatch(ctx *context.T, p idiscovery.Plugin, interfaceName string, wants ...idiscovery.AdInfo) error
func WaitUntilMatchFound ¶
func WaitUntilMatchFound(ch <-chan *idiscovery.AdInfo, want idiscovery.AdInfo) error
func WaitUntilMatchLost ¶
func WaitUntilMatchLost(ch <-chan *idiscovery.AdInfo, want idiscovery.AdInfo) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.