config

package
v0.0.0-...-2aac936 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2022 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AppConfig = struct {
	App         bool   `json:"app"`
	Cookie      string `json:"cookie"`
	LoginToken  string `json:"login_token"`
	Account     string `json:"account"`
	AppVersion  string `json:"app_version"`
	DeviceToken string `json:"device_token"`
}{}

Functions

func AESDecrypt

func AESDecrypt(EncryptKey string, contentText string) ([]byte, error)

AESDecrypt AES 解密

func Decode

func Decode(content string, EncryptKey string) []byte

Decode 入口函数

func SHA256

func SHA256(data []byte) []byte

SHA256 sha256 编码

Types

This section is empty.

Jump to

Keyboard shortcuts

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