details

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

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