29 lines
722 B
Markdown
29 lines
722 B
Markdown
# MEOW lib
|
|
|
|
# Documentation generation
|
|
## required tools
|
|
* protoc
|
|
* protoc-gen-doc
|
|
* protoc-gen-uml
|
|
* go-plantuml
|
|
* plantuml (plantuml command is as shell script : `java -jar /<path-to-plantuml>/plantuml-mit-<version>.jar "$@"`)
|
|
## generation
|
|
run the shell scripts
|
|
|
|
cd pb
|
|
./protogen.sh
|
|
|
|
cd doc
|
|
./docgen.sh
|
|
|
|
# Tests
|
|
|
|
|
|
# Design notes
|
|
Config is written as a json file
|
|
Identity is stored as an encrypted json file
|
|
Prefered servers (messaging and my contact's messaging) are stored in an encrypted badger db with server url as key
|
|
Received servers are stored in a sqlite db for extensive searches, with storage limits
|
|
Messages are stored in several badger? or sqlite? db per user with send/receive time as key
|
|
|