Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TraceRouterWrapper ¶
type TraceRouterWrapper struct {
// contains filtered or unexported fields
}
TraceRouterWrapper of the HTTP router
func Wrap ¶
func Wrap(router *router.Router, tracer opentracing.Tracer) *TraceRouterWrapper
Wrap router
func (TraceRouterWrapper) GET ¶
func (w TraceRouterWrapper) GET(path string, h fasthttp.RequestHandler)
GET HTTP action
func (TraceRouterWrapper) Handle ¶
func (w TraceRouterWrapper) Handle(method, path string, h fasthttp.RequestHandler)
Handler HTTP action
func (TraceRouterWrapper) POST ¶
func (w TraceRouterWrapper) POST(path string, h fasthttp.RequestHandler)
POST HTTP action
Click to show internal directories.
Click to hide internal directories.