mirror of
https://github.com/arnaucube/go-dvote.git
synced 2026-02-28 21:46:46 +01:00
Add more authentication control. Fix snapshot namespace issue. Improve documentation. Signed-off-by: p4u <p4u@dabax.net>
dvot-census http service library
How to use it
processHttp.T.Init()
processHttp.Listen(1500, "http", "")
To enable authentication (using pubKey signature):
pubK := "39f54ce5293520b689f6658ea7f3401f4ff931fa3d90dea21ff901cdf82bb8aa"
processHttp.Listen(1500, "http", pubK)