global.go 240 B

12345678910111213141516
  1. package global
  2. import (
  3. "github.com/go-logr/logr"
  4. )
  5. var Log logr.Logger
  6. type JWTConfig struct {
  7. SigningKey string `mapstructure:"key" json:"key"`
  8. }
  9. // JWT 签名密钥
  10. var JWT = JWTConfig{
  11. SigningKey: "abcdefghijklmnopqrstuvwxyz",
  12. }