ioqueue

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseData

func ReleaseData(r *Data)

Types

type Data

type Data struct {
	Data []byte
	Err  error
	// contains filtered or unexported fields
}

func NewData

func NewData() *Data

type IOQueue

type IOQueue struct {
	C chan *Data
	// contains filtered or unexported fields
}

func New

func New() *IOQueue

func (*IOQueue) Close

func (q *IOQueue) Close()

func (*IOQueue) SignalWantsClose added in v0.2.0

func (q *IOQueue) SignalWantsClose()

func (*IOQueue) State added in v0.2.0

func (q *IOQueue) State() (closed, wantsClose bool)

Jump to

Keyboard shortcuts

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