Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RES_POST ¶
type RES_POST struct {
ID int `json:"id"`
Name string `json:"name"`
Title string `json:"title"`
Date string `json:"date"`
Abstract string `json:"abstract"`
Tags string `json:"tags"`
}
RES_POST 专用于响应的结构体
type RES_POST_BROTHER ¶
type RES_POST_BROTHER struct {
Name string `json:"name"`
Title string `json:"title"`
Pin int `json:"pin"`
}
RES_POST_BROTHER 仅用于获取上下篇
type RES_POST_MORE ¶
type RES_POST_MORE struct {
Name string `json:"name"`
Title string `json:"title"`
Date string `json:"date"`
Abstract string `json:"abstract"`
Content string `json:"content"`
Tags string `json:"tags"`
Categories string `json:"categories"`
}
RES_POST_MORE 文章详情
type RES_ZHUANLAN1 ¶
type RES_ZHUANLAN1 struct {
Link string `json:"link"`
Title string `json:"title"`
Date string `json:"date"`
Posts []string `json:"posts"`
Content string `json:"content"` // 专栏的简要描述
}
RES_ZHUANLAN1 返回前端显示用
type RES_ZHUANLAN2 ¶
type RES_ZHUANLAN2 struct {
Name string `json:"name"`
Title string `json:"title"`
Date string `json:"date"`
Posts []string `json:"posts"`
Content string `json:"content"` // 专栏的简要描述
}
RES_ZHUANLAN2 控制面板用
type RES_ZHUANLAN_DETAIL ¶
Click to show internal directories.
Click to hide internal directories.