pktconns

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientPacketConnFunc

type ClientPacketConnFunc func(server string) (net.PacketConn, net.Addr, error)

func NewClientFakeTCPConnFunc

func NewClientFakeTCPConnFunc(obfsPassword string, hopInterval time.Duration) ClientPacketConnFunc

func NewClientUDPConnFunc

func NewClientUDPConnFunc(obfsPassword string, hopInterval time.Duration) ClientPacketConnFunc

func NewClientWeChatConnFunc

func NewClientWeChatConnFunc(obfsPassword string, hopInterval time.Duration) ClientPacketConnFunc

type ClientPacketConnFuncFactory

type ClientPacketConnFuncFactory func(obfsPassword string, hopInterval time.Duration) ClientPacketConnFunc

type ServerPacketConnFunc

type ServerPacketConnFunc func(listen string) (net.PacketConn, error)

func NewServerFakeTCPConnFunc

func NewServerFakeTCPConnFunc(obfsPassword string) ServerPacketConnFunc

func NewServerUDPConnFunc

func NewServerUDPConnFunc(obfsPassword string) ServerPacketConnFunc

func NewServerWeChatConnFunc

func NewServerWeChatConnFunc(obfsPassword string) ServerPacketConnFunc

type ServerPacketConnFuncFactory

type ServerPacketConnFuncFactory func(obfsPassword string) ServerPacketConnFunc

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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