|
||
---|---|---|
client | ||
doc | ||
pb | ||
server | ||
.drone.yml | ||
.gitignore | ||
asymcrypt_test.go | ||
asymcrypt.go | ||
buffer_test.go | ||
buffer.go | ||
clean.sh | ||
contactcard_test.go | ||
contactcard.go | ||
crypt.go | ||
endtoend_test.go | ||
go.mod | ||
go.sum | ||
LICENSE | ||
message.go | ||
messages.pb.go | ||
proto_test.go | ||
README.md | ||
servercard.go | ||
symcrypt_test.go | ||
symcrypt.go |
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