dnstypes

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Record

type Record struct {
	Id    string     `json:"id"`
	Name  string     `json:"name"`
	Type  RecordType `json:"type"`
	Value string     `json:"value"`
	Route string     `json:"route"`
	TTL   int32      `json:"ttl"`
}

func (*Record) Clone added in v0.5.6

func (this *Record) Clone() *Record

func (*Record) Copy added in v0.5.6

func (this *Record) Copy(anotherRecord *Record)

type RecordType

type RecordType = string
const (
	RecordTypeA     RecordType = "A"
	RecordTypeAAAA  RecordType = "AAAA"
	RecordTypeCNAME RecordType = "CNAME"
	RecordTypeTXT   RecordType = "TXT"
)

type Route

type Route struct {
	Name string `json:"name"`
	Code string `json:"code"`
}

Route 线路描述

Jump to

Keyboard shortcuts

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