Documentation ¶
Index ¶
- func CheckPassCode(passCode, hashedPassCode string) bool
- func ConnectDB()
- func DeleteLinkByShortcode(shortcode string) error
- func EncryptPassCode(passCode string) (string, error)
- func GenerateShortCode(length int) string
- func GetLinkByShortcode(shortcode string) (*models.Link, error)
- func HashIP(ip string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPassCode ¶
func DeleteLinkByShortcode ¶
func EncryptPassCode ¶
func GenerateShortCode ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.