mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-03 20:07:36 +03:00
Save fakeip metadata immediately
This commit is contained in:
parent
90b3aad83a
commit
f43d0141f3
5 changed files with 27 additions and 6 deletions
|
@ -18,6 +18,7 @@ type FakeIPStore interface {
|
|||
type FakeIPStorage interface {
|
||||
FakeIPMetadata() *FakeIPMetadata
|
||||
FakeIPSaveMetadata(metadata *FakeIPMetadata) error
|
||||
FakeIPSaveMetadataAsync(metadata *FakeIPMetadata)
|
||||
FakeIPStore(address netip.Addr, domain string) error
|
||||
FakeIPStoreAsync(address netip.Addr, domain string, logger logger.Logger)
|
||||
FakeIPLoad(address netip.Addr) (string, bool)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue