mocks

package
v0.0.0-...-9ae6259 Latest Latest
Warning

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

Go to latest
Published: May 14, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMongo

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

MockMongo is a mock of Mongo interface

func NewMockMongo

func NewMockMongo(ctrl *gomock.Controller) *MockMongo

NewMockMongo creates a new mock instance

func (*MockMongo) EXPECT

func (m *MockMongo) EXPECT() *MockMongoMockRecorder

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

func (*MockMongo) GetUserHistory

func (m *MockMongo) GetUserHistory(addr string) (*mongo.UserHistory, error)

GetUserHistory mocks base method

func (*MockMongo) PutUserHistory

func (m *MockMongo) PutUserHistory(doc *mongo.UserHistory) error

PutUserHistory mocks base method

type MockMongoMockRecorder

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

MockMongoMockRecorder is the mock recorder for MockMongo

func (*MockMongoMockRecorder) GetUserHistory

func (mr *MockMongoMockRecorder) GetUserHistory(addr interface{}) *gomock.Call

GetUserHistory indicates an expected call of GetUserHistory

func (*MockMongoMockRecorder) PutUserHistory

func (mr *MockMongoMockRecorder) PutUserHistory(doc interface{}) *gomock.Call

PutUserHistory indicates an expected call of PutUserHistory

Jump to

Keyboard shortcuts

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