validate

package
v0.0.0-...-145171d Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2026 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package validate provides validation functions for CLI arguments.

Index

Constants

View Source
const ExitNum = 2

ExitNum is the exit code used when validation fails.

Variables

This section is empty.

Functions

func ServerArgs

func ServerArgs(cltx *cli.Context) error

ServerArgs validates that the necessary flags are not missing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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