Documentation ¶
Overview ¶
Package ppfasthttprouter instruments the fasthttp/router package (https://github.com/fasthttp/router).
This package instruments inbound requests handled by a fasthttp/router.Router. Use New() to trace all handlers:
r := ppfasthttprouter.New() r.GET("/", Index) r.GET("/hello/:name", Hello)
Index ¶
- type Router
- func (r *Router) ANY(path string, handler fasthttp.RequestHandler)
- func (r *Router) CONNECT(path string, handler fasthttp.RequestHandler)
- func (r *Router) DELETE(path string, handler fasthttp.RequestHandler)
- func (r *Router) GET(path string, handler fasthttp.RequestHandler)
- func (r *Router) HEAD(path string, handler fasthttp.RequestHandler)
- func (r *Router) Handle(method, path string, handler fasthttp.RequestHandler)
- func (r *Router) OPTIONS(path string, handler fasthttp.RequestHandler)
- func (r *Router) PATCH(path string, handler fasthttp.RequestHandler)
- func (r *Router) POST(path string, handler fasthttp.RequestHandler)
- func (r *Router) PUT(path string, handler fasthttp.RequestHandler)
- func (r *Router) TRACE(path string, handler fasthttp.RequestHandler)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.