tree

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Domain

type Domain struct {
	HostsMutex sync.RWMutex
	Hosts      []*worker.IPAddressInfo
	// contains filtered or unexported fields
}

type Endpoint

type Endpoint struct {
	ID           string
	DomainsMutex sync.RWMutex
	Domains      map[string]*Domain
	Service      ddns.Service
}

type Provider

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

type Tree

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

func NewTree

func NewTree() *Tree

func (*Tree) PrettyPrint

func (tree *Tree) PrettyPrint(tabSize int) string

func (*Tree) Update

func (tree *Tree) Update(config *config.Config, table *worker.Table, stormDelay time.Duration, onUpdate func(endpoint *Endpoint, domain string) error)

Jump to

Keyboard shortcuts

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