Documentation ¶ Index ¶ type Reader func NewReader(baseUrl string, timeout time.Duration) (*Reader, error) func (c *Reader) Read(p []byte) (n int, err error) 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) Source Files ¶ View all Source files cstv.go Click to show internal directories. Click to hide internal directories.