Versions in this module Expand all Collapse all v0 v0.1.0 Jul 14, 2026 Changes in this version + const DefaultBaseURL + const DefaultSystemCAPath + const DefaultTokenPath + func Env() map[string]string + func InheritedProxyEnv(env map[string]string) map[string]string + func MergeEnv(base []string, overlay map[string]string) []string + func NoProxyList() string + func ReadToken(path string) (string, error) + func UpstreamProxyWebSocketURL(baseURL string) string + type RuntimeReport struct + Bootstrap UpstreamProxyBootstrap + InheritedProxyEnv map[string]string + InheritedProxyEnvKeys []string + Remote SessionContext + State UpstreamProxyState + SubprocessEnv map[string]string + UpstreamProxy UpstreamProxyReport + func InspectEnv(env map[string]string, proxyPort uint16) RuntimeReport + type SessionContext struct + BaseURL string + Enabled bool + SessionID string + func SessionContextFromEnv(env map[string]string) SessionContext + type UpstreamProxyBootstrap struct + CABundlePath string + Missing []string + Remote SessionContext + SystemCAPath string + Token string + TokenConfigured bool + TokenPath string + UpstreamProxyEnabled bool + WebSocketURL string + func BootstrapFromEnv(env map[string]string) UpstreamProxyBootstrap + func (b UpstreamProxyBootstrap) Report(state UpstreamProxyState, subprocessEnv map[string]string) UpstreamProxyReport + func (b UpstreamProxyBootstrap) ShouldEnable() bool + func (b UpstreamProxyBootstrap) StateForPort(port uint16) UpstreamProxyState + type UpstreamProxyReport struct + CABundlePath string + Enabled bool + Missing []string + NoProxy string + ProxyURL string + Ready bool + SessionIDConfigured bool + SubprocessEnvKeyList []string + SystemCAPath string + TokenConfigured bool + TokenPath string + WebSocketURL string + type UpstreamProxyState struct + CABundlePath string + Enabled bool + NoProxy string + ProxyURL string + func (s UpstreamProxyState) SubprocessEnv() map[string]string