ipaddress

package
v0.19.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateString

func ValidateString(input string) (bool, error)

ValidateString validates that the given string is either an IPv6 or an IPv4 address

func ValidateStructField

func ValidateStructField(value reflect.Value, tag string) (bool, error)

ValidateStructField validates a struct field holds either an IPv6 or an IPv4 address

Types

This section is empty.

Jump to

Keyboard shortcuts

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