providers

package
v0.5.9 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient() *http.Client

func NewTransport

func NewTransport() *http.Transport

Types

type TxtDomains

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

func NewTxtDomains

func NewTxtDomains(logger logrus.FieldLogger, feedList []string) *TxtDomains

func (*TxtDomains) List

func (c *TxtDomains) List() ([]models.Tor, error)

func (*TxtDomains) Load

func (c *TxtDomains) Load(body []byte) ([]models.Tor, error)

func (*TxtDomains) MakeRequest

func (c *TxtDomains) MakeRequest(urlList string) ([]byte, error)

func (*TxtDomains) Name

func (*TxtDomains) Name() string

Jump to

Keyboard shortcuts

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