Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CiphertextConfig ¶
type Config ¶
type Config struct { Ciphertext CiphertextConfig `mapstructure:"ciphertext"` Jwt JwtConfig `mapstructure:"jwt"` }
type JwtConfig ¶
type JwtConfig struct { Secret string `mapstructure:"secret"` // jwt secret Issuer string `mapstructure:"issuer"` // jwt issuer AccessTokenExpired string `mapstructure:"accessTokenExpired"` // jwt access token expired RefreshTokenExpired string `mapstructure:"refreshTokenExpired"` // jwt refresh token expired // 分布式共享token CacheKeyPrefix string `mapstructure:"cacheKeyPrefix"` // jwt cache key prefix }
func (*JwtConfig) GetAccessTokenExpired ¶
func (*JwtConfig) GetRefreshTokenExpired ¶
Click to show internal directories.
Click to hide internal directories.