assets

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func NewAssetsService

func NewAssetsService(
	storage assetsStorage,
) *Service

func (*Service) AddAssets

func (service *Service) AddAssets(
	ctx context.Context,
	assets []model.AddAssetCurrencyPairData,
) ([]model.AssetCurrencyPair, error)

func (*Service) GetAssets

func (service *Service) GetAssets(
	ctx context.Context,
	filter model.AssetFilters,
	offset, limit int64,
) ([]model.AssetCurrencyPair, error)

Jump to

Keyboard shortcuts

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