noip

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2025 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNochgSuspicious = errors.New("suspicious nochg response")

Functions

func Update

func Update(hostname, ip, user, pass, userAgent string) error

func ValidateAuth

func ValidateAuth(cfg config.DDNSConfig, fakeIP string) error

ValidateAuth performs an active auth test using a fake IP. Used to detect false 'nochg' responses from No-IP.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New(cfg Config) *Client

func (*Client) Name

func (c *Client) Name() string

func (*Client) Update

func (c *Client) Update(ip string) error

Cumple la interfaz ddns.Provider

type Config

type Config struct {
	Hostname  string
	User      string
	Password  string
	UserAgent string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL