suyashkumar/conduit

[Refactor] Refactor this repo to make things more canonical

Closed this issue · 1 comments

For example, it would be good to:

  • Give each handler class its own handler package w/ types.go where relevant
  • Export Interfaces from packages, not structs directly
  • HandlerContext should perhaps be renamed or refactored to indicate it can carry items that are more global than stuff from a given request context.

Interfaces should be named more canonically. For example ConduitMQTTClient in package mqtt should simply be Client.