dydosyncer

package
v0.0.0-...-697ac63 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DydoSyncer

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

DNS Data Syncer

func NewDydoSyncer

func NewDydoSyncer(domain, rtype, rname string, client *godo.Client, local_record_sync_freq time.Duration) DydoSyncer

Creates a new DydoSyncer for the domain, `local_record_sync_freq` is how often it will download the remote record

func (*DydoSyncer) Sync

func (d *DydoSyncer) Sync(data string) (bool, string, error)

Sync the provides data to the record, returns true/false if the sync occured and the last data value of the record before sync

Jump to

Keyboard shortcuts

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