package
0.0.0-20250306120524-11777db3047b
Repository: https://github.com/cloudflare/cloudflared.git
Documentation: pkg.go.dev
# Functions
BuildAccessRequest builds an HTTP request with the Access token set.
IsAccessResponse checks the http Response to see if the url location contains the Access structure.
NewWSConnection returns a new connection object.
No description provided by the author
Serve accepts incoming connections on the specified net.Listener.
No description provided by the author
StartClient will copy the data from stdin/stdout over a WebSocket connection to the edge (originURL).
StartForwarder will setup a listener on a specified address/port and then forward connections to the origin by calling `Serve()`.
# Constants
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
StdinoutStream is empty struct for wrapping stdin/stdout into a single ReadWriter.
Websocket is used to carry data via WS binary frames over the tunnel from client to the origin This implements the functions for glider proxy (sock5) and the carrier interface.
# Interfaces
Connection wraps up all the needed functions to forward over the tunnel.