mocks

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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 MockFunpay

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

MockFunpay is a mock of Funpay interface.

func NewMockFunpay

func NewMockFunpay(ctrl *gomock.Controller) *MockFunpay

NewMockFunpay creates a new mock instance.

func (*MockFunpay) Balance

func (m *MockFunpay) Balance() int64

Balance mocks base method.

func (*MockFunpay) BaseURL

func (m *MockFunpay) BaseURL() string

BaseURL mocks base method.

func (*MockFunpay) CSRFToken

func (m *MockFunpay) CSRFToken() string

CSRFToken mocks base method.

func (*MockFunpay) Cookies

func (m *MockFunpay) Cookies() []*http.Cookie

Cookies mocks base method.

func (*MockFunpay) EXPECT

func (m *MockFunpay) EXPECT() *MockFunpayMockRecorder

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

func (*MockFunpay) GoldenKey

func (m *MockFunpay) GoldenKey() string

GoldenKey mocks base method.

func (*MockFunpay) Locale

func (m *MockFunpay) Locale() funpay.Locale

Locale mocks base method.

func (*MockFunpay) Request

func (m *MockFunpay) Request(ctx context.Context, requestURL string, opts ...funpay.RequestOpt) (*http.Response, error)

Request mocks base method.

func (*MockFunpay) RequestHTML

func (m *MockFunpay) RequestHTML(ctx context.Context, requestURL string, opts ...funpay.RequestOpt) (*goquery.Document, error)

RequestHTML mocks base method.

func (*MockFunpay) SetBaseURL

func (m *MockFunpay) SetBaseURL(baseURL string)

SetBaseURL mocks base method.

func (*MockFunpay) SetProxy

func (m *MockFunpay) SetProxy(proxy *url.URL)

SetProxy mocks base method.

func (*MockFunpay) Update

func (m *MockFunpay) Update(ctx context.Context) error

Update mocks base method.

func (*MockFunpay) UpdateLocale

func (m *MockFunpay) UpdateLocale(ctx context.Context, locale funpay.Locale) error

UpdateLocale mocks base method.

func (*MockFunpay) UserAgent

func (m *MockFunpay) UserAgent() string

UserAgent mocks base method.

func (*MockFunpay) UserID

func (m *MockFunpay) UserID() int64

UserID mocks base method.

func (*MockFunpay) Username

func (m *MockFunpay) Username() string

Username mocks base method.

type MockFunpayMockRecorder

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

MockFunpayMockRecorder is the mock recorder for MockFunpay.

func (*MockFunpayMockRecorder) Balance

func (mr *MockFunpayMockRecorder) Balance() *gomock.Call

Balance indicates an expected call of Balance.

func (*MockFunpayMockRecorder) BaseURL

func (mr *MockFunpayMockRecorder) BaseURL() *gomock.Call

BaseURL indicates an expected call of BaseURL.

func (*MockFunpayMockRecorder) CSRFToken

func (mr *MockFunpayMockRecorder) CSRFToken() *gomock.Call

CSRFToken indicates an expected call of CSRFToken.

func (*MockFunpayMockRecorder) Cookies

func (mr *MockFunpayMockRecorder) Cookies() *gomock.Call

Cookies indicates an expected call of Cookies.

func (*MockFunpayMockRecorder) GoldenKey

func (mr *MockFunpayMockRecorder) GoldenKey() *gomock.Call

GoldenKey indicates an expected call of GoldenKey.

func (*MockFunpayMockRecorder) Locale

func (mr *MockFunpayMockRecorder) Locale() *gomock.Call

Locale indicates an expected call of Locale.

func (*MockFunpayMockRecorder) Request

func (mr *MockFunpayMockRecorder) Request(ctx, requestURL any, opts ...any) *gomock.Call

Request indicates an expected call of Request.

func (*MockFunpayMockRecorder) RequestHTML

func (mr *MockFunpayMockRecorder) RequestHTML(ctx, requestURL any, opts ...any) *gomock.Call

RequestHTML indicates an expected call of RequestHTML.

func (*MockFunpayMockRecorder) SetBaseURL

func (mr *MockFunpayMockRecorder) SetBaseURL(baseURL any) *gomock.Call

SetBaseURL indicates an expected call of SetBaseURL.

func (*MockFunpayMockRecorder) SetProxy

func (mr *MockFunpayMockRecorder) SetProxy(proxy any) *gomock.Call

SetProxy indicates an expected call of SetProxy.

func (*MockFunpayMockRecorder) Update

func (mr *MockFunpayMockRecorder) Update(ctx any) *gomock.Call

Update indicates an expected call of Update.

func (*MockFunpayMockRecorder) UpdateLocale

func (mr *MockFunpayMockRecorder) UpdateLocale(ctx, locale any) *gomock.Call

UpdateLocale indicates an expected call of UpdateLocale.

func (*MockFunpayMockRecorder) UserAgent

func (mr *MockFunpayMockRecorder) UserAgent() *gomock.Call

UserAgent indicates an expected call of UserAgent.

func (*MockFunpayMockRecorder) UserID

func (mr *MockFunpayMockRecorder) UserID() *gomock.Call

UserID indicates an expected call of UserID.

func (*MockFunpayMockRecorder) Username

func (mr *MockFunpayMockRecorder) Username() *gomock.Call

Username indicates an expected call of Username.

type MockLots

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

MockLots is a mock of Lots interface.

func NewMockLots

func NewMockLots(ctrl *gomock.Controller) *MockLots

NewMockLots creates a new mock instance.

func (*MockLots) ByUser

func (m *MockLots) ByUser(ctx context.Context, userID int64) (map[string][]string, error)

ByUser mocks base method.

func (*MockLots) EXPECT

func (m *MockLots) EXPECT() *MockLotsMockRecorder

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

func (*MockLots) Fields

func (m *MockLots) Fields(ctx context.Context, nodeID, offerID string) (lots.Fields, error)

Fields mocks base method.

func (*MockLots) List

func (m *MockLots) List() map[string][]string

List mocks base method.

func (*MockLots) Save

func (m *MockLots) Save(ctx context.Context, fields lots.Fields) error

Save mocks base method.

func (*MockLots) Update

func (m *MockLots) Update(ctx context.Context) error

Update mocks base method.

type MockLotsMockRecorder

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

MockLotsMockRecorder is the mock recorder for MockLots.

func (*MockLotsMockRecorder) ByUser

func (mr *MockLotsMockRecorder) ByUser(ctx, userID any) *gomock.Call

ByUser indicates an expected call of ByUser.

func (*MockLotsMockRecorder) Fields

func (mr *MockLotsMockRecorder) Fields(ctx, nodeID, offerID any) *gomock.Call

Fields indicates an expected call of Fields.

func (*MockLotsMockRecorder) List

func (mr *MockLotsMockRecorder) List() *gomock.Call

List indicates an expected call of List.

func (*MockLotsMockRecorder) Save

func (mr *MockLotsMockRecorder) Save(ctx, fields any) *gomock.Call

Save indicates an expected call of Save.

func (*MockLotsMockRecorder) Update

func (mr *MockLotsMockRecorder) Update(ctx any) *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

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