mock

package
v1.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2020 License: MIT Imports: 4 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 MockDao

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

MockDao is a mock of Dao interface

func NewMockDao

func NewMockDao(ctrl *gomock.Controller) *MockDao

NewMockDao creates a new mock instance

func (*MockDao) Close

func (m *MockDao) Close()

Close mocks base method

func (*MockDao) EXPECT

func (m *MockDao) EXPECT() *MockDaoMockRecorder

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

func (*MockDao) Ping

func (m *MockDao) Ping(arg0 context.Context) error

Ping mocks base method

func (*MockDao) ReadPingCount

func (m *MockDao) ReadPingCount(arg0 context.Context, arg1 model.PingType) (model.PingCount, error)

ReadPingCount mocks base method

func (*MockDao) UpdatePingCount

func (m *MockDao) UpdatePingCount(arg0 context.Context, arg1 model.PingType, arg2 model.PingCount) error

UpdatePingCount mocks base method

type MockDaoMockRecorder

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

MockDaoMockRecorder is the mock recorder for MockDao

func (*MockDaoMockRecorder) Close

func (mr *MockDaoMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockDaoMockRecorder) Ping

func (mr *MockDaoMockRecorder) Ping(arg0 interface{}) *gomock.Call

Ping indicates an expected call of Ping

func (*MockDaoMockRecorder) ReadPingCount

func (mr *MockDaoMockRecorder) ReadPingCount(arg0, arg1 interface{}) *gomock.Call

ReadPingCount indicates an expected call of ReadPingCount

func (*MockDaoMockRecorder) UpdatePingCount

func (mr *MockDaoMockRecorder) UpdatePingCount(arg0, arg1, arg2 interface{}) *gomock.Call

UpdatePingCount indicates an expected call of UpdatePingCount

Jump to

Keyboard shortcuts

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