Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Db *gorm.DB
View Source
var SQLitePath = "./data/sqlite3.db"
Functions ¶
func Create ¶
func Create() zoox.HandlerFunc
func Delete ¶
func Delete() zoox.HandlerFunc
func List ¶
func List() zoox.HandlerFunc
func Update ¶
func Update() zoox.HandlerFunc
Types ¶
type DNS ¶
type DNS struct { ID uint `gorm:"primarykey" json:"id"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` DeletedAt gorm.DeletedAt `gorm:"index" json:"deleted_at"` // gorm.Model // 记录类型 Type string `json:"type"` // 记录域名 Host string `json:"host"` // 记录值 Value string `json:"value"` // IsActive bool `json:"is_active"` // 记录备注 Description string `json:"description"` }
func DBRetrieve ¶
Click to show internal directories.
Click to hide internal directories.