1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 09:37:02 +00:00

Provide inbucket object in Lua (#351)

* fix delve fortify thingy
* Expose inbucket.after.message_stored in lua
* Expose inbucket.after.message_deleted in lua
* Expose inbucket.before.mail_accepted in lua
This commit is contained in:
James Hillyerd
2023-02-27 20:22:10 -08:00
committed by GitHub
parent 95281566f6
commit 5a886813c3
6 changed files with 344 additions and 37 deletions

View File

@@ -37,6 +37,7 @@ func (lp *statePool) newState() (*lua.LState, error) {
}
// Register custom types.
registerInbucketTypes(ls)
registerMessageMetadataType(ls)
registerMailAddressType(ls)
registerPolicyType(ls)