fifo

package
v0.0.0-...-c9cf022 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FiFo

type FiFo struct {
	// contains filtered or unexported fields
}

func NewFIFO

func NewFIFO(dsn string, conn int, name string) (*FiFo, error)

func NewFIFOLocal

func NewFIFOLocal(name string, max int) (*FiFo, error)

func (*FiFo) GetSize

func (f *FiFo) GetSize() int

func (*FiFo) Read

func (f *FiFo) Read(n int) ([]string, error)

func (*FiFo) Write

func (f *FiFo) Write(data string) error

Jump to

Keyboard shortcuts

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