Documentation ¶
Index ¶
- func CheckArticleExist(board, articleCode string) bool
- func CheckBoardExist(board string) bool
- func CurrentPage(board string) (int, error)
- func FetchArticle(board, articleCode string) (article.Article, error)
- func FetchArticles(board string, page int) (articles article.Articles, err error)
- type URLNotFoundError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckArticleExist ¶
CheckArticleExist user for checking article exist or not
func CheckBoardExist ¶
CheckBoardExist use for checking board exist or not
func CurrentPage ¶
CurrentPage find Board Last Page Number
func FetchArticle ¶
FetchArticle build article object from html
Types ¶
type URLNotFoundError ¶
type URLNotFoundError struct {
URL string
}
URLNotFoundError is an error type present 404 Not Found
func (URLNotFoundError) Error ¶
func (u URLNotFoundError) Error() string
Click to show internal directories.
Click to hide internal directories.