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) FakeIPLoad ¶ added in v1.3.0
func (*CacheFile) FakeIPLoadDomain ¶ added in v1.3.3
func (*CacheFile) FakeIPMetadata ¶ added in v1.3.0
func (c *CacheFile) FakeIPMetadata() *adapter.FakeIPMetadata
func (*CacheFile) FakeIPReset ¶ added in v1.3.0
func (*CacheFile) FakeIPSaveMetadata ¶ added in v1.3.0
func (c *CacheFile) FakeIPSaveMetadata(metadata *adapter.FakeIPMetadata) error
func (*CacheFile) FakeIPSaveMetadataAsync ¶ added in v1.4.0
func (c *CacheFile) FakeIPSaveMetadataAsync(metadata *adapter.FakeIPMetadata)
func (*CacheFile) FakeIPStore ¶ added in v1.3.0
func (*CacheFile) FakeIPStoreAsync ¶ added in v1.3.3
func (*CacheFile) LoadGroupExpand ¶ added in v1.4.0
func (*CacheFile) LoadSelected ¶
func (*CacheFile) StoreGroupExpand ¶ added in v1.4.0
func (*CacheFile) StoreSelected ¶
Click to show internal directories.
Click to hide internal directories.