Documentation ¶
Index ¶
- Constants
- func AESDecrypt(encryptedString string) (decryptedString string, err error)
- func AESEncrypt(stringToEncrypt string) (encryptedString string, err error)
- func GetExtensions(filename string) string
- func SendMail(toEmail string, subject string, body string) error
- func UploadFile(file *multipart.FileHeader, path string) error
- type EmptyObj
- type Response
Constants ¶
View Source
const (
// todo
KEY = "8e71bbce7451ba2835de5aea73e4f3f96821455240823d2fd8174975b8321bfc!"
)
View Source
const PATH = "assets"
Variables ¶
This section is empty.
Functions ¶
func AESDecrypt ¶
func AESEncrypt ¶
func GetExtensions ¶
func UploadFile ¶
func UploadFile(file *multipart.FileHeader, path string) error
Types ¶
Click to show internal directories.
Click to hide internal directories.