cc

package
v0.0.0-...-6c4cad4 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Converter *converterEndpoint
	// contains filtered or unexported fields
}

Client provides methods to interact with http://free.currencyconverterapi.com/ HTTP API for developers.

func NewClient

func NewClient(baseUrl string, client *http.Client, ch *cache.Cache) *Client

type Converter

type Converter struct {
	EURUSD float64 `json:"EUR_USD"`
	EURCAD float64 `json:"EUR_CAD"`
}

Jump to

Keyboard shortcuts

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