provider

package
v1.1.58 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

type Base struct {
	Proxies         *proxy.ProxyList `yaml:"proxies"`
	Types           string           `yaml:"type"`
	Country         string           `yaml:"country"`
	NotCountry      string           `yaml:"not_country"`
	Speed           string           `yaml:"speed"`
	Filter          string           `yaml:"filter"`
	UnderlyingProxy string           `yaml:"underlyingProxy"`
	TLS             string           `yaml:"tls"`     // true/1 只要 TLS;false/0 只要非 TLS
	Reality         string           `yaml:"reality"` // true/1 只要 Reality;false/0 只要非 Reality
}

type Clash

type Clash struct {
	Base
}

Clash provides functions that make proxies support clash client

func (Clash) CleanProxies

func (c Clash) CleanProxies() (proxies proxy.ProxyList)

CleanProxies cleans unsupported proxy type of clash

func (Clash) Provide

func (c Clash) Provide() string

Provide of clash generates providers for clash configuration

type Loon

type Loon struct {
	Base
}

Loon provides functions that make proxies support clash client

func (Loon) Provide

func (s Loon) Provide() string

Provide of Surge generates proxy list supported by surge

type Provider

type Provider interface {
	Provide() string
}

type QuanX added in v1.1.33

type QuanX struct {
	Base
}

QuanX 提供 Quantumult X 格式的代理输出

func (QuanX) Provide added in v1.1.33

func (q QuanX) Provide() string

Provide 生成 QuanX 支持格式的节点列表

type SIP002Sub

type SIP002Sub struct {
	Base
}

func (SIP002Sub) Provide

func (sub SIP002Sub) Provide() string

type SSRSub

type SSRSub struct {
	Base
}

func (SSRSub) Provide

func (sub SSRSub) Provide() string

type SSSub

type SSSub struct {
	Base
}

func (SSSub) Provide

func (sub SSSub) Provide() string

type Surge

type Surge struct {
	Base
}

Surge provides functions that make proxies support clash client

func (Surge) Provide

func (s Surge) Provide() string

Provide of Surge generates proxy list supported by surge

type TrojanSub

type TrojanSub struct {
	Base
}

func (TrojanSub) Provide

func (sub TrojanSub) Provide() string

type V2rayn added in v1.1.11

type V2rayn struct {
	Base
}

V2rayn provides functions that make proxies support v2rayn client

func (V2rayn) Provide added in v1.1.11

func (v V2rayn) Provide() string

Provide of v2rayn generates providers for v2rayn configuration

type VlessSub added in v1.1.32

type VlessSub struct {
	Base
}

VlessSub vless 订阅:base64 编码的 vless:// 链接列表

func (VlessSub) Provide added in v1.1.32

func (sub VlessSub) Provide() string

type VmessSub

type VmessSub struct {
	Base
}

func (VmessSub) Provide

func (sub VmessSub) Provide() string

Jump to

Keyboard shortcuts

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