pkg

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartQuicServer

func StartQuicServer(ctx context.Context, config QuicConfig) context.Context

StartQuicServer public export start interface for quic server

func StartSocks5Server

func StartSocks5Server(ctx context.Context, config Socks5Config) context.Context

StartSocks5Server public export start interface for socks5 server

Types

type QuicConfig

type QuicConfig struct {
	Listen string
}

QuicConfig quic server config

type Socks5Config

type Socks5Config struct {
	Listen  string
	Connect string
}

Socks5Config socks5 server config

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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