badtls

package
v1.3.1-beta.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: GPL-2.0 Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

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

func TryCreate added in v1.2.7

func TryCreate(conn aTLS.Conn) aTLS.Conn

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

Jump to

Keyboard shortcuts

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