app

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustClient added in v0.0.6

func MustClient(ctx context.Context, cmd *cli.Command) engine.Client

func MustPortOrRandom

func MustPortOrRandom(ctx context.Context, cmd *cli.Command, name string, preference int) int

MustPortOrRandom returns the port given on the command line, or a free port (preferring the given one) when the flag was not set.

func PortFlag

func PortFlag(name string) *cli.IntFlag

func PortFlagName added in v0.0.5

func PortFlagName(name string) string

Types

This section is empty.

Directories

Path Synopsis
git

Jump to

Keyboard shortcuts

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