validator

package
v0.1.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsBool

func IsBool(s string) bool

func IsDomain

func IsDomain(domain string) bool

func IsEmail

func IsEmail(s string) bool

func IsGitUrl

func IsGitUrl(url string) bool

Check incoming string on git valid utl Ex:

func IsIP

func IsIP(ip string) bool

func IsMac

func IsMac(mac string) bool

func IsNamespaceName

func IsNamespaceName(s string) bool

func IsNil

func IsNil(a interface{}) bool

func IsPort

func IsPort(port int) bool

func IsProtocol

func IsProtocol(protocol string) bool

func IsPublicKey

func IsPublicKey(key string) bool

func IsRole

func IsRole(role string) bool

func IsServiceName

func IsServiceName(s string) bool

func IsUUID

func IsUUID(uuid string) bool

func IsValueInList

func IsValueInList(value string, list []string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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