Documentation ¶
Index ¶
Constants ¶
View Source
const (
AkitaPluginLoaderName = "LoadAkitaPlugin"
)
Every plugin must export a function called "LoadAkitaPlugin" of type AkitaPluginLoader.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AkitaPlugin ¶
type AkitaPlugin interface { // Name of the plugin. Name() string // Performs in place transformation on the given IR. // Returns a non-nil error if the error is not recoverable and all processing // should halt. Transform(*pb.Method) error }
Interface implemented by all plugins.
type AkitaPluginLoader ¶
type AkitaPluginLoader = func() (AkitaPlugin, error)
Click to show internal directories.
Click to hide internal directories.