tls

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2020 License: MPL-2.0 Imports: 8 Imported by: 45

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_transport_internet_headers_tls_config_proto protoreflect.FileDescriptor

Functions

func New

func New(ctx 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 struct {
	// contains filtered or unexported fields
}

func (*PacketConfig) Descriptor deprecated

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

Deprecated: Use PacketConfig.ProtoReflect.Descriptor instead.

func (*PacketConfig) ProtoMessage

func (*PacketConfig) ProtoMessage()

func (*PacketConfig) ProtoReflect

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

func (*PacketConfig) Reset

func (x *PacketConfig) Reset()

func (*PacketConfig) String

func (x *PacketConfig) String() string

Jump to

Keyboard shortcuts

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