Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandlerPlugin ¶
func HandlerPlugin(w http.ResponseWriter, r *http.Request)
HandlerPlugin responsible for processing the `.so` function via http protocol
func MiddlewarePlugin ¶
func MiddlewarePlugin() negroni.Handler
MiddlewarePlugin responsible for processing the `.so` middleware pattern * example .toml config: [[pluginmiddlewarelist]] file = "hello_midlleware.so" func = "Hello"
Types ¶
type LoadedPlugin ¶
LoadedPlugin structure for controlling the loaded plugin
type PluginFuncReturn ¶
PluginFuncReturn structure for holding return value and status of plugin function.
Click to show internal directories.
Click to hide internal directories.