helpers

package
v0.0.0-...-c0a108e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptToByte

func DecryptToByte(value string, cipherKey string) ([]byte, error)

DecryptToByte : value, cipherKey

func DecryptToString

func DecryptToString(value string, cipherKey string) (string, error)

DecryptToString : value, cipherKey

func EncryptToByte

func EncryptToByte(value string, cipherKey string) ([]byte, error)

EncryptToByte : value, cipherKey

func EncryptToString

func EncryptToString(value string, cipherKey string) (string, error)

EncryptToString : value, cipherKey

func GetClientIPHelper

func GetClientIPHelper(req *http.Request) (ipResult string, errResult error)

GetClientIPHelper gets the client IP using a mixture of techniques. This is how it is with golang at the moment.

func IsValidEmail

func IsValidEmail(email string) bool

IsValidEmail : email

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL