Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *gorm.DB
Functions ¶
func CreateDomain ¶
func DeleteDomain ¶
func DeleteDomainError ¶
func UpdateDomain ¶
Types ¶
type Domain ¶
type Domain struct { ID uint `gorm:"primarykey" json:"id"` Name string `json:"name" binding:"required"` Host string `gorm:"unique" json:"host" binding:"required"` Since *time.Time `json:"since,omitempty"` End *time.Time `json:"end,omitempty"` Error string `json:"error,omitempty"` IsDisableSentNotify *bool `json:"isDisableSentNotify"` }
增刪domain
func ListDomain ¶
Click to show internal directories.
Click to hide internal directories.