Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRejectQuic = errors.New("XTLS rejected QUIC traffic")
Functions ¶
This section is empty.
Types ¶
type ClientSettings ¶
type ClientSettings struct {
Address net.Address
ServerPicker i.PortSelector
Account *vless.MemoryAccount
TimeoutSetting i.TimeoutSetting
Dialer i.Dialer
}
type Handler ¶
type Handler struct {
ClientSettings
}
Handler is an outbound connection handler for VLess protocol.
func (*Handler) HandleFlow ¶
func (h *Handler) HandleFlow(ctx context.Context, dst net.Destination, rw buf.ReaderWriter) error
func (*Handler) HandlePacketConn ¶
func (h *Handler) HandlePacketConn(ctx context.Context, dst net.Destination, p udp.PacketReaderWriter) error
Click to show internal directories.
Click to hide internal directories.