Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Plugin ¶
type Plugin interface { // IDs must be lowercase and only contain alphanumeric characters and hyphens. ID() string // Meta exposes plugin metadata as key-value pairs. // Commonly used keys are: "url" and "description". Meta() map[string]interface{} // Init callback is called on init. Init(*api.Routes) error // Close callback is called on shutdown. Close() error }
A Plugin interface.
Click to show internal directories.
Click to hide internal directories.