Add more filter types

This commit is contained in:
davidnewhall2 2020-06-21 02:18:16 -07:00
parent 15fd679f55
commit 2010789dac
1 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,7 @@ package poller
import (
"strings"
"sync"
"time"
"github.com/unifi-poller/unifi"
)
@ -50,6 +51,10 @@ type Filter struct {
True bool
Done bool
Stop bool
Time time.Time
From time.Time
When time.Time
Dur time.Duration
}
// NewInput creates a metric input. This should be called by input plugins