Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
Context is used to in dm to record some context field like * go context * logger
func NewContext ¶
NewContext return a new Context
func (*Context) WithCancel ¶
func (c *Context) WithCancel() (*Context, gcontext.CancelFunc)
WithCancel sets a cancel context.
func (*Context) WithContext ¶
WithContext set go context
Click to show internal directories.
Click to hide internal directories.