MCPcopy Index your code
hub / github.com/tailscale/tailscale / handler

Interface handler

cmd/sniproxy/server.go:260–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258}
259
260type handler interface {
261 // Handle handles the given socket.
262 Handle(c net.Conn)
263
264 // ReachableOn returns the IP addresses this handler is reachable on.
265 ReachableOn() []netip.Addr
266}
267
268func installDNATHandler(d *appctype.DNATConfig, out *connector) {
269 // These handlers don't actually do DNAT, they just

Callers 10

installDNATHandlerFunction · 0.70
installSNIHandlerFunction · 0.70
ServeHTTPMethod · 0.50
acceptTCPMethod · 0.50
TestNameserverFunction · 0.50
applySchemesFunction · 0.50
newServeListenerMethod · 0.50
HandleIngressTCPConnMethod · 0.50

Implementers 2

tcpRoundRobinHandlercmd/sniproxy/handlers.go
tcpSNIHandlercmd/sniproxy/handlers.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…