Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommentMsg ¶
CommentMsg Comment信息
type GithubWorker ¶
type GithubWorker struct {
// contains filtered or unexported fields
}
GithubWorker Github相关处理
func (*GithubWorker) GithubHookHandler ¶
func (s *GithubWorker) GithubHookHandler(w http.ResponseWriter, r *http.Request)
GithubHookHandler Github Web Hook回调处理入口
type Hugo ¶
type Hugo struct {
// contains filtered or unexported fields
}
Hugo 处理Hugo结构相关
func (Hugo) CreatePage ¶
CreatePage 在本地创建Page文件,并返回文件路径 按照所指定的分类,在本地对应目录下创建md文件
1.article : root/content/articles/YYYYMM 2.news: root/content/news/YYYY 3.book: root/content/books 4.job: root/content/jobs/YYYY 5.pkg: root/content/packages/
Click to show internal directories.
Click to hide internal directories.