validation

package
v1.0.3-rc.1 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidUUID

func IsValidUUID(u string) bool

IsValidUUID checks if UUID is valid

func ValidateCreateTemplate

func ValidateCreateTemplate(tmpl models.Template) []error

ValidateCreateTemplate validates template creation request nolint: gocyclo

func ValidateSendRequest

func ValidateSendRequest(snd models.SendRequest) []error

ValidateSendRequest validates send mail request nolint: gocyclo

func ValidateSimpleSendRequest

func ValidateSimpleSendRequest(snd models.SimpleSendRequest) []error

ValidateSimpleSendRequest validates simple send mail request nolint: gocyclo

func ValidateUpdateTemplate

func ValidateUpdateTemplate(tmpl models.Template) []error

ValidateUpdateTemplate validates template update request nolint: gocyclo

Types

This section is empty.

Jump to

Keyboard shortcuts

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