package
Version:
v0.0.0-...-80fcaa9
Opens a new window with list of versions in this module.
Published: Feb 28, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func NewLRU(size int64) *lru
Sum64 gets the string and returns its uint64 hash value.
type ItemVal struct {
Key string
Val interface{}
Expire int64
}
type QPSItem struct {
Val int64
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.