package
0.0.0-20230513214706-dafb160d72e7
Repository: https://github.com/zenith110/cms-backend.git
Documentation: pkg.go.dev

# Functions

@param - username @type - string @param - password @type - string @param - role @type - string @description - Role a user has @rtype - model.User @description - Authenticates the user based off a non Reader role.
@param - email @type - string @param - password @type - string @rtype - model.User @description - Authenticates only Reader users(examples include public facing sites) */.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Creates a reusable session for AWS S3 usage */.
No description provided by the author
No description provided by the author
Creates a AWS bucket given project paramaters */.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Decrypt method is to extract back the encrypted text.
Deletes all projects buckets tied to a specific user */.
No description provided by the author
No description provided by the author
Deletes individual article folders within a user's project bucket */.
No description provided by the author
Deletes a bucket specified by bucketname */.
No description provided by the author
No description provided by the author
Delete a project and all its articles and assets.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Encrypt method is to encrypt or hide any classified text.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
@param - jwtToken @type - string @rtype - string, err @description - Validates the JWT is properly signed within the CMS */.
@param - email @type - string @param - password @type - string @rtype - string, err @description - Authenticates the user, and returns a JWT.
No description provided by the author
No description provided by the author
Takes in a map, and processes the image to be able to upload to AWS */.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author