cstv

package
v5.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2025 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

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

func NewReader

func NewReader(baseUrl string, timeout time.Duration) (*Reader, error)

NewReader creates a new CSTV reader. The timeout is the maximum time to retry for a response from the CSTV server, using an exponential backoff mechanism, starting at 1s. If the timeout is exceeded, the reader will return an io.EOF error.

func (*Reader) Read

func (c *Reader) Read(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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