Documentation ¶
Index ¶
- type MockContext
- func (ctx *MockContext) Context() context.Context
- func (ctx *MockContext) Deadline() (time.Time, bool)
- func (ctx *MockContext) Done() <-chan struct{}
- func (ctx *MockContext) Err() error
- func (ctx *MockContext) GetValue(key interface{}) interface{}
- func (ctx *MockContext) SetValue(key interface{}, value interface{})
- func (ctx *MockContext) Value(key interface{}) interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockContext ¶
func (*MockContext) Context ¶
func (ctx *MockContext) Context() context.Context
func (*MockContext) Done ¶
func (ctx *MockContext) Done() <-chan struct{}
func (*MockContext) Err ¶
func (ctx *MockContext) Err() error
func (*MockContext) GetValue ¶
func (ctx *MockContext) GetValue(key interface{}) interface{}
func (*MockContext) SetValue ¶
func (ctx *MockContext) SetValue(key interface{}, value interface{})
func (*MockContext) Value ¶
func (ctx *MockContext) Value(key interface{}) interface{}
Click to show internal directories.
Click to hide internal directories.