Movatterモバイル変換


[0]ホーム

URL:


proxymux

package
v1.92.2Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2025 License:BSD-3-ClauseImports:4Imported by:11

Details

Repository

github.com/tailscale/tailscale

Links

Documentation

Overview

Package proxymux splits a net.Listener in two, routing SOCKS5connections to one and HTTP requests to the other.

It allows for hosting both a SOCKS5 proxy and an HTTP proxy on thesame listener.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcSplitSOCKSAndHTTP

func SplitSOCKSAndHTTP(lnnet.Listener) (socksListener, httpListenernet.Listener)

SplitSOCKSAndHTTP accepts connections on ln and passes connectionsthrough to either socksListener or httpListener, depending thefirst byte sent by the client.

Types

This section is empty.

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp