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.
The Speakeasy Go SDK for evaluating API requests/responses. Compatible with any API framework implemented on top of Go's native http library.
Supported frameworks:
- gorilla/mux
- go-chi/chi
- http.DefaultServerMux
We also support custom Http frameworks:
- gin-gonic/gin
- labstack/echo
Speakeasy uses Go Modules to manage dependencies.
go get github.com/speakeasy-api/speakeasy-go-sdk
Sign up for free on our platform. After you've created a workspace and generated an API key enable Speakeasy in your API as follows:
Configure Speakeasy at the start of your main()
function with just 2 lines of code:
import "github.com/speakeasy-api/speakeasy-go-sdk"
func main() {
speakeasy.Configure(speakeasy.Configuration {
APIKey: "YOUR API KEY HERE", // retrieve from Speakeasy API dashboard
})
// rest of your program.
}
Build and deploy your app and that's it. Your API is being tracked in the Speakeasy workspace you just created and will be visible on the dashboard next time you log in. Visit our docs site to learn more.
Coming soon !