Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NewPluginAPISignature ¶
type NewPluginAPISignature = func(next corednsplugin.Handler, options string) corednsplugin.Handler
PluginFactoryAPI is the function signature that plugins must implement. This function should return the plugin instance. The method should be call `NewPlugin`.
func LoadYaegiPlugin ¶
func LoadYaegiPlugin(src string) (NewPluginAPISignature, error)
Click to show internal directories.
Click to hide internal directories.