Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidFloatWithUnit = errors.New("invalid float value with optional unit")
)
Functions ¶
Types ¶
type Decibel ¶
type Decibel float64
Decibel (dB) is a relative unit of measurement equal to one tenth of a bel (B).
https://en.wikipedia.org/wiki/Decibel
func (*Decibel) UnmarshalText ¶
type DecibelMilliwatt ¶
type DecibelMilliwatt float64
DecibelMilliwatt (dBm) is a unit of level used to indicate that a power level is expressed in decibels (dB) with reference to one milliwatt (mW).
https://en.wikipedia.org/wiki/DBm
func (*DecibelMilliwatt) UnmarshalText ¶
func (t *DecibelMilliwatt) UnmarshalText(data []byte) error
type Mbps ¶
type Mbps float64
Mbps is Megabits per second.
https://en.wikipedia.org/wiki/Data-rate_units#Megabit_per_second
func (Mbps) BitsPerSec ¶
func (*Mbps) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.