common

package module
v0.0.0-...-f528dbc Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPasswordHash

func CheckPasswordHash(password, hashedPassword string) bool

CheckPasswordHash check the hash password match

func Err

func Err(err interface{}, message ...string)

Err error logger

func ExecTemplate

func ExecTemplate(w http.ResponseWriter, template string, data interface{})

ExecTemplate execute template

func HashPassword

func HashPassword(password string) ([]byte, error)

HashPassword to hash password

func Jsonify

func Jsonify(message interface{}) interface{}

Jsonify js

func Validate

func Validate(s interface{}) map[string][]string

Validate v

Types

This section is empty.

Jump to

Keyboard shortcuts

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