mock_bitflyer

package
v0.0.0-...-f003305 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_bitflyer is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

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

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) CheckInventory

func (m *MockClient) CheckInventory(ctx context.Context) (map[string]bitflyer.Inventory, error)

CheckInventory mocks base method.

func (*MockClient) CheckPayoutStatus

CheckPayoutStatus mocks base method.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) FetchBalance

func (m *MockClient) FetchBalance(ctx context.Context) (*bitflyer.InventoryResponse, error)

FetchBalance mocks base method.

func (*MockClient) FetchQuote

func (m *MockClient) FetchQuote(ctx context.Context, productCode string, readFromFile bool) (*bitflyer.Quote, error)

FetchQuote mocks base method.

func (*MockClient) RefreshToken

func (m *MockClient) RefreshToken(ctx context.Context, payload bitflyer.TokenPayload) (*bitflyer.TokenResponse, error)

RefreshToken mocks base method.

func (*MockClient) SetAuthToken

func (m *MockClient) SetAuthToken(authToken string)

SetAuthToken mocks base method.

func (*MockClient) UploadBulkPayout

UploadBulkPayout mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) CheckInventory

func (mr *MockClientMockRecorder) CheckInventory(ctx interface{}) *gomock.Call

CheckInventory indicates an expected call of CheckInventory.

func (*MockClientMockRecorder) CheckPayoutStatus

func (mr *MockClientMockRecorder) CheckPayoutStatus(ctx, payload interface{}) *gomock.Call

CheckPayoutStatus indicates an expected call of CheckPayoutStatus.

func (*MockClientMockRecorder) FetchBalance

func (mr *MockClientMockRecorder) FetchBalance(ctx interface{}) *gomock.Call

FetchBalance indicates an expected call of FetchBalance.

func (*MockClientMockRecorder) FetchQuote

func (mr *MockClientMockRecorder) FetchQuote(ctx, productCode, readFromFile interface{}) *gomock.Call

FetchQuote indicates an expected call of FetchQuote.

func (*MockClientMockRecorder) RefreshToken

func (mr *MockClientMockRecorder) RefreshToken(ctx, payload interface{}) *gomock.Call

RefreshToken indicates an expected call of RefreshToken.

func (*MockClientMockRecorder) SetAuthToken

func (mr *MockClientMockRecorder) SetAuthToken(authToken interface{}) *gomock.Call

SetAuthToken indicates an expected call of SetAuthToken.

func (*MockClientMockRecorder) UploadBulkPayout

func (mr *MockClientMockRecorder) UploadBulkPayout(ctx, payload interface{}) *gomock.Call

UploadBulkPayout indicates an expected call of UploadBulkPayout.

Jump to

Keyboard shortcuts

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