ioz

package
v17.4.0-rc42 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiscardData

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(log *slog.Logger, filename string, minLen, maxLen int) ([]byte, error)

func LoadEd25519Base64PublicKey added in v17.4.0

func LoadEd25519Base64PublicKey(log *slog.Logger, filename string) ([]byte, error)

func LoadSHA256Base64Secret added in v17.4.0

func LoadSHA256Base64Secret(log *slog.Logger, filename string) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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