Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InjectFactory ¶
func InjectFactory(factory idiscovery.Factory)
InjectFactory allows a runtime to use the given discovery factory. This should be called before v23.NewDiscovery() is called. Mostly used for testing.
func New ¶
New returns a new discovery factory with the given protocols.
We instantiate a factory lazily so that we do not turn it on until it is actually used.
func SetPluginFactory ¶
func SetPluginFactory(name string, factory pluginFactory)
SetPluginFactory sets the plugin factory with the given name. This should be called before v23.NewDiscovery() is called.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.