service/library/configcenter/cryptoconfigcenter.go

18 lines
430 B
Go

package configcenter
type AESConfig struct {
AESPrivateKey string `json:"private_key" yaml:"private_key"` //AES私钥
}
type RSAConfig struct {
RSAPrivateKey string `json:"private_key" yaml:"private_key"` //RSA 私钥
}
type TokenConfig struct {
TokenPrivateKey string `json:"private_key" yaml:"private_key"` //token签名私钥
}
type SHA256Config struct {
SHA256Salts string `json:"salts" yaml:"salts"` //SHA256 salts
}