package
module
Version:
v0.0.0-...-11571ae
Opens a new window with list of versions in this module.
Published: Jul 6, 2017
License: BSD-3-Clause
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 3
Opens a new window with list of known importers.
README
¶
GoRelic
NewRelic middleware for gin-gonic framework.
Usage
import(
"github.com/gin-gonic/gin"
"github.com/brandfolder/gin-gorelic"
)
func main(){
g := gin.Default()
gorelic.InitNewrelicAgent("YOUR_NEWRELIC_LICENSE_KEY", "YOUR_APPLICATION_NAME", true)
g.Use(gorelic.Handler)
g.Run()
}
Authors
Documentation
¶
InitNewrelicAgent creates the new relic agent
Source Files
¶
Click to show internal directories.
Click to hide internal directories.