Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InterfaceSpec ¶
type InterfaceSpec struct {
// Name of the interface.
Name string
// Version is the identifier for the API version.
Version string
}
InterfaceSpec is metadata about an API.
type Plugin ¶
type Plugin interface {
// Implements returns the APIs supported by this plugin.
Implements() ([]InterfaceSpec, error)
}
Plugin is an interface that all plugins must support.
Click to show internal directories.
Click to hide internal directories.