fitgirl

package
v0.0.0-...-2ea4f13 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2020 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const BaseURL = "https://fitgirl-repacks.site/wp-json/wp/v2/"

BaseURL = Fitgirl repacks base site

Variables

View Source
var AllowedWebsites = []string{"1337x.to", "newkatcr.co", "hermietkreeft.site", "rutor.info", "tapochek.net", "pirated.me", "pasteit.top"}
Contains the allowed website from which taking the urls

var because arrays cannot be constant

Functions

func Contains

func Contains(s []string, e string) bool

Check if a string is contained in a string array

func FindGameTitle

func FindGameTitle(id uint16) string

Types

type DownloadLink struct {
	Name string
	Link string
}

DownloadLink = The struct that will contain the link and the name of the host

func FindDownloadLinks(id uint16) []DownloadLink

type SearchResult

type SearchResult struct {
	ID   uint16
	Name string
}

SearchResult = The struct that will contain the search result

func Search(query string) []SearchResult

Jump to

Keyboard shortcuts

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