Documentation
¶
Overview ¶
Package psiphonx is a wrapper around the psiphon-tunnel-core.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// Dependencies contains dependencies for Start.
Dependencies Dependencies
// WorkDir is the directory where Psiphon should store
// its configuration database.
WorkDir string
}
Config contains the settings for Start. The empty config object implies that we will be using default settings for starting the tunnel.
type Dependencies ¶
type Dependencies interface {
MkdirAll(path string, perm os.FileMode) error
RemoveAll(path string) error
Start(ctx context.Context, config []byte,
workdir string) (*clientlib.PsiphonTunnel, error)
}
Dependencies contains dependencies for Start
type Tunnel ¶
type Tunnel struct {
// contains filtered or unexported fields
}
Tunnel is a psiphon tunnel
func (*Tunnel) BootstrapTime ¶
BootstrapTime returns the bootstrap time
func (*Tunnel) SOCKS5ProxyURL ¶
SOCKS5ProxyURL returns the SOCKS5 proxy URL.
Click to show internal directories.
Click to hide internal directories.