mocks

package
v0.0.0-...-23ce73b Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExchangeClient

type ExchangeClient struct {
	mock.Mock
}

ExchangeClient is an autogenerated mock type for the ExchangeClient type

func (*ExchangeClient) Authenticate

Authenticate provides a mock function with given fields: ctx, creds

func (*ExchangeClient) Buy

Buy provides a mock function with given fields: ctx, costBuy

func (*ExchangeClient) CostBuy

func (_m *ExchangeClient) CostBuy(ctx context.Context, fundId string, amount float64) (*sharesies.CostBuyResponse, error)

CostBuy provides a mock function with given fields: ctx, fundId, amount

func (*ExchangeClient) CostSell

func (_m *ExchangeClient) CostSell(ctx context.Context, foundId string, shareAmount float64) (*sharesies.CostSellResponse, error)

CostSell provides a mock function with given fields: ctx, foundId, shareAmount

func (*ExchangeClient) Sell

Sell provides a mock function with given fields: ctx, sellBuy

type Scheduler

type Scheduler struct {
	mock.Mock
}

Scheduler is an autogenerated mock type for the Scheduler type

func (*Scheduler) AddFunc

func (_m *Scheduler) AddFunc(spec string, cmd func()) (cron.EntryID, error)

AddFunc provides a mock function with given fields: spec, cmd

Jump to

Keyboard shortcuts

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