Documentation ¶
Index ¶
- func DecryptToByte(value string, cipherKey string) ([]byte, error)
- func DecryptToString(value string, cipherKey string) (string, error)
- func EncryptToByte(value string, cipherKey string) ([]byte, error)
- func EncryptToString(value string, cipherKey string) (string, error)
- func GetClientIPHelper(req *http.Request) (ipResult string, errResult error)
- func IsValidEmail(email string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptToByte ¶
DecryptToByte : value, cipherKey
func DecryptToString ¶
DecryptToString : value, cipherKey
func EncryptToByte ¶
EncryptToByte : value, cipherKey
func EncryptToString ¶
EncryptToString : value, cipherKey
func GetClientIPHelper ¶
GetClientIPHelper gets the client IP using a mixture of techniques. This is how it is with golang at the moment.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.