pdnsmodel

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Domain

type Domain struct {
	ID             uint           `gorm:"primary_key"`
	Name           string         `gorm:"type:varchar(255);not null"`
	Master         sql.NullString `gorm:"type:varchar(128)"`
	LastCheck      sql.NullInt64
	Type           string `gorm:"type:varchar(6);not null"`
	NotifiedSerial sql.NullInt64
	Account        sql.NullString `gorm:"type:varchar(40)"`
}

Domain Domain Information

type Record

type Record struct {
	ID        uint          `gorm:"primary_key"`
	DomainID  sql.NullInt64 `gorm:"column:domain_id"`
	Name      string        `gorm:"type:varchar(255)"`
	Type      string        `gorm:"type:varchar(10)"`
	Content   string        `gorm:"type:varchar(16000)"`
	TTL       uint32        `gorm:"column:ttl"`
	Priority  int           `gorm:"column:prio"`
	ChangDate int
	Disabled  bool
}

Record DNS record

Jump to

Keyboard shortcuts

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