lxHelper

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareHashAndPassword

func CompareHashAndPassword(hashedPwd, plainPwd string) error

CompareHashAndPassword, compare encrypt password with plain password

func GenerateFromPassword

func GenerateFromPassword(plainPwd string) (string, error)

GenerateFromPassword, create a new encrypted password from plain password

Types

type M added in v0.1.4

type M map[string]interface{}

type ReqByQuery added in v0.2.0

type ReqByQuery struct {
	Options lxDb.Options `json:"opts,omitempty"`
	Query   M            `json:"query"`
}

func NewReqByQuery added in v0.2.2

func NewReqByQuery(opts string) (*ReqByQuery, error)

Jump to

Keyboard shortcuts

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