proxyconfig

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package proxyconfig provide YAML and JSON configuration options for proxy settings.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProxyConfig

type ProxyConfig struct {
	// Proxy URL, e.g. http://user:password@localhost:8080
	URL string `yaml:"url" json:"url"`
}

func (ProxyConfig) Check added in v1.0.1

func (p ProxyConfig) Check() error

func (ProxyConfig) MarshalJSON

func (p ProxyConfig) MarshalJSON() ([]byte, error)

func (ProxyConfig) MarshalYAML

func (p ProxyConfig) MarshalYAML() (interface{}, error)

Jump to

Keyboard shortcuts

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