Documentation ¶
Index ¶
- Variables
- func Contains(stringSlice []string, stringToSearch string) bool
- func ContainsKey(thisMap interface{}, key string) bool
- func CropImage(img io.Reader, imgMimeType string, target string, anchorCoord [2]int) (image.Image, error)
- func Decrypt(encodedData string, secret []byte) (string, error)
- func DetectMimeType(file io.Reader) (string, error)
- func EncodePassword(rawPassword string, salt string) (encodedPassword string)
- func Encrypt(plainData string, secret []byte) (string, error)
- func GetRandomString(amount int) (randomString string)
- func MergeMaps(map1 map[string]string, map2 map[string]string) map[string]string
- func PBKDF2(password, salt []byte, iter, keyLen int, h func() hash.Hash) []byte
- func SessionInit(env string)
- func UploadImage(target string, img image.Image) error
Constants ¶
This section is empty.
Variables ¶
View Source
var CurrentEnvironment string
View Source
var ImageSizes map[string][2]int
View Source
var SuportedMimeTypes map[string][]string
Functions ¶
func ContainsKey ¶
func EncodePassword ¶
EncodePassword ...
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.