core: v2ray.com/core/transport/internet/headers/tls Index | Files

package tls

import "v2ray.com/core/transport/internet/headers/tls"

Index

Package Files

config.pb.go dtls.go

Variables

var File_transport_internet_headers_tls_config_proto protoreflect.FileDescriptor

func New Uses

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

New creates a new UTP header for the given config.

type DTLS Uses

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

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

func (*DTLS) Serialize Uses

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

Serialize implements PacketHeader.

func (*DTLS) Size Uses

func (*DTLS) Size() int32

Size implements PacketHeader.

type PacketConfig Uses

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

func (*PacketConfig) Descriptor Uses

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

Deprecated: Use PacketConfig.ProtoReflect.Descriptor instead.

func (*PacketConfig) ProtoMessage Uses

func (*PacketConfig) ProtoMessage()

func (*PacketConfig) ProtoReflect Uses

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

func (*PacketConfig) Reset Uses

func (x *PacketConfig) Reset()

func (*PacketConfig) String Uses

func (x *PacketConfig) String() string

Package tls imports 8 packages (graph) and is imported by 9 packages. Updated 2020-10-15. Refresh now. Tools for package owners.