safechan

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChanCursor

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

func NewChanCursor

func NewChanCursor(max, size int, fc func(), fp func(interface{}) bool) *ChanCursor

func (*ChanCursor) Cap

func (this *ChanCursor) Cap() int

func (*ChanCursor) Close

func (this *ChanCursor) Close()

func (*ChanCursor) IsClosed

func (this *ChanCursor) IsClosed() bool

func (*ChanCursor) Len

func (this *ChanCursor) Len() int

func (*ChanCursor) Pop

func (this *ChanCursor) Pop()

func (*ChanCursor) Push

func (this *ChanCursor) Push(v interface{}) bool

Jump to

Keyboard shortcuts

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