Documentation ¶ Index ¶ type Tor func New(ctx context.Context, store *storage.Storage, pool pooling.Pool) *Tor func (t *Tor) Serve() 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 { // contains filtered or unexported fields } func New ¶ func New(ctx context.Context, store *storage.Storage, pool pooling.Pool) *Tor New tor struct. func (*Tor) Serve ¶ added in v0.8.0 func (t *Tor) Serve() 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 web.go Click to show internal directories. Click to hide internal directories.