demo

package
v1.21.2 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start added in v1.20.27

func Start(conf *logr.Config, mainlog *logr.Logger)

Types

type BinancePrice

type BinancePrice struct {
	Price  float64 `json:"lastPrice,string"`
	Volume float64 `json:"quoteVolume,string"`
}

type BitfinexPrice

type BitfinexPrice struct {
	Price  float64
	Volume float64
}

func (*BitfinexPrice) UnmarshalJSON

func (b *BitfinexPrice) UnmarshalJSON(buf []byte) error

type HitbtcPrice

type HitbtcPrice struct {
	Price  float64 `json:"last,string"`
	Volume float64 `json:"volume_quote,string"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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