logger

package
v1.0.29 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GinWriter *logr.Writer
View Source
var Logger *logr.Logger
View Source
var Support *logr.Logger

Functions

func Demo

func Demo()

func Init

func Init()

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"`
}

Jump to

Keyboard shortcuts

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