provider

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2020 License: GPL-3.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clash

type Clash struct {
	Proxies    proxy.ProxyList `yaml:"proxies"`
	Types      string          `yaml:"type"`
	Country    string          `yaml:"country"`
	NotCountry string          `yaml:"not_country"`
}

func (Clash) CleanProxies

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

func (Clash) Provide

func (c Clash) Provide() string

type Provider

type Provider interface {
	Provide() string
}

type Surge

type Surge struct {
	Proxies proxy.ProxyList `yaml:"proxies"`
}

func (Surge) Provide

func (s Surge) Provide() string

Jump to

Keyboard shortcuts

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