Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DB *gorm.DB
)
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { Event string `json:"event"` Detail string // 事件详情 // contains filtered or unexported fields }
告警通知
type Link ¶
type Link struct { URL string `gorm:"unique"` Name string `gorm:"unique"` IsVerified bool IsSubscribed bool // 是否订阅 // contains filtered or unexported fields }
友链
type Post ¶
type Post struct { Title string `json:"title"` Tags []Tag `json:"tags" gorm:"many2many:post_tags;"` Author string `json:"author"` Origin string `json:"origin"` // 原始地址 // contains filtered or unexported fields }
图文内容
Click to show internal directories.
Click to hide internal directories.