Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hasher ¶
Hasher is an autogenerated mock type for the Hasher type
func NewHasher ¶
NewHasher creates a new instance of Hasher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Hasher) EXPECT ¶
func (_m *Hasher) EXPECT() *Hasher_Expecter
type Hasher_Expecter ¶
type Hasher_Expecter struct {
// contains filtered or unexported fields
}
func (*Hasher_Expecter) HashCode ¶
func (_e *Hasher_Expecter) HashCode(key interface{}) *Hasher_HashCode_Call
HashCode is a helper method to define mock.On call
- key []byte
type Hasher_HashCode_Call ¶
Hasher_HashCode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HashCode'
func (*Hasher_HashCode_Call) Return ¶
func (_c *Hasher_HashCode_Call) Return(_a0 uint64) *Hasher_HashCode_Call
func (*Hasher_HashCode_Call) Run ¶
func (_c *Hasher_HashCode_Call) Run(run func(key []byte)) *Hasher_HashCode_Call
func (*Hasher_HashCode_Call) RunAndReturn ¶
func (_c *Hasher_HashCode_Call) RunAndReturn(run func([]byte) uint64) *Hasher_HashCode_Call
Click to show internal directories.
Click to hide internal directories.