add once
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"Interval": "1s",
|
||||
"States": ["NC"]
|
||||
"States": ["NC"],
|
||||
"Once": true
|
||||
}
|
||||
|
||||
@@ -12,6 +12,7 @@ type Config struct {
|
||||
Interval Duration
|
||||
States []State
|
||||
Storage []string
|
||||
Once bool
|
||||
|
||||
lock sync.Mutex
|
||||
db storage.DB
|
||||
|
||||
Reference in New Issue
Block a user