bridge

package
v0.0.0-...-2827e3e Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsFullErr

func IsFullErr(err error) bool

Types

type Bridge

type Bridge[T any] struct {
	// contains filtered or unexported fields
}

func New

func New[T any](size uint64) *Bridge[T]

func (*Bridge[T]) IsFull

func (b *Bridge[T]) IsFull() bool

func (*Bridge[T]) Pop

func (b *Bridge[T]) Pop() (T, error)

func (*Bridge[T]) Push

func (b *Bridge[T]) Push(data T) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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