tls

package
v3.27.1 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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) Size

func (*DTLS) Size() int32

Size implements PacketHeader.

func (*DTLS) Write

func (d *DTLS) Write(b []byte) (int, error)

Write implements PacketHeader.

type PacketConfig

type PacketConfig struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PacketConfig) Descriptor

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

func (*PacketConfig) ProtoMessage

func (*PacketConfig) ProtoMessage()

func (*PacketConfig) Reset

func (m *PacketConfig) Reset()

func (*PacketConfig) String

func (m *PacketConfig) String() string

func (*PacketConfig) XXX_DiscardUnknown

func (m *PacketConfig) XXX_DiscardUnknown()

func (*PacketConfig) XXX_Marshal

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

func (*PacketConfig) XXX_Merge

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

func (*PacketConfig) XXX_Size

func (m *PacketConfig) XXX_Size() int

func (*PacketConfig) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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