Versions in this module Expand all Collapse all v0 v0.0.1 Sep 18, 2023 Changes in this version + 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 StreamDomainNameQuery(readCtx context.Context, reader io.Reader) (*adapter.InboundContext, error) + func TLSClientHello(ctx context.Context, reader io.Reader) (*adapter.InboundContext, error) + type PacketSniffer = func(ctx context.Context, packet []byte) (*adapter.InboundContext, error) + type StreamSniffer = func(ctx context.Context, reader io.Reader) (*adapter.InboundContext, error)