validations

package
v0.0.17-beta6 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2023 License: GPL-3.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

View Source
const PORT_MAX int = 65535

maximum valid network port number

View Source
const PORT_MIN int = 1

minimum valid network port number

Variables

This section is empty.

Functions

func ValidateNetworkPort

func ValidateNetworkPort(port int) (err error)

function designed to validate a given network port number. if the port if too low or too high, this will be indicated in the return, othwerwise nil will be returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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