mock

package
v0.0.0-...-2ba808a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIDHasher

type MockIDHasher struct {
	// contains filtered or unexported fields
}

MockIDHasher is a mock of IDHasher interface.

func NewMockIDHasher

func NewMockIDHasher(ctrl *gomock.Controller) *MockIDHasher

NewMockIDHasher creates a new mock instance.

func (*MockIDHasher) Decode

func (m *MockIDHasher) Decode(hashed string) (uint32, error)

Decode mocks base method.

func (*MockIDHasher) DecodeUint64

func (m *MockIDHasher) DecodeUint64(hashed string) (uint64, error)

DecodeUint64 mocks base method.

func (*MockIDHasher) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIDHasher) Encode

func (m *MockIDHasher) Encode(id uint32) string

Encode mocks base method.

func (*MockIDHasher) EncodeUint64

func (m *MockIDHasher) EncodeUint64(id uint64) string

EncodeUint64 mocks base method.

type MockIDHasherMockRecorder

type MockIDHasherMockRecorder struct {
	// contains filtered or unexported fields
}

MockIDHasherMockRecorder is the mock recorder for MockIDHasher.

func (*MockIDHasherMockRecorder) Decode

func (mr *MockIDHasherMockRecorder) Decode(hashed interface{}) *gomock.Call

Decode indicates an expected call of Decode.

func (*MockIDHasherMockRecorder) DecodeUint64

func (mr *MockIDHasherMockRecorder) DecodeUint64(hashed interface{}) *gomock.Call

DecodeUint64 indicates an expected call of DecodeUint64.

func (*MockIDHasherMockRecorder) Encode

func (mr *MockIDHasherMockRecorder) Encode(id interface{}) *gomock.Call

Encode indicates an expected call of Encode.

func (*MockIDHasherMockRecorder) EncodeUint64

func (mr *MockIDHasherMockRecorder) EncodeUint64(id interface{}) *gomock.Call

EncodeUint64 indicates an expected call of EncodeUint64.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL