Versions in this module Expand all Collapse all v1 v1.0.2 Jan 27, 2022 v1.0.1 Dec 1, 2021 Changes in this version + const ReqCtxKeyName + func WithReqCtx(ctx context.Context, reqCtx ReqCtx) context.Context + type ReqCtx interface + GetClientIp func() string + GetEngine func() common.Engine + GetLog func() logs.Logger + GetTimer func() *timer.XTimer + func NewReqCtx(engine common.Engine, reqId, clientIp string) (ReqCtx, error) + func ValueReqCtx(ctx context.Context) ReqCtx + type ReqCtxImpl struct + func (t *ReqCtxImpl) Deadline() (deadline time.Time, ok bool) + func (t *ReqCtxImpl) Done() <-chan struct{} + func (t *ReqCtxImpl) Err() error + func (t *ReqCtxImpl) GetClientIp() string + func (t *ReqCtxImpl) GetEngine() common.Engine + func (t *ReqCtxImpl) GetLog() logs.Logger + func (t *ReqCtxImpl) GetTimer() *timer.XTimer + func (t *ReqCtxImpl) Value(key interface{}) interface{}