Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registration ¶
type Registration struct {
// contains filtered or unexported fields
}
Concrete implementation
func New ¶
func New() *Registration
func NewWithConfig ¶
func NewWithConfig(cfg Config) *Registration
func (*Registration) GetExternalAddress ¶
func (dd *Registration) GetExternalAddress() (net.IP, error)
GetExternalAddress returns the current external IP address as reported by https://api.ipify.org
func (*Registration) RegisterAddress ¶
func (dd *Registration) RegisterAddress(host, user, password string, addr net.IP, offline bool) error
RegisterAddress registers address with Google DNS and returns the response https://support.google.com/domains/answer/6147083?hl=en
func (*Registration) String ¶
func (dd *Registration) String() string
Click to show internal directories.
Click to hide internal directories.