Documentation ¶ Index ¶ type Tor func New() *Tor func (t *Tor) Serve(ctx context.Context) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Tor ¶ added in v0.8.0 type Tor struct { } func New ¶ func New() *Tor New tor struct. func (*Tor) Serve ¶ added in v0.8.0 func (t *Tor) Serve(ctx context.Context) error Serve accepts incoming HTTP requests over Tor network, or open a local port for proxy server by "WAYBACK_TOR_LOCAL_PORT" env. Use "WAYBACK_TOR_PRIVKEY" to keep the Tor hidden service hostname. Serve always returns an error. Source Files ¶ View all Source files doc.go tor.go Click to show internal directories. Click to hide internal directories.