package
0.0.0-20241201183853-9ca7e336a2bc
Repository: https://github.com/queryplan-ai/queryplan-proxy.git
Documentation: pkg.go.dev

# README

Ringbuffer

This is a direct copy from https://github.com/tailscale/tailscale/tree/main/util/ringbuffer

When trying to go get this package there are a lot of dep conflicts and replace directives needed in early testers. Opted to just copy these files for now.

# Functions

New creates a new RingBuffer containing at most max items.

# Structs

RingBuffer is a concurrency-safe ring buffer.