Documentation ¶
Index ¶
- type BufferedConn
- func (c *BufferedConn) Close() error
- func (c *BufferedConn) LocalAddr() net.Addr
- func (c *BufferedConn) Read(b []byte) (n int, err error)
- func (c *BufferedConn) RemoteAddr() net.Addr
- func (c *BufferedConn) SetDeadline(t time.Time) error
- func (c *BufferedConn) SetReadDeadline(t time.Time) error
- func (c *BufferedConn) SetWriteDeadline(t time.Time) error
- func (c *BufferedConn) Write(b []byte) (n int, err error)
- type ChannelListener
- type TLSClientHelloConn
- func (c *TLSClientHelloConn) Close() error
- func (c *TLSClientHelloConn) LocalAddr() net.Addr
- func (c *TLSClientHelloConn) Read(b []byte) (n int, err error)
- func (c *TLSClientHelloConn) RemoteAddr() net.Addr
- func (c *TLSClientHelloConn) SetDeadline(t time.Time) error
- func (c *TLSClientHelloConn) SetReadDeadline(t time.Time) error
- func (c *TLSClientHelloConn) SetWriteDeadline(t time.Time) error
- func (c *TLSClientHelloConn) Write(b []byte) (n int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BufferedConn ¶
func NewBufferedConn ¶
func NewBufferedConn(conn net.Conn) *BufferedConn
func (*BufferedConn) Close ¶
func (c *BufferedConn) Close() error
func (*BufferedConn) LocalAddr ¶
func (c *BufferedConn) LocalAddr() net.Addr
func (*BufferedConn) RemoteAddr ¶
func (c *BufferedConn) RemoteAddr() net.Addr
func (*BufferedConn) SetDeadline ¶
func (c *BufferedConn) SetDeadline(t time.Time) error
func (*BufferedConn) SetReadDeadline ¶
func (c *BufferedConn) SetReadDeadline(t time.Time) error
func (*BufferedConn) SetWriteDeadline ¶
func (c *BufferedConn) SetWriteDeadline(t time.Time) error
type ChannelListener ¶
func NewChannelListener ¶
func NewChannelListener(ctx context.Context, ch chan net.Conn) *ChannelListener
func (*ChannelListener) Addr ¶
func (ln *ChannelListener) Addr() net.Addr
func (*ChannelListener) Close ¶
func (ln *ChannelListener) Close() error
type TLSClientHelloConn ¶
type TLSClientHelloConn struct { Conn *tls.Conn ClientHelloRecord []byte Done context.CancelFunc }
func (*TLSClientHelloConn) Close ¶
func (c *TLSClientHelloConn) Close() error
func (*TLSClientHelloConn) LocalAddr ¶
func (c *TLSClientHelloConn) LocalAddr() net.Addr
func (*TLSClientHelloConn) RemoteAddr ¶
func (c *TLSClientHelloConn) RemoteAddr() net.Addr
func (*TLSClientHelloConn) SetDeadline ¶
func (c *TLSClientHelloConn) SetDeadline(t time.Time) error
func (*TLSClientHelloConn) SetReadDeadline ¶
func (c *TLSClientHelloConn) SetReadDeadline(t time.Time) error
func (*TLSClientHelloConn) SetWriteDeadline ¶
func (c *TLSClientHelloConn) SetWriteDeadline(t time.Time) error
Click to show internal directories.
Click to hide internal directories.