crypto

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CoinbaseSource types.Source = "Coinbase"

Functions

This section is empty.

Types

type CoinbaseUSDCProvider

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

CoinbaseUSDCProvider fetches USDC/USD spot price from Coinbase.

func NewCoinbaseUSDCProvider

func NewCoinbaseUSDCProvider(timeout time.Duration) *CoinbaseUSDCProvider

NewCoinbaseUSDCProvider creates a new instance of the Coinbase USDC provider.

func (*CoinbaseUSDCProvider) Fetch

func (*CoinbaseUSDCProvider) Interval

func (p *CoinbaseUSDCProvider) Interval() time.Duration

func (*CoinbaseUSDCProvider) Name

func (p *CoinbaseUSDCProvider) Name() string

Jump to

Keyboard shortcuts

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