Documentation ¶
Index ¶
- func DomainNameQuery(ctx context.Context, packet []byte) (*adapter.InboundContext, error)
- func HTTPHost(ctx context.Context, reader io.Reader) (*adapter.InboundContext, error)
- func PeekPacket(ctx context.Context, packet []byte, sniffers ...PacketSniffer) (*adapter.InboundContext, error)
- func PeekStream(ctx context.Context, conn net.Conn, buffer *buf.Buffer, timeout time.Duration, ...) (*adapter.InboundContext, error)
- func QUICClientHello(ctx context.Context, packet []byte) (*adapter.InboundContext, error)
- func STUNMessage(ctx context.Context, packet []byte) (*adapter.InboundContext, error)
- func Skip(metadata adapter.InboundContext) bool
- func StreamDomainNameQuery(readCtx context.Context, reader io.Reader) (*adapter.InboundContext, error)
- func TLSClientHello(ctx context.Context, reader io.Reader) (*adapter.InboundContext, error)
- type PacketSniffer
- type StreamSniffer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DomainNameQuery ¶
func PeekPacket ¶
func PeekPacket(ctx context.Context, packet []byte, sniffers ...PacketSniffer) (*adapter.InboundContext, error)
func PeekStream ¶
func QUICClientHello ¶
func STUNMessage ¶
func Skip ¶ added in v1.9.5
func Skip(metadata adapter.InboundContext) bool
func StreamDomainNameQuery ¶
func TLSClientHello ¶
Types ¶
type PacketSniffer ¶
type StreamSniffer ¶
Click to show internal directories.
Click to hide internal directories.