Documentation ¶
Overview ¶
plugins is package providing a number of common middleware plugins for the Verto framework. Currently included are plugins for compression handling, panic recovery, and CORS handling
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Core ¶
type Core struct { // Verbose is flag to determine the verbosity // of a plugin Verbose bool // OnEnter is an optional callback to run each // time the plugin enters execution OnEnter func(c *verto.Context) // OnExit is an optional callback to run each // time the plugin exits execution OnExit func(c *verto.Context) // Id is an id for the plugin Id string }
PluginCore represents core functionality for all Verto pre-built plugins
Click to show internal directories.
Click to hide internal directories.