wormhole

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: MIT Imports: 10 Imported by: 1

README

wormhole

Documentation

Index

Constants

View Source
const (
	CAP = 20
)

Variables

View Source
var (
	BestTrackerUrl = []string{"https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_best.txt",
		"https://cdn.jsdelivr.net/gh/ngosang/trackerslist@master/trackers_best.txt",
		"https://ngosang.github.io/trackerslist/trackers_best.txt",
	}

	ColaUrl = []string{"https://github.com/CortexFoundation/cola/releases/download/1.0.0/cola.txt"}
)
View Source
var Wormholes = []string{
	"http://wormhole.cortexlabs.ai:30089/tunnel?hash=",
}

Functions

This section is empty.

Types

type Wormhole

type Wormhole struct {
	// contains filtered or unexported fields
}

func New

func New() *Wormhole

func (*Wormhole) BestTrackers

func (wh *Wormhole) BestTrackers() (ret []string)

func (*Wormhole) ColaList

func (wh *Wormhole) ColaList() mapset.Set[string]

func (*Wormhole) Tunnel

func (wh *Wormhole) Tunnel(hash string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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