providers

package
v0.0.0-...-4245874 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfig

func GetConfig() *config.DDNSConfig

func IfConfigTask

func IfConfigTask() models.DiscoveryTask

func NewLogger

func NewLogger() *zap.Logger

Types

type IfConfigSource

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

func NewIfConfigSource

func NewIfConfigSource() *IfConfigSource

func (*IfConfigSource) GetIPv4

func (ifs *IfConfigSource) GetIPv4(ctx context.Context) (netip.Addr, error)

Gets IPv4 address

func (*IfConfigSource) GetIPv6

func (ifs *IfConfigSource) GetIPv6(ctx context.Context) (netip.Addr, error)

Gets IPv6 address

Jump to

Keyboard shortcuts

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