Documentation ¶
Index ¶
- Constants
- func ExtractResponseState(ctx *fasthttp.RequestCtx) interface{}
- func ExtractSpan(ctx *fasthttp.RequestCtx) interface{}
- func ExtractTracer(ctx *fasthttp.RequestCtx) interface{}
- func InjectResponseState(ctx *fasthttp.RequestCtx, responseState interface{})
- func InjectSpan(ctx *fasthttp.RequestCtx, span interface{})
- func InjectTracer(ctx *fasthttp.RequestCtx, tracer interface{})
Constants ¶
View Source
const ( USER_STORE_KEY_RESPONSE_STATE = "github.com/Bofry/host-fasthttp/internal/response::ResponseState" USER_STORE_KEY_SEVERITY_TRACER = "github.com/Bofry/trace::SeverityTracer" USER_STORE_KEY_SEVERITY_SPAN = "github.com/Bofry/trace::SeveritySpan" )
Variables ¶
This section is empty.
Functions ¶
func ExtractResponseState ¶
func ExtractResponseState(ctx *fasthttp.RequestCtx) interface{}
func ExtractSpan ¶
func ExtractSpan(ctx *fasthttp.RequestCtx) interface{}
func ExtractTracer ¶
func ExtractTracer(ctx *fasthttp.RequestCtx) interface{}
func InjectResponseState ¶
func InjectResponseState(ctx *fasthttp.RequestCtx, responseState interface{})
func InjectSpan ¶
func InjectSpan(ctx *fasthttp.RequestCtx, span interface{})
func InjectTracer ¶
func InjectTracer(ctx *fasthttp.RequestCtx, tracer interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.