Create handlers that make use of the xwebhook.Service
joe94 opened this issue · 1 comments
joe94 commented
transport.go
: should contain the request decoders. This will be a nice place to add request validators.
endpoint.go
: forwarding decoded requests to the xwebhook.Service.
handler.go
: constructors for the handler of different endpoints (i.e. Register, GetAll, etc.)
Ultimately, Tr1d1um and Caduceus will import the handlers they will make use of.