Discover Packages
github.com/adiet95/go-order-api
src
libs
package
Version:
v0.0.0-...-d636fa7
Opens a new window with list of versions in this module.
Published: Oct 27, 2022
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Index Constants Variables Functions Types CheckPass(hassPassword, passwordDb) HashPassword(pass) Validation(email, pass) type Claims type Response CheckToken(token) NewToken(email, role) (c) Create() New(data, code, isError) (res) Send(c)
Documentation
¶
func CheckPass(hassPassword, passwordDb string ) bool
type Response struct {
Code int `json:"-"`
Status string `json:"status"`
IsError bool `json:"isError"`
Data interface{} `json:"data,omitempty"`
Description interface{} `json:"description,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.