models

package
v0.0.0-...-9e6d227 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 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 Coin

type Coin struct {
	Name     string
	Symbol   string
	Rank     string
	PriceUSD string `json:"price_usd"`
	PriceEUR string `json:"price_eur"`
}

Coin represent a response of the marketcap request

func (*Coin) Do

func (r *Coin) Do(method, uri string, headers map[string]string, body io.Reader) (*http.Response, *error)

func (*Coin) Get

func (r *Coin) Get(uri string, params ...map[string]string) (*http.Response, error)

type InchSources

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

Jump to

Keyboard shortcuts

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