Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelQueue ¶
type ChannelQueue[T any] chan T
func (ChannelQueue[T]) Close ¶
func (c ChannelQueue[T]) Close()
func (ChannelQueue[T]) Pull ¶
func (c ChannelQueue[T]) Pull() (v T, ok bool)
func (ChannelQueue[T]) Push ¶
func (c ChannelQueue[T]) Push(v T) bool
type LinkedListQueue ¶
type LinkedListQueue[T any] struct { // contains filtered or unexported fields }
func (*LinkedListQueue[T]) Close ¶
func (p *LinkedListQueue[T]) Close()
func (*LinkedListQueue[T]) Pull ¶
func (p *LinkedListQueue[T]) Pull() (v T, ok bool)
func (*LinkedListQueue[T]) Push ¶
func (p *LinkedListQueue[T]) Push(v T) bool
Click to show internal directories.
Click to hide internal directories.