# 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.