Skip to content

Commit 3ed43e8

Browse files
committed
lua: Document base64.encode and base64.decode
1 parent 5e38feb commit 3ed43e8

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

data/lua.js

+24
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,30 @@ export const lua_functions = [
9191
as the parent.`
9292
},
9393

94+
{
95+
name: 'base64.encode',
96+
args: {
97+
input: {
98+
type: 'string',
99+
text: 'Data to encode',
100+
}
101+
},
102+
tags: [ 'dovecot' ],
103+
text: `Base64 encodes the provided input.`
104+
},
105+
106+
{
107+
name: 'base64.decode',
108+
args: {
109+
input: {
110+
type: 'string',
111+
text: 'Data to decode',
112+
}
113+
},
114+
tags: [ 'dovecot' ],
115+
text: `Base64 decodes the provided input.`
116+
},
117+
94118
{
95119
name: 'restrict_global_variables',
96120
args: {

0 commit comments

Comments
 (0)