auth

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncryptByAes

func EncryptByAes(data H) (string, error)

Types

type H

type H struct {
	User_id string
	Time    int64
	Role_id string
}

func DecryptByAes

func DecryptByAes(data string) (*H, error)

Jump to

Keyboard shortcuts

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