Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler struct { // NewReqeust is ... NewRequest func(string, io.ReadCloser, string) *http.Request // Cipher is ... Cipher *core.Cipher // Client is ... Client http.Client // contains filtered or unexported fields }
Handler is ...
func NewHandler ¶
MewHandler is ...
func NewQUICHandler ¶
NewQUCIHandler is ...
func (*Handler) HandlePacket ¶
func (h *Handler) HandlePacket(conn gonet.PacketConn) error
HandlePacket is ...
type PacketReader ¶
type PacketReader struct { // Cipher is ... Cipher *core.Cipher // Reader is ... Reader gonet.PacketConn // contains filtered or unexported fields }
PacketReader is ...
func NewPacketReader ¶
func NewPacketReader(cipher *core.Cipher, conn gonet.PacketConn, timeout time.Duration) *PacketReader
NewPacketReader is ...
Click to show internal directories.
Click to hide internal directories.