cmd

package
v0.0.0-...-0423af4 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const WelcomeMessage = "Welcome to inlets.dev! Find out more at https://github.com/foostackdev/inlets"

Variables

View Source
var (
	Version   string
	GitCommit string
)

Functions

func Execute

func Execute(version, gitCommit string) error

Execute adds all child commands to the root command(InletsCmd) and sets flags appropriately. This is called by main.main(). It only needs to happen once to the InletsCmd.

Types

type ArgsUpstreamParser

type ArgsUpstreamParser struct {
}

func (*ArgsUpstreamParser) Parse

func (a *ArgsUpstreamParser) Parse(input string) map[string]string

type UpstreamParser

type UpstreamParser interface {
	Parse(input string) map[string]string
}

Jump to

Keyboard shortcuts

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