web

package
v0.0.0-...-a8b6b34 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckArticleExist

func CheckArticleExist(board, articleCode string) bool

CheckArticleExist user for checking article exist or not

func CheckBoardExist

func CheckBoardExist(board string) bool

CheckBoardExist use for checking board exist or not

func CurrentPage

func CurrentPage(board string) (int, error)

CurrentPage find Board Last Page Number

func FetchArticle

func FetchArticle(board, articleCode string) (article.Article, error)

FetchArticle build article object from html

func FetchArticles

func FetchArticles(board string, page int) (articles article.Articles, err error)

FetchArticles makes board's index articles to a article slice

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL