leetx

package module
v0.0.0-...-f7340b4 Latest Latest
Warning

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

Go to latest
Published: May 25, 2021 License: MIT Imports: 13 Imported by: 0

README

1337x

A minimalistic library for 1337x.to.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Host = "https://1337x.to"

Host of the service

View Source
var Stderr io.Writer = os.Stderr

Stderr is a writer for errors

Functions

func Search(q string) (chan Result, error)

Search the site for results

Types

type Result

type Result interface {
	Name() string
	Date() time.Time
	Size() uint64
	Seeds() uint
	Leeches() uint
	URL() string
	Desc() string
}

A Result is the type in the channel returned from Search

Jump to

Keyboard shortcuts

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