Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInitialState ¶
func NewInitialState(forceSendUpdate bool) *initialState
Types ¶
type State ¶
type State interface { // EvaluateState evaluates the current state and returns true if the client should proceed sending a change request // using the currently detected ip EvaluateState(client Client, ip *common.DnsRecord) bool // WaitInterval returns the amount of time to sleep after a tick. WaitInterval() time.Duration Name() string }
func NewIpConfirmedState ¶
func NewIpNotConfirmedState ¶
func NewIpNotConfirmedState() State
Click to show internal directories.
Click to hide internal directories.