Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LightsController ¶
type LightsController interface { Set(addr internal.LightAddress, isON bool) error Reset() error }
type Options ¶
type Options struct { MaxDelay time.Duration `long:"max-delay" env:"MAX_DELAY" default:"30s" description:"max delay between flat selection"` FlatTTL time.Duration `long:"flat-ttl" env:"FLAT_TTL" default:"5h" description:"flat live time"` ServiceTTL time.Duration `long:"service-ttl" env:"SERVICE_TTL" default:"20s" description:"service live time"` MaxChanges uint `long:"max-changes" env:"MAX_CHANGES" default:"25" description:"max changes in flat per window"` }
Click to show internal directories.
Click to hide internal directories.