cmd

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// COMMIT git commit
	COMMIT = "gitsha1"
	// BRANCH git branch
	BRANCH = "dirty"
)

Functions

func ListenProxyAndServe added in v0.0.4

func ListenProxyAndServe(ctx context.Context, c *config.Config) error

ListenProxyAndServe run proxy cmd

func Main

func Main(ctx context.Context, args ...string) error

Main function

Types

type Opts

type Opts struct {
	ConfigYamlFile string `` /* 140-byte string literal not displayed */
	Verbose        bool   `long:"verbose" short:"v" env:"VERBOSE" description:"verbose mode"`
}

Opts with all cli commands and flags

Jump to

Keyboard shortcuts

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