Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 958 Bytes

README.MD

File metadata and controls

50 lines (36 loc) · 958 Bytes

hll-glog-rs (wip)

Rust implementation of log reader for hll-glog

Progress

  • File V4 Reader
    • File Header
    • AES
    • Zlib
  • File V4 Writer (just for testing)
    • File Header
    • AES
    • Zlib
  • FileV3
  • API

Example

  • generate key pairs, server key will be written to .env.local
cargo run --example gen_key
  • write test.glog
# run under project root foler
cargo run --example write_example
  • read test.glog
# run under project root foler
cargo run --example read_example
  • http read buffer from multipart
# run both under project root foler
cargo run --example http
curl --form file='@test.glog' http://localhost:8080

Acknowledgements

Based on Java implementation hll-wp-glog/Misc/Reader