Skip to content

techjanitor/gin-trace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gin-trace

trace middleware for gin

import "github.com/techjanitor/gin-trace"

https://github.com/gin-gonic/gin

https://godoc.org/golang.org/x/net/trace

	router := gin.New()

    // Add the trace middleware to your router or group
	router.Use(trace.Trace())
	
    // Add the controller to view the default request handler
	router.GET("/debug/requests", trace.TraceController)

About

trace middleware for gin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages