alkasir: github.com/alkasir/alkasir/pkg/pac Index | Files

package pac

import "github.com/alkasir/alkasir/pkg/pac"

Proxy auto configuration (pac) generator

pac browser config generator

Index

Package Files

doc.go jstemplate.go pac.go

func GenPAC Uses

func GenPAC() []byte

GenPAC regenerates the proxy auto configration file file

func SetBlockedMethod Uses

func SetBlockedMethod(protocol, connectstr string)

SetBlockedMethod updates the address of the proxy used when blocked

func UpdateBlockedList Uses

func UpdateBlockedList(hosts ...[]string)

UpdateBlockedList updates the list of hosts that are going through the blocked proxy configuration.

func UpdateDirectList Uses

func UpdateDirectList(hosts []string)

UpdateBlockedList updates the list of hosts that are not going through any proxy.

Package pac imports 8 packages (graph) and is imported by 1 packages. Updated 2016-07-15. Refresh now. Tools for package owners.