Documentation ¶ Index ¶ type Domain type Record 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)"` } type Record ¶ type Record struct { ID uint `gorm:"primary_key"` DomainId sql.NullInt64 Name string `gorm:"type:varchar(255)"` Type string `gorm:"type:varchar(10)"` Content string `gorm:"type:text"` Ttl uint32 Prio int ChangDate int Disabled bool } Source Files ¶ View all Source files model.go Click to show internal directories. Click to hide internal directories.