Documentation
¶
Index ¶
- Variables
- type Queue
- type Ring
- func (r *Ring[T]) Cap() int
- func (r *Ring[T]) Head() (v T, ok bool)
- func (r *Ring[T]) Iterator() *RingIterator[T]
- func (r *Ring[T]) Len() int
- func (r *Ring[T]) Pop() (v T, ok bool)
- func (r *Ring[T]) PopFront() (v T, ok bool)
- func (r *Ring[T]) Push(v T)
- func (r *Ring[T]) PushFront(v T)
- func (r *Ring[T]) Resize(n int)
- func (r *Ring[T]) Tail() (v T, ok bool)
- type RingIterator
- type Transport
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrTransportClosed = errors.New("transport closed")
Functions ¶
This section is empty.
Types ¶
type RingIterator ¶
type RingIterator[T any] struct { // contains filtered or unexported fields }
RingIterator ...
Click to show internal directories.
Click to hide internal directories.