Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseContext ¶
type BaseContext struct { RootCtx context.Context CancelFunc context.CancelFunc }
func (*BaseContext) Done ¶
func (b *BaseContext) Done() <-chan struct{}
func (*BaseContext) IsCanceled ¶
func (b *BaseContext) IsCanceled() bool
type BizContext ¶
type BizContext struct { *BaseContext RequestId string }
func NewBizContext ¶
func NewBizContext(ctx *BaseContext, requestId string) *BizContext
Click to show internal directories.
Click to hide internal directories.