measurement

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: CC-BY-4.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BitRate

type BitRate float64

BitRate represents measurement for download/upload speed it can be one of: bps(bits), Kbps (kilobits), Mbps (megabits)

func (BitRate) KbpsStr

func (b BitRate) KbpsStr() string

KbpsStr returns prettified string representation of bit rate measurement in Kilobits

func (BitRate) MbpsStr

func (b BitRate) MbpsStr() string

MbpsStr returns prettified string representation of bit rate measurement in Megabits

func (BitRate) String

func (b BitRate) String() string

String returns prettified string representation of bit rate measurement in bps by default

Jump to

Keyboard shortcuts

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