Documentation ¶
Overview ¶
Package pipe implements the pipe logic, i.e. listening for TLS or UDP connections and proxying data to the target destination.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents an udptlspipe pipe. Depending on whether it is created in server- or client- mode, it listens to TLS or UDP connections and pipes the data to the destination.
func NewServer ¶
func NewServer( listenAddr string, destinationAddr string, password string, proxyURL string, serverMode bool, ) (s *Server, err error)
NewServer creates a new instance of a *Server.
Click to show internal directories.
Click to hide internal directories.