Documentation ¶
Index ¶
- func ValueLogContainer(ctx context.Context) any
- func ValueLogID(ctx context.Context) string
- func ValueResponseWriter(ctx context.Context) interface{}
- func ValueTraceID(ctx context.Context) string
- func WithLogContainer(ctx context.Context, val interface{}) context.Context
- func WithLogID(ctx context.Context, val interface{}) context.Context
- func WithResponseWriter(ctx context.Context, val interface{}) context.Context
- func WithTraceID(ctx context.Context, val interface{}) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValueLogContainer ¶
ValueLogContainer extract log container from context
func ValueLogID ¶
ValueLogID extract log id from context
func ValueResponseWriter ¶
ValueResponseWriter extract response write from context
func ValueTraceID ¶
ValueTraceID extract trace id from context
func WithLogContainer ¶
WithLogContainer inject log container to context
func WithResponseWriter ¶
WithResponseWriter inject response write to context
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.