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) WithContext ¶
WithContext set go context.
func (*Context) WithLogger ¶
WithLogger set logger.
func (*Context) WithTimeout ¶
WithTimeout sets a timeout associated context.
Click to show internal directories.
Click to hide internal directories.