add once
parent
b5c1c13060
commit
a5d42fe556
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue