clientforwardproxy

package
v0.0.0-...-86b2471 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, opts *CLI) error

Types

type CLI

type CLI struct {
	Password  string `required help:"Password component of credentials to access server"`
	Port      int    `required help:"Port to listen on"`
	ServerURL string `required help:"URL of the server"`
	User      string `required help:"Username component of credentials to access server"`
}

CLI is a type reflected by "github.com/alecthomas/kong" that configures the CLI command for the client forward proxy.

Jump to

Keyboard shortcuts

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