container

package
v0.0.0-...-3928268 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SyncPool

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

func NewSyncPool

func NewSyncPool() (syncPool *SyncPool)

func (*SyncPool) Add

func (p *SyncPool) Add(value any) *SyncPoolNode

func (*SyncPool) Entry

func (p *SyncPool) Entry() *SyncPoolNode

func (*SyncPool) Remove

func (p *SyncPool) Remove(old *SyncPoolNode)

type SyncPoolNode

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

func (*SyncPoolNode) Load

func (n *SyncPoolNode) Load() any

func (*SyncPoolNode) Next

func (n *SyncPoolNode) Next() *SyncPoolNode

type SyncQueue

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

func NewSyncQueue

func NewSyncQueue() (syncQueue *SyncQueue)

func (*SyncQueue) Install

func (s *SyncQueue) Install(in, out chan any)

func (*SyncQueue) Pop

func (s *SyncQueue) Pop() (value any)

func (*SyncQueue) Push

func (s *SyncQueue) Push(value any)

Jump to

Keyboard shortcuts

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