Documentation ¶
Overview ¶
proxiedsites manages a list of proxied sites, including a default set of sites (cloud) and user-applied customizations to that list. It provides an implementation of the http.Handler interface that serves up a PAC file based on the currently active proxied sites (cloud + additions - deletions).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // User customizations *Delta // Global list of white-listed sites Cloud []string }
Config is the whole configuration for proxiedsites.
type Delta ¶
type Delta struct { Additions []string `json:"Additions, omitempty"` Deletions []string `json:"Deletions, omitempty"` }
Delta represents modifications to the proxied sites list.
func ActiveDelta ¶
func ActiveDelta() *Delta
ActiveDelta returns the active sites as a Delta of additions.
Click to show internal directories.
Click to hide internal directories.