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

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 {
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*PacketConfig) Descriptor Uses

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

func (*PacketConfig) ProtoMessage Uses

func (*PacketConfig) ProtoMessage()

func (*PacketConfig) Reset Uses

func (m *PacketConfig) Reset()

func (*PacketConfig) String Uses

func (m *PacketConfig) String() string

func (*PacketConfig) XXX_DiscardUnknown Uses

func (m *PacketConfig) XXX_DiscardUnknown()

func (*PacketConfig) XXX_Marshal Uses

func (m *PacketConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PacketConfig) XXX_Merge Uses

func (m *PacketConfig) XXX_Merge(src proto.Message)

func (*PacketConfig) XXX_Size Uses

func (m *PacketConfig) XXX_Size() int

func (*PacketConfig) XXX_Unmarshal Uses

func (m *PacketConfig) XXX_Unmarshal(b []byte) error

Package tls imports 6 packages (graph) and is imported by 4 packages. Updated 2019-04-20. Refresh now. Tools for package owners.