utils

package
v0.0.0-...-1bc3864 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BASE_URL      string = "https://anicrush.to"
	HOME_URL      string = "https://anicrush.to/home"
	AJAX_BASE_URL string = "https://api.anicrush.to"
)

Variables

This section is empty.

Functions

func CaptureSubParserErrs

func CaptureSubParserErrs(res *resty.Response, err error, url string) bool

func NewAnicrushClient

func NewAnicrushClient() *resty.Client

func Parallelize

func Parallelize(functions ...func())

Types

type SubParserResp

type SubParserResp[T comparable] struct {
	Status bool `json:"status"`
	Data   T    `json:"data"`
}

Jump to

Keyboard shortcuts

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