args

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConcurrentDescription

func ConcurrentDescription(value int) string

ConcurrentDescription returns a description of the concurrent argument.

func IsConcurrent

func IsConcurrent(value string, result *int) error

IsConcurrent checks that the value is a valid number of concurrent connections.

func IsFile

func IsFile(value string, result *string) error

IsFile checks that the value is a file.

func IsPort

func IsPort(value string, result *uint16) error

IsPort checks that the value is a valid port number.

func PortDescription

func PortDescription(value uint16) string

PortDescription returns a description of the port argument.

Types

This section is empty.

Jump to

Keyboard shortcuts

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