Documentation ¶
Index ¶
- Constants
- func AutoMode(port, name string, proxy ...*Proxy) (b []byte, err error)
- func DeCompressFromBase64(b []byte) ([]byte, error)
- func ForAndroid(password, host, port string) (b []byte, err error)
- func NewOptions(port string) string
- func NewProxies(name string, proxy ...*Proxy) string
- func NewProxyGroup(name string, proxies ...string) string
- func ParseTrojanLink(link string) (password, host, port, tag string, err error)
- type Config
- type Proxy
Constants ¶
View Source
const (
ModeTrojan = "trojan"
)
Variables ¶
This section is empty.
Functions ¶
func DeCompressFromBase64 ¶
func ForAndroid ¶
func NewOptions ¶
func NewProxies ¶
func NewProxyGroup ¶
func ParseTrojanLink ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.