SYMBOL INDEX (22 symbols across 6 files) FILE: example/main.go function main (line 11) | func main() { FILE: leakybucket/bucket.go type BucketI (line 14) | type BucketI interface type BucketState (line 26) | type BucketState struct type StorageI (line 33) | type StorageI interface FILE: leakybucket/leaky_bucket_test.go function TestLimit (line 10) | func TestLimit(t *testing.T) { function BenchmarkLimit (line 93) | func BenchmarkLimit(b *testing.B) { FILE: leakybucket/leaky_memory.go type bucket (line 8) | type bucket struct method Capacity (line 17) | func (b *bucket) Capacity() uint { method Remaining (line 22) | func (b *bucket) Remaining() uint { method Reset (line 27) | func (b *bucket) Reset() time.Time { method Add (line 33) | func (b *bucket) Add(amount uint) (BucketState, error) { type Storage (line 48) | type Storage struct method Create (line 60) | func (s *Storage) Create(name string, capacity uint, rate time.Duratio... function New (line 53) | func New() *Storage { FILE: simpleratelimit/ratelimit.go type RateLimiter (line 9) | type RateLimiter struct method Limit (line 38) | func (rl *RateLimiter) Limit() bool { method UpdateRate (line 61) | func (rl *RateLimiter) UpdateRate(rate int) { method Undo (line 67) | func (rl *RateLimiter) Undo() { function New (line 18) | func New(rate int, per time.Duration) *RateLimiter { function unixNano (line 76) | func unixNano() uint64 { FILE: simpleratelimit/ratelimit_test.go function TestLimit (line 10) | func TestLimit(t *testing.T) { function BenchmarkLimit (line 53) | func BenchmarkLimit(b *testing.B) {