assets_storage

package
v0.0.0-...-2e430cb Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssetCurrencyPair

type AssetCurrencyPair struct {
	Identifier AssetCurrencyPairIdentifier
}

type AssetCurrencyPairIdentifier

type AssetCurrencyPairIdentifier string

type AssetSourceIdentifier

type AssetSourceIdentifier int64

type AssetUniversalIdentifier

type AssetUniversalIdentifier int64

type AssetsFilter

type AssetsFilter struct {
	TimeFilter   *AssetsTimeFilter
	SourceFilter *AssetsSourceFilter
	TypeFilter   *AssetsTypeFilter
}

type AssetsSourceFilter

type AssetsSourceFilter struct {
	SourceIdentifiers []AssetSourceIdentifier
}

type AssetsTimeFilter

type AssetsTimeFilter struct {
	StartTime *time.Time
	EndTime   *time.Time
}

type AssetsTypeFilter

type AssetsTypeFilter struct {
	AssetUniversalIdentifiers []AssetUniversalIdentifier
}

type Client

type Client struct {
}

func NewClient

func NewClient() *Client

func (*Client) GetAssets

func (client *Client) GetAssets(
	ctx context.Context,
	assetsFilter AssetsFilter,
	offset, limit int64,
) ([]AssetCurrencyPair, error)

Jump to

Keyboard shortcuts

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