pkg

package
v0.0.0-...-ed92af6 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 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 Configurations

type Configurations struct {
	Moeda             string
	LastPurchaseOrder float64
	Percentage        float64
	PurchaseValue     float64
	Interval          int
	UrlApi            string
}

func (*Configurations) SetConfigurations

func (c *Configurations) SetConfigurations()

type Requisitions

type Requisitions struct {
	EndPoint string
}

func (*Requisitions) GetRequisitions

func (r *Requisitions) GetRequisitions(endpoint string) []byte

type Ticker

type Ticker struct {
	Buy  float64 `json:"buy"`
	Date int     `json:"date"`
	High float64 `json:"high"`
	Last float64 `json:"last"`
	Low  float64 `json:"low"`
	Open float64 `json:"open"`
	Pair string  `json:"pair"`
	Sell float64 `json:"sell"`
	Vol  float64 `json:"vol"`
}

func GetTicker

func GetTicker() Ticker

type TickerLoad

type TickerLoad struct {
	Buy  string `json:"buy"`
	Date int    `json:"date"`
	High string `json:"high"`
	Last string `json:"last"`
	Low  string `json:"low"`
	Open string `json:"open"`
	Pair string `json:"pair"`
	Sell string `json:"sell"`
	Vol  string `json:"vol"`
}

Jump to

Keyboard shortcuts

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