bind

package
v1.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 License: MIT, MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DNSConfig

func DNSConfig(fs *pflag.FlagSet, cfg *forwarder.DNSConfig)

func HTTPProxyConfig

func HTTPProxyConfig(fs *pflag.FlagSet, cfg *forwarder.HTTPProxyConfig)

func HTTPServerConfig

func HTTPServerConfig(fs *pflag.FlagSet, cfg *forwarder.HTTPServerConfig, prefix string, http2 bool)

func HTTPTransportConfig

func HTTPTransportConfig(fs *pflag.FlagSet, cfg *forwarder.HTTPTransportConfig)

func LogConfig

func LogConfig(fs *pflag.FlagSet, cfg *log.Config)

func MarkFlagFilename

func MarkFlagFilename(cmd *cobra.Command, names ...string)

func MarkFlagHidden

func MarkFlagHidden(cmd *cobra.Command, names ...string)

func MarkFlagRequired

func MarkFlagRequired(cmd *cobra.Command, names ...string)

func PAC

func PAC(fs *pflag.FlagSet, pac **url.URL)

func TLSConfig

func TLSConfig(fs *pflag.FlagSet, cfg *forwarder.TLSConfig)

Types

This section is empty.

Jump to

Keyboard shortcuts

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