Documentation ¶
Index ¶
- type Logger
- type Loop
- func (l *Loop) ClearData() (err error)
- func (l *Loop) Fetcher() (fetcher *api.ResilientFetcher)
- func (l *Loop) GetData() (data models.PublicIP)
- func (l *Loop) RunOnce(ctx context.Context) (err error)
- func (l *Loop) Start(_ context.Context) (_ <-chan error, err error)
- func (l *Loop) Stop() (err error)
- func (l *Loop) String() string
- func (l *Loop) UpdateWith(partialUpdate settings.PublicIP) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Loop ¶
type Loop struct {
// contains filtered or unexported fields
}
func (*Loop) ClearData ¶
ClearData is used when the VPN connection goes down and the public IP is not known anymore.
func (*Loop) Fetcher ¶
func (l *Loop) Fetcher() (fetcher *api.ResilientFetcher)
Click to show internal directories.
Click to hide internal directories.