Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser provides an interface to parse and utilise proxy auto-config (PAC) files.
func (*Parser) FindProxy ¶
FindProxy returns a proxy entry for the given URL or host returning an error if the attempt fails.
func (*Parser) Parse ¶
Parse loads a proxy auto-config (PAC) file using the given path returning an error if the file fails to load.
func (*Parser) ParseBytes ¶
ParseBytes loads a proxy auto-config (PAC) file using the given byte array
Click to show internal directories.
Click to hide internal directories.