Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "dev" Homepage = "https://github.com/hexian000/tlswrapper" )
View Source
var ( ErrNoDialAddress = errors.New("no dial address is configured") ErrDialInProgress = errors.New("another dial is in progress") )
Functions ¶
Types ¶
type AppFlags ¶
type ForwardHandler ¶
type ForwardHandler struct {
// contains filtered or unexported fields
}
ForwardHandler forwards connections to another plain address
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server object
func (*Server) LoadConfig ¶
LoadConfig reloads the configuration file
func (*Server) Stats ¶
func (s *Server) Stats() (stats ServerStats)
type ServerStats ¶
type TLSHandler ¶
type TLSHandler struct {
// contains filtered or unexported fields
}
TLSHandler creates a tunnel
func (*TLSHandler) Stats4Listener ¶
func (h *TLSHandler) Stats4Listener() (numSessions uint32, numHalfOpen uint32)
type TunnelHandler ¶
type TunnelHandler struct {
// contains filtered or unexported fields
}
TunnelHandler forwards connections over the tunnel
Source Files ¶
Click to show internal directories.
Click to hide internal directories.