Documentation ¶
Index ¶
- Variables
- func CompleteFromInstructionData(m *vmess.Metadata, instructionData []byte) (err error)
- func NewDialer(nextDialer proxy.Dialer, header protocol.Header) (proxy.Dialer, error)
- func Password2Key(password string) (id []byte, err error)
- type Conn
- func (c *Conn) LocalAddr() net.Addr
- func (c *Conn) Read(b []byte) (n int, err error)
- func (c *Conn) ReadFrom(p []byte) (n int, addr net.Addr, err error)
- func (c *Conn) ReadReqHeader() (err error)
- func (c *Conn) ReadRespHeader() (err error)
- func (c *Conn) RemoteAddr() net.Addr
- func (c *Conn) Write(b []byte) (n int, err error)
- func (c *Conn) WriteTo(p []byte, addr net.Addr) (n int, err error)
- type Dialer
Constants ¶
This section is empty.
Variables ¶
View Source
var (
FailAuthErr = fmt.Errorf("incorrect UUID")
)
Functions ¶
func Password2Key ¶
Types ¶
type Conn ¶
func (*Conn) ReadReqHeader ¶
func (*Conn) ReadRespHeader ¶
func (*Conn) RemoteAddr ¶
Click to show internal directories.
Click to hide internal directories.