udsproxy

package
v0.0.0-...-ada0444 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = &cli.Command{
	Name:     "uds-proxy",
	Usage:    "HTTP server that proxies requests to Unix domain sockets",
	Action:   action,
	Commands: []*cli.Command{version.Command},
	Flags: []cli.Flag{
		&cli.StringFlag{
			Name:    "host",
			Aliases: []string{"H"},
			Value:   defaults.Host,
			Usage:   "listen host address",
		},
		&cli.IntFlag{
			Name:    "port",
			Aliases: []string{"p"},
			Value:   defaults.Port,
			Usage:   "listen port (0 for auto-assign)",
		},
		&cli.StringFlag{
			Name:  "port-file",
			Value: defaults.PortFile,
			Usage: "file to write actual port",
		},
		&cli.IntFlag{
			Name:  "timeout",
			Value: defaults.Timeout,
			Usage: "request timeout in milliseconds",
		},
		&cli.IntFlag{
			Name:  "max-conns",
			Value: defaults.MaxConns,
			Usage: "maximum connections per socket",
		},
		&cli.IntFlag{
			Name:  "max-idle-conns",
			Value: defaults.MaxIdleConns,
			Usage: "maximum idle connections per socket",
		},
		&cli.BoolFlag{
			Name:  "no-access-log",
			Value: defaults.NoAccessLog,
			Usage: "disable access logging",
		},
	},
}

Command returns the uds-proxy CLI command

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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