utilities

package
v0.0.0-...-f3fdc4c Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareHash

func CompareHash(hash1, hash2 []byte) error

func DateToString

func DateToString(time.Time) string

func HashEmail

func HashEmail(Email string) []byte

func HashKamil

func HashKamil(state string) []byte

func HashUser

func HashUser(ID int, Username string) []byte

func HashingPilihan

func HashingPilihan(NIM, Nama string, kode byte) []byte

func MapStringToInt

func MapStringToInt(data map[string]string) map[string]int

func ParsingDate

func ParsingDate(input string) (time.Time, error)

func SendEmail

func SendEmail(reciever, header, msg, sender, smtp_host, auth_email, auth_password string, port int)

func StatusHash

func StatusHash(sessid, status []byte, countstatus int) (int, error)

func WriteLog

func WriteLog(filename, ip, msg string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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