Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// Closed To Open
CToO uint
// Half-Open To Closed
HOToC uint
// Open To Half-Open
OToHO time.Duration
CbOSC OnStateChange
}
func DefaultConfig ¶
func DefaultConfig() *Config
type OnStateChange ¶
type OnStateChange func(from, to State)
Click to show internal directories.
Click to hide internal directories.