Documentation ¶
Overview ¶
cSpell:ignore gonic, orgs, paulo, ferreira
cSpell:ignore gonic, orgs, paulo, ferreira
Index ¶
- func IsValidEmail(v string) bool
- func IsValidGUID(v string) bool
- func IsValidHexID(v string) bool
- func IsValidID(v string) bool
- func IsValidOrgAlias(v string) bool
- func IsValidOrgReference(id string) bool
- func IsValidPasswordHash(p string) bool
- func IsValidRolesCSV(v string) bool
- func IsValidStoreAlias(v string) bool
- func IsValidStoreID(id string) bool
- func IsValidTemplateName(v string) bool
- func IsValidUID(p string) bool
- func IsValidUserID(id string) bool
- func IsValidUserName(v string) bool
- func RPFReadyVFields(r rpf.GINProcessor, c *gin.Context)
- func RPFTestVFields(code int, r rpf.GINProcessor, c *gin.Context)
- func ValidateEmailFormat(value string) (string, string)
- func ValidateFormParameter(c *gin.Context, name string, required bool, trim bool, allowEmpty bool) (string, string)
- func ValidateGUIDFormat(value string) (string, string)
- func ValidateGinParameter(c *gin.Context, name string, required bool, trim bool, allowEmpty bool) (string, string)
- func ValidateHash(value string) (string, string)
- func ValidateIntParameter(name string, value string, allowEmpty bool) (*int64, string)
- func ValidateObjectID(name string, value string) (*uint64, string)
- func ValidateOrgReference(value string) (interface{}, string)
- func ValidateStoreID(value string) (string, string)
- func ValidateStoreReference(value string) (interface{}, string)
- func ValidateStringParameter(name string, value string, trim bool, allowEmpty bool) (string, string)
- func ValidateTemplateName(value string) (interface{}, string)
- func ValidateURLParameter(c *gin.Context, name string, required bool, trim bool, allowEmpty bool) (string, string)
- func ValidateUintParameter(name string, value string, allowEmpty bool) (*uint64, string)
- func ValidateUserReference(value string) (interface{}, string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidEmail ¶
func IsValidGUID ¶
func IsValidHexID ¶
func IsValidOrgAlias ¶
func IsValidOrgReference ¶
func IsValidPasswordHash ¶
func IsValidRolesCSV ¶
func IsValidStoreAlias ¶
func IsValidStoreID ¶
func IsValidTemplateName ¶
func IsValidUID ¶
func IsValidUserID ¶
func IsValidUserName ¶
func RPFReadyVFields ¶
func RPFReadyVFields(r rpf.GINProcessor, c *gin.Context)
SINGLE/MULTI FIELD VALIDATION RPF HANDLERS //
func RPFTestVFields ¶
func RPFTestVFields(code int, r rpf.GINProcessor, c *gin.Context)
func ValidateEmailFormat ¶
func ValidateFormParameter ¶
func ValidateFormParameter(c *gin.Context, name string, required bool, trim bool, allowEmpty bool) (string, string)
Basic GIN Form Parameter Validator
func ValidateGUIDFormat ¶
func ValidateGinParameter ¶
func ValidateGinParameter(c *gin.Context, name string, required bool, trim bool, allowEmpty bool) (string, string)
Basic GIN Request Parameter Validator
func ValidateHash ¶
func ValidateIntParameter ¶
Basic Integer Parameter Validator
func ValidateOrgReference ¶
Value Contains a Value that can pass as a Organization Reference
func ValidateStoreID ¶
func ValidateStoreReference ¶
func ValidateStringParameter ¶
func ValidateStringParameter(name string, value string, trim bool, allowEmpty bool) (string, string)
Basic String Parameter Validator
func ValidateTemplateName ¶
Value Contains a Value that can pass as a Template Name
func ValidateURLParameter ¶
func ValidateURLParameter(c *gin.Context, name string, required bool, trim bool, allowEmpty bool) (string, string)
Basic GIN URL Parameter Validator
func ValidateUintParameter ¶
func ValidateUserReference ¶
Value Contains a Value that can pass as a User Reference
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.