mock

package
v1.4.5 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 License: Apache-2.0 Imports: 5 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 MockService

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

MockService is a mock of Service interface

func NewMockService

func NewMockService(ctrl *gomock.Controller) *MockService

NewMockService creates a new mock instance

func (*MockService) CheckRecaptcha added in v1.4.0

func (m *MockService) CheckRecaptcha(ctx context.Context, action, recaptchaResponse string) error

CheckRecaptcha mocks base method

func (*MockService) Confirm

func (m *MockService) Confirm(ctx context.Context, owner, code string) error

Confirm mocks base method

func (*MockService) EXPECT

func (m *MockService) EXPECT() *MockServiceMockRecorder

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

func (*MockService) GetOwnReferralCode added in v1.1.0

func (m *MockService) GetOwnReferralCode(ctx context.Context, address string) (string, error)

GetOwnReferralCode mocks base method

func (*MockService) GetReferralConfig added in v1.2.0

func (m *MockService) GetReferralConfig() referral.Config

GetReferralConfig mocks base method

func (*MockService) GetReferralTrackingStats added in v1.1.0

func (m *MockService) GetReferralTrackingStats(ctx context.Context, address string) ([]*storage.ReferralTrackingStats, error)

GetReferralTrackingStats mocks base method

func (*MockService) GetRegisterStats added in v1.1.0

func (m *MockService) GetRegisterStats(ctx context.Context) ([]*storage.RegisterStats, int, error)

GetRegisterStats mocks base method

func (*MockService) GetRegistrationReferralCode added in v1.1.0

func (m *MockService) GetRegistrationReferralCode(ctx context.Context, address string) (string, error)

GetRegistrationReferralCode mocks base method

func (*MockService) Register

func (m *MockService) Register(ctx context.Context, email, address string, referralCode *string) error

Register mocks base method

func (*MockService) RegisterTestnetAccount added in v1.3.5

func (m *MockService) RegisterTestnetAccount(ctx context.Context, address string) error

RegisterTestnetAccount mocks base method

func (*MockService) TrackReferralBrowserInstallation added in v1.1.0

func (m *MockService) TrackReferralBrowserInstallation(ctx context.Context, address string) error

TrackReferralBrowserInstallation mocks base method

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService

func (*MockServiceMockRecorder) CheckRecaptcha added in v1.4.0

func (mr *MockServiceMockRecorder) CheckRecaptcha(ctx, action, recaptchaResponse interface{}) *gomock.Call

CheckRecaptcha indicates an expected call of CheckRecaptcha

func (*MockServiceMockRecorder) Confirm

func (mr *MockServiceMockRecorder) Confirm(ctx, owner, code interface{}) *gomock.Call

Confirm indicates an expected call of Confirm

func (*MockServiceMockRecorder) GetOwnReferralCode added in v1.1.0

func (mr *MockServiceMockRecorder) GetOwnReferralCode(ctx, address interface{}) *gomock.Call

GetOwnReferralCode indicates an expected call of GetOwnReferralCode

func (*MockServiceMockRecorder) GetReferralConfig added in v1.2.0

func (mr *MockServiceMockRecorder) GetReferralConfig() *gomock.Call

GetReferralConfig indicates an expected call of GetReferralConfig

func (*MockServiceMockRecorder) GetReferralTrackingStats added in v1.1.0

func (mr *MockServiceMockRecorder) GetReferralTrackingStats(ctx, address interface{}) *gomock.Call

GetReferralTrackingStats indicates an expected call of GetReferralTrackingStats

func (*MockServiceMockRecorder) GetRegisterStats added in v1.1.0

func (mr *MockServiceMockRecorder) GetRegisterStats(ctx interface{}) *gomock.Call

GetRegisterStats indicates an expected call of GetRegisterStats

func (*MockServiceMockRecorder) GetRegistrationReferralCode added in v1.1.0

func (mr *MockServiceMockRecorder) GetRegistrationReferralCode(ctx, address interface{}) *gomock.Call

GetRegistrationReferralCode indicates an expected call of GetRegistrationReferralCode

func (*MockServiceMockRecorder) Register

func (mr *MockServiceMockRecorder) Register(ctx, email, address, referralCode interface{}) *gomock.Call

Register indicates an expected call of Register

func (*MockServiceMockRecorder) RegisterTestnetAccount added in v1.3.5

func (mr *MockServiceMockRecorder) RegisterTestnetAccount(ctx, address interface{}) *gomock.Call

RegisterTestnetAccount indicates an expected call of RegisterTestnetAccount

func (*MockServiceMockRecorder) TrackReferralBrowserInstallation added in v1.1.0

func (mr *MockServiceMockRecorder) TrackReferralBrowserInstallation(ctx, address interface{}) *gomock.Call

TrackReferralBrowserInstallation indicates an expected call of TrackReferralBrowserInstallation

Jump to

Keyboard shortcuts

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