Documentation ¶
Index ¶
- type CacheFile
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheFile ¶
func (*CacheFile) FakeIPLoadDomain ¶
func (*CacheFile) FakeIPMetadata ¶
func (c *CacheFile) FakeIPMetadata() *adapter.FakeIPMetadata
func (*CacheFile) FakeIPReset ¶
func (*CacheFile) FakeIPSaveMetadata ¶
func (c *CacheFile) FakeIPSaveMetadata(metadata *adapter.FakeIPMetadata) error
func (*CacheFile) FakeIPSaveMetadataAsync ¶
func (c *CacheFile) FakeIPSaveMetadataAsync(metadata *adapter.FakeIPMetadata)
func (*CacheFile) FakeIPStore ¶
func (*CacheFile) FakeIPStoreAsync ¶
func (*CacheFile) LoadGroupExpand ¶
func (*CacheFile) LoadSelected ¶
func (*CacheFile) StoreGroupExpand ¶
func (*CacheFile) StoreSelected ¶
Click to show internal directories.
Click to hide internal directories.