tor

package
v0.5.11 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider interface {
	List() ([]models.Tor, error)
	Name() string
}

type Tor

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

func NewTor

func NewTor(store data.TorStore, hours int, logger logrus.FieldLogger, feedList []string) *Tor

func (*Tor) AddProvider

func (p *Tor) AddProvider(provider Provider)

func (*Tor) Get

func (p *Tor) Get() (*[]string, error)

func (*Tor) Run

func (p *Tor) Run(hours int)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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