dtls

package
v1.260327.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2026 License: MPL-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_transport_internet_finalmask_header_dtls_config_proto protoreflect.FileDescriptor

Functions

func NewConnClient

func NewConnClient(c *Config, raw net.PacketConn) (net.PacketConn, error)

func NewConnServer

func NewConnServer(c *Config, raw net.PacketConn) (net.PacketConn, error)

Types

type Config

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

func (*Config) Descriptor deprecated

func (*Config) Descriptor() ([]byte, []int)

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) HeaderConn added in v1.260327.0

func (c *Config) HeaderConn()

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

func (x *Config) ProtoReflect() protoreflect.Message

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

func (*Config) UDP

func (c *Config) UDP()

func (*Config) WrapPacketConnClient

func (c *Config) WrapPacketConnClient(raw net.PacketConn, level int, levelCount int) (net.PacketConn, error)

func (*Config) WrapPacketConnServer

func (c *Config) WrapPacketConnServer(raw net.PacketConn, level int, levelCount int) (net.PacketConn, error)

Jump to

Keyboard shortcuts

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