fifo

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(closable bool) (uint32, io.WriteCloser)

New creates a new fifo. Fifo is always closable by the creator, but only closable by accessor if closable is set to true.

Types

type Fifo

type Fifo interface {
	io.ReadCloser
	Id() uint32
}

TODO: Move to Interfaces once it is open sourced

func Open

func Open(id uint32) (Fifo, error)

Jump to

Keyboard shortcuts

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