Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update docs with new RegisterPluginLoader function | Simon Ser | 2020-01-21 | 1 | -2/+2 |
| | |||||
* | Extract Lua infrastructure into a plugin | Simon Ser | 2020-01-20 | 1 | -2/+2 |
| | |||||
* | Introduce PluginLoaderFunc | Simon Ser | 2020-01-20 | 1 | -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 *Context | Simon Ser | 2019-12-17 | 1 | -11/+14 |
| | | | | | Take a *Context instead of a echo.Context. This saves a type assertion in each handler. | ||||
* | Add Context to Plugin.Inject | Simon Ser | 2019-12-17 | 1 | -4/+4 |
| | | | | This allows to access the request metadata and the session from injectors. | ||||
* | Add RenderData interface | Simon Ser | 2019-12-17 | 1 | -2/+2 |
| | | | | This allows Go plugins to easily inject global data. | ||||
* | Allow Go Plugins to inject template data | Simon Ser | 2019-12-17 | 1 | -0/+21 |
| | |||||
* | Improve docs | Simon Ser | 2019-12-17 | 1 | -0/+13 |
| | |||||
* | go fmt | Simon Ser | 2019-12-16 | 1 | -1/+1 |
| | |||||
* | Introduce base plugin | Simon Ser | 2019-12-16 | 1 | -1/+1 |
| | | | | | | This plugin offers base IMAP/SMTP functionality. References: https://todo.sr.ht/~sircmpwn/koushin/39 | ||||
* | Add an API for Go plugins | Simon Ser | 2019-12-16 | 1 | -0/+97 |
References: https://todo.sr.ht/~sircmpwn/koushin/39 |