Versions in this module Expand all Collapse all v1 v1.19.3 Mar 3, 2025 v1.19.2 Feb 8, 2025 v1.19.1 Dec 31, 2024 v1.19.0 Dec 9, 2024 v1.18.10 Oct 21, 2024 v1.18.9 Sep 29, 2024 v1.18.8 Sep 2, 2024 v1.18.7 Jul 28, 2024 v1.18.6 Jul 1, 2024 v1.18.5 May 18, 2024 v1.18.4 Apr 29, 2024 v1.18.3 Mar 29, 2024 v1.18.2 Mar 27, 2024 v1.18.1 Feb 2, 2024 v1.18.0 Jan 2, 2024 v1.17.1 Dec 2, 2023 v1.17.0 Dec 2, 2023 Changes in this version + const OptionData + const OptionError + const OptionNone + func NewV2rayObfs(ctx context.Context, conn net.Conn, option *Option) (net.Conn, error) + type Mux struct + func NewMux(conn net.Conn, option MuxOption) *Mux + func (m *Mux) Close() error + func (m *Mux) Read(b []byte) (int, error) + func (m *Mux) Write(b []byte) (int, error) + type MuxOption struct + Host string + ID [2]byte + Port uint16 + Type string + type Option struct + Fingerprint string + Headers map[string]string + Host string + Mux bool + Path string + Port string + SkipCertVerify bool + TLS bool + V2rayHttpUpgrade bool + V2rayHttpUpgradeFastOpen bool + type SessionStatus = byte + const SessionStatusEnd + const SessionStatusKeep + const SessionStatusKeepAlive + const SessionStatusNew