Documentation ¶
Overview ¶
Package mock is just for test only.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
Context is a mock context.Context for test.
func (*Context) ClearValue ¶
ClearValue implements context.Context ClearValue interface.
func (*Context) GetTxn ¶
func (c *Context) GetTxn(forceNew bool) (kv.Transaction, error)
GetTxn implements context.Context GetTxn interface.
Click to show internal directories.
Click to hide internal directories.