Documentation ¶
Index ¶
Constants ¶
View Source
const ( StatusSerial = iota // 0 StatusFinished )
Variables ¶
This section is empty.
Functions ¶
func GetOpenGraphProtocol ¶
获取 Open Graph Protocol
Types ¶
type Book ¶
type Book struct { URL string `json:"url"` Name string `json:"name"` Author string `json:"author"` Cover string `json:"cover"` Category string `json:"category"` Summary string `json:"summary"` ChapterCount int `json:"chapter_count"` ReadURL string `json:"read_url"` Status int `json:"status"` }
func GetBookByOGP ¶
type Chapter ¶
type Chapter struct { Title string `json:"title"` Body string `json:"body"` URL string `json:"url"` }
func GetChapter ¶
func GetChapterByURL ¶
func GetChapters ¶
func GetChaptersFromURL ¶
Click to show internal directories.
Click to hide internal directories.