Versions in this module Expand all Collapse all v1 v1.18.1 Nov 3, 2023 Changes in this version + const OptionData + const OptionError + const OptionNone + func NewV2rayObfs(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 + Headers map[string]string + Host string + Mux bool + Path string + Port string + SkipCertVerify bool + TLS bool + type SessionStatus = byte + const SessionStatusEnd + const SessionStatusKeep + const SessionStatusKeepAlive + const SessionStatusNew