validate

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateArgs added in v0.1.6

func ValidateArgs(args []string, idx int) (string, error)

ValidateArgs 验证参数长度,获取指定index的值

func ValidateIP

func ValidateIP(ip ...string) error

ValidateIP valedate the IP

func ValidateURL

func ValidateURL(urlSlice ...string) error

ValidateURL valedate the url scheme

Types

This section is empty.

Jump to

Keyboard shortcuts

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