fmt + StateFileFilter
This commit is contained in:
@@ -1,21 +1,26 @@
|
||||
debug = true
|
||||
|
||||
[sources]
|
||||
[sources.test1-src]
|
||||
[sources.ipfy]
|
||||
provider = "IPIFYSource"
|
||||
[sources.test2-src]
|
||||
[sources.fake]
|
||||
provider = "FakeSource"
|
||||
delay = 10
|
||||
ipv6 = "fe80::1"
|
||||
|
||||
[filters]
|
||||
[filters.state-file]
|
||||
provider = "StateFileFilter"
|
||||
filepath = "state/state.json"
|
||||
check_ipv4 = true
|
||||
[filters.state-hash]
|
||||
provider = "StateHashFilter"
|
||||
filepath = "state/hash.txt"
|
||||
|
||||
|
||||
[outputs]
|
||||
[outputs.print]
|
||||
provider = "JustPrint"
|
||||
[outputs.file]
|
||||
[outputs.state-file]
|
||||
provider = "StateFile"
|
||||
filepath = "state/state.json"
|
||||
[outputs.hash-file]
|
||||
|
||||
Reference in New Issue
Block a user