mmock

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mmock is a generated GoMock package.

Package mmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIItem

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

MockIItem is a mock of IItem interface.

func NewMockIItem

func NewMockIItem(ctrl *gomock.Controller) *MockIItem

NewMockIItem creates a new mock instance.

func (*MockIItem) Decode

func (m *MockIItem) Decode(arg0 []byte) error

Decode mocks base method.

func (*MockIItem) EXPECT

func (m *MockIItem) EXPECT() *MockIItemMockRecorder

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

func (*MockIItem) Encode

func (m *MockIItem) Encode() ([]byte, error)

Encode mocks base method.

func (*MockIItem) ID

func (m *MockIItem) ID() int

ID mocks base method.

func (*MockIItem) Sign

func (m *MockIItem) Sign() []byte

Sign mocks base method.

type MockIItemMockRecorder

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

MockIItemMockRecorder is the mock recorder for MockIItem.

func (*MockIItemMockRecorder) Decode

func (mr *MockIItemMockRecorder) Decode(arg0 interface{}) *gomock.Call

Decode indicates an expected call of Decode.

func (*MockIItemMockRecorder) Encode

func (mr *MockIItemMockRecorder) Encode() *gomock.Call

Encode indicates an expected call of Encode.

func (*MockIItemMockRecorder) ID

func (mr *MockIItemMockRecorder) ID() *gomock.Call

ID indicates an expected call of ID.

func (*MockIItemMockRecorder) Sign

func (mr *MockIItemMockRecorder) Sign() *gomock.Call

Sign indicates an expected call of Sign.

type MockIKeyCache

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

MockIKeyCache is a mock of IKeyCache interface.

func NewMockIKeyCache

func NewMockIKeyCache(ctrl *gomock.Controller) *MockIKeyCache

NewMockIKeyCache creates a new mock instance.

func (*MockIKeyCache) Count

func (m *MockIKeyCache) Count() int

Count mocks base method.

func (*MockIKeyCache) EXPECT

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

func (*MockIKeyCache) Get

func (m *MockIKeyCache) Get(arg0 keycache.IItem) error

Get mocks base method.

func (*MockIKeyCache) Set

func (m *MockIKeyCache) Set(arg0 keycache.IItem) error

Set mocks base method.

type MockIKeyCacheMockRecorder

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

MockIKeyCacheMockRecorder is the mock recorder for MockIKeyCache.

func (*MockIKeyCacheMockRecorder) Count

func (mr *MockIKeyCacheMockRecorder) Count() *gomock.Call

Count indicates an expected call of Count.

func (*MockIKeyCacheMockRecorder) Get

func (mr *MockIKeyCacheMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockIKeyCacheMockRecorder) Set

func (mr *MockIKeyCacheMockRecorder) Set(arg0 interface{}) *gomock.Call

Set indicates an expected call of Set.

Jump to

Keyboard shortcuts

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