http

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2023 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RotatingProxyDialerTimeout added in v0.0.18

func RotatingProxyDialerTimeout(proxies []string, timeout time.Duration) fasthttp.DialFunc

func SendToWebhook

func SendToWebhook(url string, body []byte, wg *sync.WaitGroup) error

Types

type Client

type Client interface {
	Post(url string, body []byte) (*Response, error)
	DeleteUrlCache(url string)
}

func NewClient

func NewClient(config *config.Config) Client

type Response

type Response struct {
	StatusCode int
	Body       *[]byte
}

Jump to

Keyboard shortcuts

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