Simon Ser
b891a95fcf
Rename project to alps
4 years ago
Simon Ser
267999b6e5
Update docs with new RegisterPluginLoader function
4 years ago
Simon Ser
b58c15d121
Extract Lua infrastructure into a plugin
4 years ago
Simon Ser
01983eb7b5
Introduce PluginLoaderFunc
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
4 years ago
Simon Ser
f106c1125f
Make Go plugin handlers take a *Context
Take a *Context instead of a echo.Context. This saves a type assertion
in each handler.
4 years ago
Simon Ser
020e27fe45
Add Context to Plugin.Inject
This allows to access the request metadata and the session from injectors.
4 years ago
Simon Ser
ca3672df2a
Add RenderData interface
This allows Go plugins to easily inject global data.
4 years ago
Simon Ser
29e0879dd9
Allow Go Plugins to inject template data
4 years ago
Simon Ser
e78d2db3ea
Improve docs
4 years ago
Simon Ser
7f48702b83
go fmt
4 years ago
Simon Ser
d897eeee5c
Introduce base plugin
This plugin offers base IMAP/SMTP functionality.
References: https://todo.sr.ht/~sircmpwn/koushin/39
4 years ago
Simon Ser
e83844fbad
Add an API for Go plugins
References: https://todo.sr.ht/~sircmpwn/koushin/39
4 years ago