coinlib

package
v0.0.0-...-20dc6fc Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFlags

func NewFlags() []cli.Flag

NewFlags return cli config for coinlib

Types

type CoinLib

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

CoinLib data source only support

func New

func New(key string) *CoinLib

New make new coinlib client

func NewCoinLibFromContext

func NewCoinLibFromContext(c *cli.Context) *CoinLib

NewCoinLibFromContext return coinlib provider

func (CoinLib) Name

func (c CoinLib) Name() string

Name ...

func (CoinLib) USDRate

func (c CoinLib) USDRate(timestamp time.Time) (float64, error)

USDRate ..

Jump to

Keyboard shortcuts

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