helpers

package
v0.0.0-...-127e4a0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppVersionCheck

func AppVersionCheck(binpath string) (string, error)

AppVersionCheck tries to execute a shell command with commandline argument "--version" and returns the resulting commandline output or the error if one occurs.

func IsValidPort

func IsValidPort(port string) bool

IsValidPort checks whether a provided port value can be parsed into a valid server port number (uint16)

func SupportedValidator

func SupportedValidator(validator string) bool

SupportedValidator checks whether a string matches Validators supported by the server.

func ValidDirectory

func ValidDirectory(path string) bool

ValidDirectory checks whether a given path exists and refers to a valid directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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