proxy

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleQuery

func HandleQuery(rawUri string) (result string)

func ParseRawUri

func ParseRawUri(rawUri string) (result string)

Types

type ISite

type ISite interface {
	SetHandler(handler func([]string))
	Run()
	Type() string
}

type ProxyRunner

type ProxyRunner struct {
	Result *outbound.Result `json:"vpn_list"`
	// contains filtered or unexported fields
}

func NewProxyRunner

func NewProxyRunner() (pr *ProxyRunner)

func (*ProxyRunner) AddSite

func (that *ProxyRunner) AddSite(site ISite)

func (*ProxyRunner) Run

func (that *ProxyRunner) Run()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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