Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateIndex ¶
func CreateIndex() error
func CreateLinkTrace ¶
func GetLinkBySc ¶
Types ¶
type Link ¶
type Link struct { field.DefaultField `bson:",inline"` Sc string `bson:"sc" json:"sc"` // 短链代码 Status string `bson:"status" json:"status"` // 短链状态 OriginURL string `bson:"origin_url" json:"origin_url"` // 原始链接 Exp uint32 `bson:"exp" json:"exp"` // 过期时间 }
func GetLinkDetailBySc ¶
func GetLinkList ¶
Click to show internal directories.
Click to hide internal directories.