Categorygithub.com/cloudflare/golibs
module
0.0.0-20240916140616-558c04120a4e
Repository: https://github.com/cloudflare/golibs.git
Documentation: pkg.go.dev

# README

CloudFlare golibs

Simple golang libraries used internally at CloudFlare:

  • circularbuffer: circular buffer data structure (fixed size stack)
  • lrucache: last recently used cache data structure
  • pool: backported version of sync.Pool
  • bytepool: a pool of byte slices
  • ewma: exponentially decaying moving average

# Packages

Package bytepool is deprecated.
Circular buffer data structure.
Copyright (c) 2014 CloudFlare, Inc.
No description provided by the author
Package lrucache implements a last recently used cache data structure.
No description provided by the author
Copyright (c) 2014 CloudFlare, Inc.
package tokenbucket implements a simple token bucket filter.