* add stats model
* add stats collection
* add stats route
* propagate stuff and run stuff
* cargo stuff
* sqlx unused what?
* add sessions started stat
* session durations in miliseconds
* apply Jon's comments
* [Product Data] Second step in gateway usage data collection (#4964)
* turn stats collection into event based
* move events into a common crate for future use elsewhere
* apply Jon's comments
* Create credential verifier in authenticator
* Add new version of peer storage with client id
* Fix v1 to what it was before
* Compact storage into ecash verifier
* Fix non-linux build
* Less overlapping conditions
* Remove moved code
* Use handler thread for each peer
* Re-spawn stored handles at startup
* Keep new function without async & Result
* Put query peer in function too
* Query bandwidth
* Fix clippy
* Replace tap with inspect_err
* Fix copyright year
* Handle version 2 on the reqeust deser
* Add protocol type in req/resp messages
* Include wireguard in gw config
* Support nym node first
* Create wg keypair
* Activate wg feature in gw dep
* Move key paths to separate structure
* Use client reg
* Generate and use own private key
* Rename network to ip for wg gw
* Propagate wireguard setup error message
* Remove logs
* Bump gateway version number
* Remove upgrade code
* Init wireguard on migration
* Upgrade code for nym-node too
* Wireguard paths upgrade
* Init wg keys on upgrade
* Simplify pub key translatations
* Fix clippy
* Undo comment change
* Fix tests
* Don't bump version just yet
* Remove redundant source attr
* Remove unused wg details
* Rename wg device
* Init for mixnode migration as well
* Add upgrade for gw wireguard deleted field
* Move interface removal to Drop trait impl
* Fix clippy
* Wgapi could be included on other platforms
* Handle peer control msgs
* Send add peer msg
* Handle double registration
* Fix deadlock
* Fix clippy
* More clippy
* Use same defguard
* Fix unit test
* Fix wasm build
* Move implementations from types to wireguard crate
* Fix linux
* Include wireguard in gw config
* Support nym node first
* Create wg keypair
* Activate wg feature in gw dep
* Move key paths to separate structure
* Use client reg
* Generate and use own private key
* Rename network to ip for wg gw
* Propagate wireguard setup error message
* Remove logs
* Bump gateway version number
* Remove upgrade code
* Init wireguard on migration
* Upgrade code for nym-node too
* Wireguard paths upgrade
* Init wg keys on upgrade
* Simplify pub key translatations
* Fix clippy
* Undo comment change
* Fix tests
* Don't bump version just yet
* Remove redundant source attr
* Remove unused wg details
* Rename wg device
* Init for mixnode migration as well
* Add upgrade for gw wireguard deleted field
* Move interface removal to Drop trait impl
* Fix clippy
* Wgapi could be included on other platforms