worker

package
v0.0.0-...-2acc106 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Worker

type Worker struct {
	Interval   int
	Cloudflare cloudflare.Cloudflare
	Resolvers  []resolver.Resolver
	Counter    int
	Hosts      []string
	HostMap    map[string]cf.DNSRecord
	CurrentIP  net.IP
}

Worker is the worker class

func (*Worker) Run

func (w *Worker) Run() error

Run runs the worker

Jump to

Keyboard shortcuts

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