transfer

package
v0.0.0-...-3e3e819 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FLOW_ORIGIN = iota
	FLOW_LINUX_ZEROCOPY
	FLOW_ZEROCOPY
	FLOW_MULTIPLE
	FLOW_AUTO
)

Variables

This section is empty.

Functions

func SimpleTransfer

func SimpleTransfer(a, b net.Conn, flow int)

Types

type Options

type Options struct {
	Out                     outbound.Outbound
	IsTLSHandleNeeded       bool
	IsMinecraftHandleNeeded bool
	FlowType                int
	McNameMode              int
	// contains filtered or unexported fields
}

func (*Options) AddCount

func (receiver *Options) AddCount(n int32)

func (*Options) GetCount

func (receiver *Options) GetCount() int32

Jump to

Keyboard shortcuts

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