formatUtils

package
v0.0.0-...-cd6a17b Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HashrateUnits          = []string{"kH/s", "MH/s", "GH/s", "TH/s", "PH/s", "EH/s"}
	HashrateUnitStep int64 = 1000
)

Functions

func BoolText

func BoolText(value bool, l *i18n.Localizer) string

func Hashrate

func Hashrate(hashrate *big.Int) string

func UptimeText

func UptimeText(t time.Time, l *i18n.Localizer) string

func WalletBalance

func WalletBalance(balance uint64, atomicUnit uint16) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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