options

package
v0.0.0-...-0edc9b0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	CPSProxy *cpsproxyoptions.Options
	Logs     *logs.Options
}

Options are organized in a tree with these at the root since they're for the command that is used to start the proxy process. The CPS proxy options are specific to CPS, but they also reference the options provided by the proxy implemention in kcp.

func NewOptions

func NewOptions() *Options

NewOptions creates a new Options with default parameters.

func (*Options) AddFlags

func (o *Options) AddFlags(fs *pflag.FlagSet)

func (*Options) Complete

func (o *Options) Complete() error

func (*Options) Validate

func (o *Options) Validate() []error

Jump to

Keyboard shortcuts

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