Software /
code /
prosody
Diff
doc/storage.tld @ 10838:f26f2ec33f1e
doc/storage: Add archive store map-like API
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 11 May 2020 22:32:28 +0200 |
parent | 9903:2c5546cc5c70 |
line wrap: on
line diff
--- a/doc/storage.tld Mon May 11 21:56:19 2020 +0200 +++ b/doc/storage.tld Mon May 11 22:32:28 2020 +0200 @@ -50,6 +50,10 @@ -- Map of counts per "with" field summary : ( self, string?, archive_query? ) -> ( { string : integer } ) | (nil, string) + + -- Map-store API + get : ( self, string, string ) -> (stanza, number?, string?) | (nil, string) + set : ( self, string, string, stanza, number?, string? ) -> (boolean) | (nil, string) end -- This represents moduleapi