This buildpack automatically enables Sqreen for Go. It is a companion buildpack of Heroku's official buildpack for Go.
Click the following Heroku Button to deploy a Go HTTP server example protected
by Sqreen. Its source-code can be found in the example/
directory.
- Add this buildpack before the official
heroku-buildpack-go
:
-
Add the Sqreen addon: https://elements.heroku.com/addons/sqreen
-
Add Sqreen's HTTP middleware for your framework: https://godoc.org/github.com/sqreen/go-agent/sdk/middleware
-
Deploy your Go app to Heroku.
Congratulations, your app is now protected by Sqreen!