Documentation ¶
Overview ¶
Package tunnelproxy implements a reverse-proxy for kites behind firewall or NAT.
Index ¶
Constants ¶
View Source
const (
ProxyVersion = "0.0.2"
)
Variables ¶
View Source
var ( DefaultPort = 3999 DefaultPublicHost = "localhost:3999" )
Functions ¶
func JoinStreams ¶
func JoinStreams(local, remote io.ReadWriteCloser) chan error
Types ¶
type PrivateKite ¶
type Proxy ¶
type Proxy struct { Kite *kite.Kite TLSConfig *tls.Config // If givent it must match the domain in certificate. PublicHost string RegisterToKontrol bool // contains filtered or unexported fields }
func (*Proxy) CloseNotify ¶
func (*Proxy) ReadyNotify ¶
type SessionReadWriteCloser ¶
type SessionReadWriteCloser struct {
// contains filtered or unexported fields
}
func (SessionReadWriteCloser) Close ¶
func (s SessionReadWriteCloser) Close() error
type Tunnel ¶
type Tunnel struct {
// contains filtered or unexported fields
}
func (*Tunnel) CloseNotify ¶
func (*Tunnel) StartNotify ¶
Click to show internal directories.
Click to hide internal directories.