Documentation
¶
Index ¶
- func EstablishWSTunnel(conn net.Conn, payload, targetHost, targetPort, hostHeader string) (net.Conn, error)
- func ReadHeaders(conn net.Conn) ([]byte, error)
- func ReplacePlaceholders(payload, targetHost, targetPort, hostHeader string) []byte
- type DirectEstablisher
- type Establisher
- type ProxyEstablisher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EstablishWSTunnel ¶
func ReplacePlaceholders ¶
Types ¶
type DirectEstablisher ¶
type DirectEstablisher struct{}
type Establisher ¶
func GetEstablisher ¶
func GetEstablisher(mode string) (Establisher, error)
type ProxyEstablisher ¶
type ProxyEstablisher struct{}
Click to show internal directories.
Click to hide internal directories.