mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-04-29 16:58:34 +00:00
parent
800b3bd3fe
commit
9ad26fa049
10 changed files with 14 additions and 14 deletions
2
common/cache/lru.go
vendored
2
common/cache/lru.go
vendored
|
@ -26,7 +26,7 @@ type lruElement struct {
|
|||
value interface{}
|
||||
}
|
||||
|
||||
// NewLru init a lru cache
|
||||
// NewLru initializes a lru cache
|
||||
func NewLru(cap int) Lru {
|
||||
return &lru{
|
||||
capacity: cap,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue