Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Plugins []Plugin
Plugins all plugins that this gateway have and can set to proxies
Functions ¶
Types ¶
type Plugin ¶
type Plugin struct { Name string Active bool Config map[string]interface{} Middleware func(config map[string]interface{}) func(handler http.Handler) http.Handler `json:"-"` }
Plugin simple struct for plugins that define for service
func AddPluginProxy ¶
AddPluginProxy to find and set plugin to proxy by costumer bool means error
func (Plugin) SetUPPlugin ¶
SetUPPlugin to add plugin fro creator to plugin list return error if true mean that error happened
Click to show internal directories.
Click to hide internal directories.