ss

package
v0.0.0-...-550907a Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(server config.CoralServer) (proxy.Proxy, error)

Types

type ShadowsocksProxy

type ShadowsocksProxy struct {
	Timeout time.Duration
	Cipher  *ss.Cipher
	Address string
	// contains filtered or unexported fields
}

func (*ShadowsocksProxy) Dial

func (this *ShadowsocksProxy) Dial(network, addr string) (net.Conn, time.Duration, error)

func (*ShadowsocksProxy) Direct

func (this *ShadowsocksProxy) Direct() bool

func (*ShadowsocksProxy) Name

func (this *ShadowsocksProxy) Name() string

Jump to

Keyboard shortcuts

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