package
Version:
v0.0.8
Opens a new window with list of versions in this module.
Published: Oct 10, 2021
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
IsMode returns if `s` is a valid `Mode`.
Note: It will automatically uppercase `s`.
Mode is the type of the proxy as specified in the PAC content. Called `Mode`
because `type` is a Golang reserved word.
const (
Direct Mode = "DIRECT"
Proxy Mode = "PROXY"
Socks Mode = "SOCKS"
Socks5 Mode = "SOCKS5"
)
List of possible modes.
String is the Stringer interface implementation.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.