helpers

package
v0.0.0-...-f2fa0db Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPasswordHash

func CheckPasswordHash(password, hash string) bool

CheckPasswordHash will check hashed password against password

func GetOffsetAndLimit

func GetOffsetAndLimit(offset, limit int64) (int64, int64)

GetOffsetAndLimit return the offset and limit variable from the request, if not available return the default value

func HashPassword

func HashPassword(password string) (string, error)

HashPassword return hashed password

Types

This section is empty.

Jump to

Keyboard shortcuts

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