validators

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2017 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateClientParams

func ValidateClientParams(params map[string]string) (bool, error)

ValidateClientParams : exportable helper to validate expected client parameters for calling NewClient()

func ValidateHTTPMethod

func ValidateHTTPMethod(str string) bool

ValidateHTTPMethod :

exportable helper to validate expected http method verbs.

func ValidateRequestType

func ValidateRequestType(str string) bool

ValidateRequestType :

exportable helper to validate expected request type for adhoc otp delivery.

Types

This section is empty.

Jump to

Keyboard shortcuts

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