util

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2022 License: Apache-2.0 Imports: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var XXTEA_KEY = []byte("hehehehe")

Functions

func Decrypt

func Decrypt(value string) (string, error)

func Encrypt

func Encrypt(value string) string

func GetCredentialFromCtx

func GetCredentialFromCtx(ctx context.Context) (isAdmin bool, tenantId string, userId string, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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