tls

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(_ context.Context, config interface{}) (interface{}, error)

New creates a new UTP header for the given config.

Types

type DTLS

type DTLS struct {
	// contains filtered or unexported fields
}

DTLS writes header as DTLS. See https://tools.ietf.org/html/rfc6347

func (*DTLS) Serialize

func (d *DTLS) Serialize(b []byte)

Serialize implements PacketHeader.

func (*DTLS) Size

func (*DTLS) Size() int32

Size implements PacketHeader.

type PacketConfig

type PacketConfig = tlscfg.PacketConfig

Jump to

Keyboard shortcuts

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