routevalidation

package
v0.0.0-...-be61b1a Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: GPL-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddPlantLogValidation

func AddPlantLogValidation(next http.HandlerFunc, mongoDBInterface *mongodb.MethodInterface) http.HandlerFunc

///////////////////////////////////////////////////////////////////////////////////////////// ADD PLANT LOG /////////////

func AddPlantValidation

func AddPlantValidation(next http.HandlerFunc, mongoDBInterface *mongodb.MethodInterface) http.HandlerFunc

///////////////////////////////////////////////////////////////////////////////////////////// ADD ENERGY PLANT VALIDATION ///////////////////////

func DeleteImageValidation

func DeleteImageValidation(next http.HandlerFunc, awsInterface *aws.MethodInterface, mongoDBInterface *mongodb.MethodInterface) http.HandlerFunc

///////////////////////////////////////////////////////////////////////////////////////////// DELETE FILE VALIDATION ////////////////

func DeletePlantValidation

func DeletePlantValidation(next http.HandlerFunc, mongoDBInterface *mongodb.MethodInterface) http.HandlerFunc

///////////////////////////////////////////////////////////////////////////////////////////// DELETE ENERGY PLANT VALIDATION ///////////////////////

func GetPlantStatisticsValidation

func GetPlantStatisticsValidation(next http.HandlerFunc, mongoDBInterface *mongodb.MethodInterface) http.HandlerFunc

///////////////////////////////////////////////////////////////////////////////////////////// GET PLANT STATISTICS ///////////////////////

func RegistrationValidation

func RegistrationValidation(next http.HandlerFunc, mongoDBInterface *mongodb.MethodInterface) http.HandlerFunc

///////////////////////////////////////////////////////////////////////////////////////////// REGISTRATION VALIDATION ///////////////////////

func SetKeySecretValidation

func SetKeySecretValidation(next http.HandlerFunc, mongoDBInterface *mongodb.MethodInterface) http.HandlerFunc

///////////////////////////////////////////////////////////////////////////////////////////// CREATE NEW KEY AND SECRET /////////////////////////

func SetPlantConfigValidation

func SetPlantConfigValidation(next http.HandlerFunc, mongoDBInterface *mongodb.MethodInterface) http.HandlerFunc

///////////////////////////////////////////////////////////////////////////////////////////// PLANT CONFIGURATION UPDATE //////////////////////////

func SigninValidation

func SigninValidation(next http.HandlerFunc) http.HandlerFunc

///////////////////////////////////////////////////////////////////////////////////////////// LOGIN VALIDATION ////////////////

func SignoutValidation

func SignoutValidation(next http.HandlerFunc) http.HandlerFunc

///////////////////////////////////////////////////////////////////////////////////////////// SIGNOUT VERIFICATION VALIDATION ////////////////////////////////////

func UploadImageValidation

func UploadImageValidation(next http.HandlerFunc) http.HandlerFunc

///////////////////////////////////////////////////////////////////////////////////////////// UPLOAD VALIDATION ///////////////////////

func VerificationValidation

func VerificationValidation(next http.HandlerFunc) http.HandlerFunc

///////////////////////////////////////////////////////////////////////////////////////////// REGISTRATION VERIFICATION VALIDATION ////////////////////////////////////

Types

type Plant

type Plant struct {
	Email string
}

/////////////////////////////////////////////// Validation middleware for registration endpoint

Jump to

Keyboard shortcuts

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