ns1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunCmd

func RunCmd(cmd string) bool

RunCmd runs the cmd if owned by this package.

Types

type Data

type Data struct {
	Link    string   // zone:add |
	Zones   []string // zone:add |
	APIKey  string   // zone:add | record:add
	Zone    string   //          | record:add
	Records []string //          | record:add
	// contains filtered or unexported fields
}

Data struct for NS1 information.

func (*Data) AddRecords

func (d *Data) AddRecords()

AddRecords adds one or more records to an NS1 zone.

func (*Data) AddZones

func (d *Data) AddZones()

AddZones adds one or more zones to NS1.

Jump to

Keyboard shortcuts

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