client

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: 8 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 coingecko

Types

type Client

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

Client ...

func New

func New(c *http.Client, baseURL string) *Client

New ...

func NewFromContext

func NewFromContext(c *cli.Context) *Client

NewFromContext return usdrate client

func (*Client) Name

func (c *Client) Name() string

Name ...

func (*Client) USDRate

func (c *Client) 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