securefifo

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader added in v0.0.2

type Reader interface {
	io.ReadCloser

	// Reset closes current reader and opens a new one that starts at the beginning of the data
	Reset() (Reader, error)
}

type Writer added in v0.0.2

type Writer interface {
	io.WriteCloser

	// Done closes current writer and opens SecureFifoReader stream for reading
	Done() (Reader, error)
}

func New

func New() (wr Writer, err error)

New creates new secure fifo pipe. That pipe may handle large amounts of data by using a temporary storage but ensures that even if the data can be accessed from disk, it can not be decrypted.

Jump to

Keyboard shortcuts

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