server

package
v0.0.0-...-84ddfae Latest Latest
Warning

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

Go to latest
Published: May 7, 2023 License: Apache-2.0 Imports: 28 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 {
	ConfigFile           string `required:"" type:"existingfile" help:"Name of the YAML config file"`
	Port                 int    `required:"" help:"Port to listen on"`
	CredentialHelperPort int    `required:"" help:"Credential helper port to listen on"`
	ScratchDir           string `help:"Directory in which to create temporary scratch files"`
}

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