util

package
v0.0.0-...-3e848aa Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodePassword

func EncodePassword(password, salt string) string

EncodePassword encodes a password using PBKDF2.

func GetUser

func GetUser(ctx context.Context) *model.SignedUser

GetUser returns signed user information from context.

func RandomHex

func RandomHex(n int) (string, error)

func RemoveDuplicates

func RemoveDuplicates(slice []string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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