Versions in this module Expand all Collapse all v1 v1.19.0 Nov 25, 2023 Changes in this version + var Cache = sync.OnceValue(func() *CacheFile { ... }) + type CacheFile struct + DB *bbolt.DB + func (c *CacheFile) Close() error + func (c *CacheFile) DelFakeipPair(ip, host []byte) error + func (c *CacheFile) GetFakeip(key []byte) []byte + func (c *CacheFile) PutFakeip(key, value []byte) error + func (c *CacheFile) SelectedMap() map[string]string + func (c *CacheFile) SetSelected(group, selected string)