mojang

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2020 License: BSD-2-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const CLASS = "mojang"
View Source
const PATH = "/content/minecraft-net/_jcr_content.articles.grid"
View Source
const QUERY = "" /* 228-byte string literal not displayed */
View Source
const URI = "https://www.minecraft.net"

Variables

This section is empty.

Functions

func ArticleExistsInDB

func ArticleExistsInDB(a models.Article) (bool, error)

func ArticleFromJSON

func ArticleFromJSON(json string) (a models.Article, err error)

func GetHTTPBody

func GetHTTPBody(url string) (string, error)

func GetTypes

func GetTypes() ([]string, error)

func ParseReleaseArticle

func ParseReleaseArticle(title, url string) (bool, string, string, error)

func Poller

func Poller(interval int)

func SeekReleases

func SeekReleases() error

func TransformVersion

func TransformVersion(orig string) (new string)

func UpdateArticle

func UpdateArticle(a models.Article) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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