ss

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(flags *Config) error

func UpdateTargetToClient added in v1.2.0

func UpdateTargetToClient(targetToClient map[string]string)

Types

type Config

type Config struct {
	Client     string
	Server     string
	Cipher     string
	Key        string
	Password   string
	Socks      string
	RedirTCP   string
	RedirTCP6  string
	TCPTun     string
	UDPTun     string
	UDPSocks   bool
	UDP        bool
	TCP        bool
	Plugin     string
	PluginOpts string
	Verbose    bool
	UDPTimeout time.Duration
	TCPCork    bool

	TargetToClient map[string]string // map target ip to local tunnel port
	DefaultClient  string            // the default client for the targets are not in Target2Client map
}

Jump to

Keyboard shortcuts

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