jwt.go 297 B

1234567
  1. package config
  2. type JWT struct {
  3. SigningKey string `mapstructure:"signing-key" json:"signingKey" yaml:"signing-key"`
  4. ExpiresTime int64 `mapstructure:"expires-time" json:"expiresTime" yaml:"expires-time"`
  5. BufferTime int64 `mapstructure:"buffer-time" json:"bufferTime" yaml:"buffer-time"`
  6. }