aboutsummaryrefslogtreecommitdiff
path: root/plugin_go.go
Commit message (Collapse)AuthorAgeFilesLines
* Update docs with new RegisterPluginLoader functionSimon Ser2020-01-211-2/+2
|
* Extract Lua infrastructure into a pluginSimon Ser2020-01-201-2/+2
|
* Introduce PluginLoaderFuncSimon Ser2020-01-201-0/+7
| | | | | | | This allows registered plugins to execute code when loaded. This will also allow the Lua support code to be a plugin. Closes: https://todo.sr.ht/~sircmpwn/koushin/54
* Make Go plugin handlers take a *ContextSimon Ser2019-12-171-11/+14
| | | | | Take a *Context instead of a echo.Context. This saves a type assertion in each handler.
* Add Context to Plugin.InjectSimon Ser2019-12-171-4/+4
| | | | This allows to access the request metadata and the session from injectors.
* Add RenderData interfaceSimon Ser2019-12-171-2/+2
| | | | This allows Go plugins to easily inject global data.
* Allow Go Plugins to inject template dataSimon Ser2019-12-171-0/+21
|
* Improve docsSimon Ser2019-12-171-0/+13
|
* go fmtSimon Ser2019-12-161-1/+1
|
* Introduce base pluginSimon Ser2019-12-161-1/+1
| | | | | | This plugin offers base IMAP/SMTP functionality. References: https://todo.sr.ht/~sircmpwn/koushin/39
* Add an API for Go pluginsSimon Ser2019-12-161-0/+97
References: https://todo.sr.ht/~sircmpwn/koushin/39