Versions in this module Expand all Collapse all v0 v0.0.1 Sep 18, 2023 Changes in this version + type CacheFile struct + DB *bbolt.DB + func Open(path string, cacheID string) (*CacheFile, error) + func (c *CacheFile) Close() error + func (c *CacheFile) FakeIPLoad(address netip.Addr) (string, bool) + func (c *CacheFile) FakeIPLoadDomain(domain string, isIPv6 bool) (netip.Addr, bool) + func (c *CacheFile) FakeIPMetadata() *adapter.FakeIPMetadata + func (c *CacheFile) FakeIPReset() error + func (c *CacheFile) FakeIPSaveMetadata(metadata *adapter.FakeIPMetadata) error + func (c *CacheFile) FakeIPSaveMetadataAsync(metadata *adapter.FakeIPMetadata) + func (c *CacheFile) FakeIPStore(address netip.Addr, domain string) error + func (c *CacheFile) FakeIPStoreAsync(address netip.Addr, domain string, logger logger.Logger) + func (c *CacheFile) LoadGroupExpand(group string) (isExpand bool, loaded bool) + func (c *CacheFile) LoadMode() string + func (c *CacheFile) LoadSelected(group string) string + func (c *CacheFile) StoreGroupExpand(group string, isExpand bool) error + func (c *CacheFile) StoreMode(mode string) error + func (c *CacheFile) StoreSelected(group, selected string) error