core

package
v0.0.0-...-0866756 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2016 License: LGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RecordRequestResult

type RecordRequestResult struct {
	Result []struct {
		Name    string `json:"name"`
		Type    string `json:"type"`
		Content string `json:"content"`
		Id      string `json:"id"`
	}
}

type RecordType

type RecordType int
const (
	A     RecordType = 0 << iota
	AAAA  RecordType = 1
	CNAME RecordType = 2
	MX    RecordType = 3
	LOC   RecordType = 4
	SRV   RecordType = 5
	SPF   RecordType = 6
	TXT   RecordType = 7
	NS    RecordType = 8
)

func FromString

func FromString(valToConvert string) (res RecordType, err error)

func (RecordType) String

func (self RecordType) String() (res string, err error)

func (*RecordType) UnmarshalYAML

func (self *RecordType) UnmarshalYAML(unmarshal func(interface{}) error) (err error)

type RecordTypeSlice

type RecordTypeSlice []RecordType

func (RecordTypeSlice) Contains

func (self RecordTypeSlice) Contains(valueToSearch RecordType) (res bool)

type ZoneRequestResult

type ZoneRequestResult struct {
	Result []struct {
		Name string `json:"name"`
		Id   string `json:"id"`
	}
	Result_info struct {
		Total_count int `json:"total_count"`
	}
}

Jump to

Keyboard shortcuts

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