Versions in this module Expand all Collapse all v0 v0.0.2 Sep 11, 2018 Changes in this version + const PLUGINS_COLLECTION + var BEFORE_REQUEST_PLUGINS_NAME = "BeforeRequest" + var BeforeRequestEntryPluginLookup = "BeforeRequestEntryPlugin" + var PLUGINS_LOCATION = "./custom_plugins" + var PLUGINS_TYPES = []string + var PLUGIN_EXTENSION = ".so" + var SERVICE_NAME = "/plugins" + func CallBeforeRequestPlugins(c *routing.Context) error + func Configurations() config.GApiPluginsConfig + func ListAll() (map[string][]string, error) + type BeforeRequestEntryPlugin interface + Call func(c *routing.Context) error + type BeforeRequestPlugin struct + Filename string + Location string + func (p *BeforeRequestPlugin) Call(c *routing.Context) error + type GeneralPlugin struct + Filename string + Location string + func (p *GeneralPlugin) Load(lookup string) (plugin.Symbol, error)