ioz

package
v16.3.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiscardData added in v16.3.0

func DiscardData(r io.Reader) error

DiscardData discards up to 8KiB of data from r. Function can be used to drain HTTP client response body. See https://pkg.go.dev/net/http#Response.

func LoadBase64Secret

func LoadBase64Secret(filename string) ([]byte, error)

func NewReceiveReader

func NewReceiveReader(receiver func() ([]byte, error)) io.Reader

NewReceiveReader turns receiver into an io.Reader. Errors from the receiver function are passed on unmodified. This means receiver should emit io.EOF when done.

Types

This section is empty.

Jump to

Keyboard shortcuts

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