Enable CLI driver of async session #49

Merged
lash merged 14 commits from lash/async-driver into master 2024-09-14 16:52:07 +02:00
Owner

This PR refactors the HTTP handler by extracting all code not http specific to internal/handlers/*.go

It introduces an interface RequestSession that gets passed around different phases of request lifetime.

Also added is a new CLI tool cmd/async/main.go which drives the same asynchronous code execution as the http requests, but without the added overhead of using curl, postman etc.

This PR refactors the HTTP handler by extracting all code not http specific to internal/handlers/*.go It introduces an interface RequestSession that gets passed around different phases of request lifetime. Also added is a new CLI tool `cmd/async/main.go` which drives the same asynchronous code execution as the http requests, but without the added overhead of using curl, postman etc.
lash added 3 commits 2024-09-12 05:17:57 +02:00
lash added 1 commit 2024-09-12 05:19:30 +02:00
lash added 1 commit 2024-09-12 17:46:27 +02:00
lash added 9 commits 2024-09-14 16:28:07 +02:00
lash merged commit b5d33a98f0 into master 2024-09-14 16:52:07 +02:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: urdt/ussd#49
No description provided.