Skip to content

Commit 6355696

Browse files
feat: add support for custom net/http ServeMux routers like datadogs
1 parent e8304a0 commit 6355696

File tree

5 files changed

+1014
-16
lines changed

5 files changed

+1014
-16
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,18 @@
44

55
Speakeasy is your API Platform team as a service. Use our drop in SDK to manage all your API Operations including embeds for request logs and usage dashboards, test case generation from traffic, and understanding API drift.
66

7-
The Speakeasy Go SDK for evaluating API requests/responses. Compatible with any API framework implemented on top of Go's native http library.
7+
The Speakeasy Go SDK for evaluating API requests/responses. Compatible with any API framework implemented on top of Go's native http library.
88

99
## Requirements
1010

11-
Supported routers:
11+
Supported routers:
1212

1313
* gorilla/mux
1414
* go-chi/chi
1515
* http.DefaultServerMux
16+
* Routers based on the net/http ServeMux interface such as DataDog's httptrace - https://pkg.go.dev/gopkg.in/DataDog/[email protected]/contrib/net/http
1617

17-
We also support custom HTTP frameworks:
18+
We also support custom HTTP frameworks:
1819

1920
* gin-gonic/gin
2021
* labstack/echo

go.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.16
44

55
require (
66
github.com/chromedp/cdproto v0.0.0-20220629234738-4cfc9cdeeb92
7-
github.com/stretchr/testify v1.7.5
7+
github.com/stretchr/testify v1.8.1
88
)
99

1010
require (
@@ -17,4 +17,5 @@ require (
1717
github.com/speakeasy-api/speakeasy-schemas v1.3.0
1818
go.uber.org/zap v1.21.0
1919
google.golang.org/grpc v1.48.0
20+
gopkg.in/DataDog/dd-trace-go.v1 v1.45.1
2021
)

0 commit comments

Comments
 (0)