internal

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DialContext

type DialContext = func(ctx context.Context, network, addr string) (net.Conn, error)

type Node

type Node struct {
	Name string
	// contains filtered or unexported fields
}

func NewNode

func NewNode(host string, port uint16, method string, password string, name string) (*Node, error)

func NodesFromBase64

func NodesFromBase64(text string) ([]Node, error)

NodesFromBase64 parses shadowsocks nodes from a base64 encoded list

func (*Node) GetDialContext

func (n *Node) GetDialContext(ctx context.Context) (DialContext, error)

func (*Node) GetLocalProxy

func (n *Node) GetLocalProxy(ctx context.Context, port uint16) error

Jump to

Keyboard shortcuts

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