Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DownloadRate ¶
type DownloadRate float64
DownloadRate is a float64 that can be safely marshalled to JSON when the value is Infinity. The rate is always in bytes/second units.
func (*DownloadRate) MarshalJSON ¶
func (dr *DownloadRate) MarshalJSON() ([]byte, error)
func (*DownloadRate) UnmarshalJSON ¶
func (dr *DownloadRate) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.