Discover Packages
github.com/ipsn/go-torfluxdb
proxy
package
Version:
v0.0.0-...-2cba37e
Opens a new window with list of versions in this module.
Published: Dec 10, 2018
License: BSD-3-Clause
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package proxy implements a Tor onion service in front of an InfluxDB instance.
Proxy is a Tor onion service in front of an InfluxDB instance.
New creates a Tor onion service for a backing InfluxDB.
Close terminates the onion service and Tor gateway.
URL retrieves the onion URL of the proxy.
Serve accepts incoming connections, creating a new service goroutine for each.
The service goroutines read requests and forward them to the configured Influx
instance.
Serve always returns a non-nil error and closes its Tor gateway.
ServeHTTP proxies an inbound HTTP request to the backing InfluxDB instance,
forwarding the reply back to the client.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.