ring

package
v0.2.19 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2026 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 Ring

type Ring[T any] = core.Ring[T]

Ring is a non-thread-safe circular buffer with dynamic growth. Suitable for building higher-level queues or error rings.

func NewRing

func NewRing[T any](capacity int) *Ring[T]

NewRing creates a ring with the given initial capacity.

Jump to

Keyboard shortcuts

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