utp

package
v2.13.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package utp is a generated protocol buffer package.

It is generated from these files:

v2ray.com/core/transport/internet/headers/utp/config.proto

It has these top-level messages:

Config

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Version uint32 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
}

func (*Config) Descriptor

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

func (*Config) GetVersion

func (m *Config) GetVersion() uint32

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) Reset

func (m *Config) Reset()

func (*Config) String

func (m *Config) String() string

type UTP

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

func (*UTP) Size

func (v *UTP) Size() int

func (*UTP) Write

func (v *UTP) Write(b []byte) (int, error)

type UTPFactory

type UTPFactory struct{}

func (UTPFactory) Create

func (v UTPFactory) Create(rawSettings interface{}) internet.PacketHeader

Jump to

Keyboard shortcuts

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