Documentation ¶
Index ¶
- func CRC32(value string) string
- func CreateThumbnail(inputPath string, outputPath string, maxWidth, maxHeight int) error
- func GenerateConfirmationCode() string
- func GenerateEntityId() string
- func GenerateHash(value, salt string) string
- func GenerateRSAKeyPair() (string, string, error)
- func GenerateRandomString(length int) string
- func GenerateUUID() string
- func GenerateUsername(prefix string) string
- func NewTimedTokenGenerator(duration time.Duration) system.ITimedTokenGenerator
- func Repeat(times int, iterator func(int))
- func RepeatParallel(times int, iterator func(int))
- func SaveFile(readCloser io.ReadCloser, configuration settings.IServerConfiguration, ...) (string, string, string, string, error)
- func SetLimits()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateThumbnail ¶ added in v1.8.8
func GenerateConfirmationCode ¶
func GenerateConfirmationCode() string
func GenerateEntityId ¶
func GenerateEntityId() string
func GenerateHash ¶
func GenerateRSAKeyPair ¶
GenerateRSAKeyPair generates an RSA keypair of 2048 bit size using the random source random (for example, crypto/rand.Reader) and returns the private and public keys
func GenerateRandomString ¶
func GenerateUUID ¶ added in v1.6.0
func GenerateUUID() string
func GenerateUsername ¶
func NewTimedTokenGenerator ¶
func NewTimedTokenGenerator(duration time.Duration) system.ITimedTokenGenerator
func RepeatParallel ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.