Crate hash_router

Source
Expand description

Hash router for routing internal ID’s to services

Still a WIP but is made to efficiently map discord id’s and trade hashes to services when providing discord message signals

§Supported service identities

  • Discord message ID’s
  • Discord channel ID’s
  • Discord guild ID’s
  • Trade hashes

§Table of contents

Modules§

db
Databasing & Cache of the trade identities
errors
This module abstracts the errors encountered within the hash routing process.
model
Models for hash router
router
Router will handle the routing of the trade hash to or from the correct service
success
Success or Ok response abstraction is defined here
utils
Utilities abstraction holding small helper functions