package
0.0.0-20250306120524-11777db3047b
Repository: https://github.com/cloudflare/cloudflared.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
No description provided by the author
DefaultStreamHandler is an implementation of streamHandlerFunc that performs a two way io.Copy between originConn and remoteConn.
No description provided by the author
No description provided by the author
Gets the default ingress rule that will be return 503 status code for all incoming requests.
NewICMPRouter doesn't return an error if either ipv4 proxy or ipv6 proxy can be created.
No description provided by the author
NewPacketRouter creates a PacketRouter that handles ICMP packets.
No description provided by the author
No description provided by the author
ParseIngress parses ingress rules, but does not send HTTP requests to the origins.
ParseIngressFromConfigAndCLI will parse the configuration rules from config files for ingress rules and then attempt to parse CLI for ingress rules.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Ingress maps eyeball requests to origins.
ManagementService starts a local HTTP server to handle incoming management requests.
MockOriginHTTPService should only be used by other packages to mock OriginService.
No description provided by the author
OriginRequestConfig configures how Cloudflared sends requests to origin services.
PacketRouter routes packets between Upstream and ICMPRouter.
Regexp adds unmarshalling from json for regexp.Regexp.
RemoteConfig models ingress settings that can be managed remotely, for example through the dashboard.
No description provided by the author
Rule routes traffic from a hostname/path on the public internet to the service running on the given URL.
No description provided by the author
WarpRoutingService starts a tcp stream between the origin and requests from warp clients.
# Interfaces
HTTPLocalProxy can be implemented by cloudflared services that want to handle incoming http requests.
HTTPOriginProxy can be implemented by origin services that want to proxy http requests.
ICMPResponder manages how to handle incoming ICMP messages coming from the origin to the edge.
ICMPRouter manages out-going ICMP requests towards the origin.
ICMPRouterServer is a parent interface over-top of ICMPRouter that allows for the operation of the proxy origin listeners.
OriginConnection is a way to stream to a service running on the user's origin.
OriginService is something a tunnel can proxy traffic to.
StreamBasedOriginProxy can be implemented by origin services that want to proxy ws/TCP.
No description provided by the author