core

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetArtworkCommentsURL

func GetArtworkCommentsURL(id string) string

func GetArtworkImagesURL

func GetArtworkImagesURL(id string) string

func GetArtworkInformationURL

func GetArtworkInformationURL(id string) string

func GetArtworkRelatedURL

func GetArtworkRelatedURL(id string, limit int) string

func GetDiscoveryURL

func GetDiscoveryURL(mode string, limit int) string

func GetFrequentTagsURL

func GetFrequentTagsURL(ids string) string

func GetNewestArtworksURL

func GetNewestArtworksURL(worktype, r18, lastID string) string

func GetNewestFromFollowingURL

func GetNewestFromFollowingURL(mode, page string) string

func GetRankingCalendarURL

func GetRankingCalendarURL(mode string, year, month int) string

func GetRankingURL

func GetRankingURL(mode, content, date, page string) string

func GetSearchArtworksURL added in v2.0.1

func GetSearchArtworksURL(artworkType, name, order, age_settings, page string) string

func GetTagDetailURL added in v2.0.1

func GetTagDetailURL(id string) string

func GetUserArtworksURL

func GetUserArtworksURL(id string) string

func GetUserBookmarksURL

func GetUserBookmarksURL(id, mode string, page int) string

func GetUserFullArtworkURL

func GetUserFullArtworkURL(id, ids string) string

func GetUserInformationURL

func GetUserInformationURL(id string) string

func UnwrapWebAPIRequest

func UnwrapWebAPIRequest(URL, token string) (string, error)

Types

type HttpResponse

type HttpResponse struct {
	Ok         bool
	StatusCode int

	Body    string
	Message string
}

func WebAPIRequest

func WebAPIRequest(URL string) HttpResponse

Jump to

Keyboard shortcuts

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