proxyconfig

package
v0.0.0-...-b4a34e1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProxyConfig

type ProxyConfig struct {
	Mappings []*ProxyMapping
}

func ReadProxyConfig

func ReadProxyConfig(filename string) (*ProxyConfig, error)

type ProxyMapping

type ProxyMapping struct {
	LocalPath  string `json:"localPath"`
	RemotePath string `json:"remotePath"`
	Host       string `json:"host"`
	UseHTTPS   bool   `json:"useHTTPS"`
	Port       int    `json:"port"`
}

Jump to

Keyboard shortcuts

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