package
0.0.0-20241025232656-f45033ca561e
Repository: https://github.com/ctii/filebrowserui.git
Documentation: pkg.go.dev
# Functions
NewRotatingBuffer initalized with limit.
# Structs
RotatingLogBuffer splits incoming logs based on the write number of lines are limited to a specified number, then cuts off the oldest entry
Example:
limit = 3 buf[0] = "hello" buf[1] = "world" buf[2] = "!"
When another is written:
limit = 3 buf[0] = "Lorum" buf[1] = "hello" buf[2] = "world".