//
pkg.gl
Category
github.com/samaritan-proxy/samaritan
proc
redis
hotkey
package
1.0.0-rc1
Repository:
https://github.com/samaritan-proxy/samaritan.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
4
Dependents
1
Files
433 SLOC
#
Functions
NewCollector
NewCollector creates a hot keys collector with given parameters.
NewCounter
NewCounter creates a counter with given parameters.
#
Structs
Collector
Collector is used to collect hot keys.
Counter
Counter is used to record the actual visits number of keys.
HotKey
HotKey represents a hot key.