awattar

package
v0.0.0-...-51204dc Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const RegionURI = "https://api.awattar.%s/v1/marketdata"

Variables

This section is empty.

Functions

This section is empty.

Types

type PriceInfo

type PriceInfo struct {
	StartTimestamp time.Time `json:"start_timestamp"`
	EndTimestamp   time.Time `json:"end_timestamp"`
	Marketprice    float64   `json:"marketprice"`
	Unit           string    `json:"unit"`
}

func (*PriceInfo) UnmarshalJSON

func (p *PriceInfo) UnmarshalJSON(data []byte) error

type Prices

type Prices struct {
	Data []PriceInfo
}

Jump to

Keyboard shortcuts

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