Documentation ¶
Index ¶
- type CacheFile
- func (c *CacheFile) Close() error
- func (c *CacheFile) Dependencies() []string
- 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) LoadRDRC(transportName string, qName string, qType uint16) (rejected bool)
- func (c *CacheFile) LoadRuleSet(tag string) *adapter.SavedRuleSet
- func (c *CacheFile) LoadSelected(group string) string
- func (c *CacheFile) Name() string
- func (c *CacheFile) RDRCTimeout() time.Duration
- func (c *CacheFile) SaveRDRC(transportName string, qName string, qType uint16) error
- func (c *CacheFile) SaveRDRCAsync(transportName string, qName string, qType uint16, logger logger.Logger)
- func (c *CacheFile) SaveRuleSet(tag string, set *adapter.SavedRuleSet) error
- func (c *CacheFile) Start(stage adapter.StartStage) error
- func (c *CacheFile) StoreFakeIP() bool
- func (c *CacheFile) StoreGroupExpand(group string, isExpand bool) error
- func (c *CacheFile) StoreMode(mode string) error
- func (c *CacheFile) StoreRDRC() bool
- 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) Dependencies ¶
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) LoadRuleSet ¶
func (c *CacheFile) LoadRuleSet(tag string) *adapter.SavedRuleSet
func (*CacheFile) LoadSelected ¶
func (*CacheFile) RDRCTimeout ¶ added in v1.8.12
func (*CacheFile) SaveRDRCAsync ¶ added in v1.8.12
func (*CacheFile) SaveRuleSet ¶
func (c *CacheFile) SaveRuleSet(tag string, set *adapter.SavedRuleSet) error
func (*CacheFile) StoreFakeIP ¶
func (*CacheFile) StoreGroupExpand ¶
func (*CacheFile) StoreSelected ¶
Click to show internal directories.
Click to hide internal directories.