sysproxy

package
v2.23.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2026 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Overview

Package sysproxy describes how this device routes web requests through proxies, as a proxy auto-config (PAC) script.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Detect

func Detect(ctx context.Context, explicit string) (pac string, warnings []string, err error)

Detect returns a PAC script that routes requests the way this device does: through explicit when it is set, otherwise by the operating system's proxy settings. Warnings say what could not be followed; the script then falls back to DIRECT for that part. The error reports an invalid explicit proxy.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL