preciousmetals

package
v0.0.0-...-78aa096 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2026 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

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

func New

func New(conf providerlib.ConfigIface) *Provider

func (*Provider) FetchPrices

func (p *Provider) FetchPrices(assets []*asset.Asset) (map[string]float64, error)

func (*Provider) FetchesAllAssets

func (*Provider) FetchesAllAssets() bool

func (*Provider) Name

func (*Provider) Name() string

func (*Provider) SupportedIDs

func (*Provider) SupportedIDs() map[string]struct{}

func (*Provider) SupportsAssetId

func (p *Provider) SupportsAssetId(assetId string) bool

func (*Provider) SupportsAssetType

func (*Provider) SupportsAssetType(assetType string) bool

Jump to

Keyboard shortcuts

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