global

package
v0.0.0-...-022ae59 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Execdir string

Functions

func CreateBoxCode

func CreateBoxCode(id int) string

func CreateCode

func CreateCode(prefix, id int) string

func CreateItemCode

func CreateItemCode(id int) string

func Exists

func Exists(path string) (bool, error)

func GeneratePasswordHash

func GeneratePasswordHash(p, s string) (string, error)

func GenerateSalt

func GenerateSalt() (string, error)

Types

type Config

type Config struct {
	Port       int
	Connection DBConnection
	TokenKey   string
}
var Conf Config

type DBConnection

type DBConnection struct {
	Driver     string
	Connection string
}

Jump to

Keyboard shortcuts

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