节点所属集群删除后,不再接收API请求

This commit is contained in:
GoEdgeLab
2022-10-23 19:56:58 +08:00
parent aa1a534bf8
commit 954994122b
21 changed files with 1443 additions and 34 deletions

View File

@@ -0,0 +1,7 @@
package ttlcache
import "github.com/cespare/xxhash"
func HashKey(key []byte) uint64 {
return xxhash.Sum64(key)
}