rater

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rater

type Rater struct {
	// contains filtered or unexported fields
}

func NewRater

func NewRater(r io.Reader) *Rater

func (*Rater) Rate

func (r *Rater) Rate() (n int64, d time.Duration)

func (*Rater) Read

func (r *Rater) Read(b []byte) (n int, err error)

func (*Rater) String

func (r *Rater) String() string

Jump to

Keyboard shortcuts

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