rates

package
v4.14.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RateUpdater

type RateUpdater struct {
	observable.Implementation
	// contains filtered or unexported fields
}

RateUpdater implements coin.RateUpdater.

func NewRateUpdater

func NewRateUpdater(socksProxy socksproxy.SocksProxy) *RateUpdater

NewRateUpdater returns a new rates updater.

func (*RateUpdater) Last

func (updater *RateUpdater) Last() map[string]map[string]float64

Last returns the last rates for a given coin and fiat or nil if not available.

Jump to

Keyboard shortcuts

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