client_stream

package
v0.1.29 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: LGPL-2.1 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrFileIsTooLarge = errors.New("file exceeds maximum file size")
)

Functions

func GetData

func GetData(stream interface {
	Receive() ([]byte, error)
}, maxSize int) ([]byte, error)

Types

type DataReceive

type DataReceive func() ([]byte, error)

func (DataReceive) Receive

func (d DataReceive) Receive() ([]byte, error)

Jump to

Keyboard shortcuts

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