stream

package
v1.26.2 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Rendered for js/wasm

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReadableStream

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

ReadableStream implements io.ReadCloser for the response body.

func NewReadableStream

func NewReadableStream(stream js.Value) *ReadableStream

func (*ReadableStream) Close

func (b *ReadableStream) Close() error

func (*ReadableStream) Read

func (b *ReadableStream) 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