Versions in this module Expand all Collapse all v0 v0.0.1 Aug 18, 2021 Changes in this version + type BadRequest struct + type ClientHelloMsg struct + CipherSuites []uint16 + CompressionMethods []uint8 + NextProtoNeg bool + OcspStapling bool + Random []byte + Raw []byte + ServerName string + SessionId []byte + SessionTicket []uint8 + SupportedCurves []uint16 + SupportedPoints []uint8 + TicketSupported bool + Vers uint16 + type Closed struct + type Conn interface + Free func() + Host func() string + type HTTPConn struct + Request *http.Request + func HTTP(conn net.Conn) (httpConn *HTTPConn, err error) + func (c *HTTPConn) Free() + func (c *HTTPConn) Host() string + func (c *HTTPConn) SetHeader(key string, val string) + func (c *HTTPConn) WriteToBuffer() + func (c HTTPConn) Read(p []byte) (n int, err error) + type HTTPMuxer struct + func NewHTTPMuxer(listener net.Listener, muxTimeout time.Duration) (*HTTPMuxer, error) + func (m *HTTPMuxer) HandleError(conn net.Conn, err error) + func (m *HTTPMuxer) HandleErrors() + type Listener struct + func (l *Listener) Accept() (net.Conn, error) + func (l *Listener) Addr() net.Addr + func (l *Listener) Close() error + func (l *Listener) Name() string + type NotFound struct + type TLSConn struct + ClientHelloMsg *ClientHelloMsg + func TLS(conn net.Conn) (tlsConn *TLSConn, err error) + func (c *TLSConn) Free() + func (c *TLSConn) Host() string + func (c TLSConn) Read(p []byte) (n int, err error) + type TLSMuxer struct + func NewTLSMuxer(listener net.Listener, muxTimeout time.Duration) (*TLSMuxer, error) + func (m *TLSMuxer) HandleErrors() + func (m *TLSMuxer) Listen(name string) (net.Listener, error) + type VhostMuxer struct + func NewVhostMuxer(listener net.Listener, vhostFn muxFn, muxTimeout time.Duration) (*VhostMuxer, error) + func (m *VhostMuxer) Close() + func (m *VhostMuxer) Listen(name string) (net.Listener, error) + func (m *VhostMuxer) NextError() (net.Conn, error)