package
0.0.11
Repository: https://github.com/rookie-ninja/rk-zero.git
Documentation: pkg.go.dev

# Functions

AddHeaderToClient headers that would be sent to client.
EndTraceSpan end span.
GetCsrfToken return csrf token if exists.
GetEntryName extract entry name from context.
GetEvent extract takes the call-scoped EventData from middleware.
GetIncomingHeaders extract call-scoped incoming headers.
GetJwtToken return jwt.Token if exists.
GetLogger extract takes the call-scoped zap logger from middleware.
GetRequestId extract request id from context.
GetTraceId extract trace id from context.
GetTracer extract the call-scoped tracer from context.
GetTracerPropagator extract takes the call-scoped propagator from middleware.
GetTracerProvider extract the call-scoped tracer provider from context.
GetTraceSpan extract the call-scoped span from context.
InjectSpanToHttpRequest inject span to http request.
NewTraceSpan start a new span.
SetHeaderToClient headers that would be sent to client.