mock

package
v0.0.0-...-8a9ab7f Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

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 MockFetcher

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

MockFetcher is a mock of Fetcher interface.

func NewMockFetcher

func NewMockFetcher(ctrl *gomock.Controller) *MockFetcher

NewMockFetcher creates a new mock instance.

func (*MockFetcher) EXPECT

func (m *MockFetcher) EXPECT() *MockFetcherMockRecorder

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

func (*MockFetcher) Fetch

func (m *MockFetcher) Fetch(arg0 string) ([]byte, error)

Fetch mocks base method.

type MockFetcherMockRecorder

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

MockFetcherMockRecorder is the mock recorder for MockFetcher.

func (*MockFetcherMockRecorder) Fetch

func (mr *MockFetcherMockRecorder) Fetch(arg0 interface{}) *gomock.Call

Fetch indicates an expected call of Fetch.

type MockHasher

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

MockHasher is a mock of Hasher interface.

func NewMockHasher

func NewMockHasher(ctrl *gomock.Controller) *MockHasher

NewMockHasher creates a new mock instance.

func (*MockHasher) EXPECT

func (m *MockHasher) EXPECT() *MockHasherMockRecorder

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

func (*MockHasher) Hash

func (m *MockHasher) Hash(arg0 []byte) string

Hash mocks base method.

type MockHasherMockRecorder

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

MockHasherMockRecorder is the mock recorder for MockHasher.

func (*MockHasherMockRecorder) Hash

func (mr *MockHasherMockRecorder) Hash(arg0 interface{}) *gomock.Call

Hash indicates an expected call of Hash.

type MockStringWriter

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

MockStringWriter is a mock of StringWriter interface.

func NewMockStringWriter

func NewMockStringWriter(ctrl *gomock.Controller) *MockStringWriter

NewMockStringWriter creates a new mock instance.

func (*MockStringWriter) EXPECT

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

func (*MockStringWriter) WriteString

func (m *MockStringWriter) WriteString(arg0 string) (int, error)

WriteString mocks base method.

type MockStringWriterMockRecorder

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

MockStringWriterMockRecorder is the mock recorder for MockStringWriter.

func (*MockStringWriterMockRecorder) WriteString

func (mr *MockStringWriterMockRecorder) WriteString(arg0 interface{}) *gomock.Call

WriteString indicates an expected call of WriteString.

Jump to

Keyboard shortcuts

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