badtls

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2022 License: GPL-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conn

type Conn struct {
	*tls.Conn
	// contains filtered or unexported fields
}

func (*Conn) FrontHeadroom

func (c *Conn) FrontHeadroom() int

func (*Conn) RearHeadroom

func (c *Conn) RearHeadroom() int

func (*Conn) Upstream

func (c *Conn) Upstream() any

func (*Conn) UpstreamWriter

func (c *Conn) UpstreamWriter() any

func (*Conn) WriteBuffer

func (c *Conn) WriteBuffer(buffer *buf.Buffer) error

func (*Conn) WriterMTU

func (c *Conn) WriterMTU() int

type TLSConn

type TLSConn interface {
	net.Conn
	HandshakeContext(ctx context.Context) error
	ConnectionState() tls.ConnectionState
}

func Create

func Create(conn *tls.Conn) (TLSConn, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL