Skip to content

Commit

Permalink
Merge branch 'master' into kkumar-gcc/#441
Browse files Browse the repository at this point in the history
  • Loading branch information
kkumar-gcc authored Oct 31, 2024
2 parents cdefff2 + 1404bff commit 0a92665
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contracts/route/route.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ type Route interface {
ServeHTTP(writer http.ResponseWriter, request *http.Request)
// Stop gracefully stop the serve.
Stop(ctx ...context.Context) error
// Test method to simulate HTTP requests (Fiber driver only)
Test(request *http.Request) (*http.Response, error)
}

type Router interface {
Expand Down
58 changes: 58 additions & 0 deletions mocks/route/Route.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0a92665

Please sign in to comment.