Documentation ¶
Index ¶
- func Article(r *gin.Engine)
- func GetLoginCookie(c *gin.Context) account.Account
- func GetTagList(r *gin.Engine)
- func Init(r *gin.Engine)
- func InitArticle(r *gin.Engine)
- func InitAuth(r *gin.Engine)
- func InitProject(r *gin.Engine)
- func InitTopic(r *gin.Engine)
- func InitUtils(r *gin.Engine)
- func Login(r *gin.Engine)
- func LoginStatus(c *gin.Context) bool
- func Project(r *gin.Engine)
- func Ret(c *gin.Context, ret bool, res interface{})
- func SetLoginCookie(c *gin.Context, account account.Account)
- func Topic(r *gin.Engine)
- func UpdateComment(r *gin.Engine)
- func Utils(r *gin.Engine)
- type InsertArticleType
- type InsertProjectType
- type InsertTopicType
- type LoginCheckType
- type LoginType
- type UpdateCommentType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTagList ¶
func InitArticle ¶
func InitProject ¶
func LoginStatus ¶
func UpdateComment ¶
Types ¶
type InsertArticleType ¶
type InsertArticleType struct { Author string `json:"Author"` Content string `json:"Content"` IsPublic bool `json:"isPublic"` LogoUrl string `json:"logoUrl"` Url string `json:"Url"` Site string `json:"site"` Summary string `json:"Summary"` Html string `json:"Html"` Tags []string `json:"Tags"` Title string `json:"Title"` Toc []string `json:"Toc"` }
type InsertProjectType ¶
type InsertTopicType ¶
type LoginCheckType ¶
type UpdateCommentType ¶
type UpdateCommentType struct {
Comments []string `json:"Comment"`
}
Click to show internal directories.
Click to hide internal directories.