context

package
v0.0.0-...-1b09624 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2020 License: MIT Imports: 1 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL