mosdns/plugin/executable/dual_selector/cache.go
dengxiongjian cd761e8145
Some checks are pending
Test mosdns / build (push) Waiting to run
新增Mikrotik API 插入解析ip
2025-07-31 11:28:55 +08:00

12 lines
164 B
Go

package dual_selector
import "hash/maphash"
type key string
var seed = maphash.MakeSeed()
func (k key) Sum() uint64 {
return maphash.String(seed, string(k))
}