tor

package
v0.0.0-...-beceed2 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tor

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

func New

func New(logger *slog.Logger, domain string, blacklistedWords string) (*Tor, error)

func (*Tor) ModifyResponse

func (t *Tor) ModifyResponse(resp *http.Response) error

modify the response

func (*Tor) Rewrite

func (t *Tor) Rewrite(r *httputil.ProxyRequest)

Jump to

Keyboard shortcuts

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