package
0.0.0-20241013142156-fb4c8e8fed47
Repository: https://github.com/binacs/server.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
AccessTokenExpireDuration return the access token expire duration (time.Duration).
GrpcMatadataDebugOpen set true.
GrpcMatadataSetResultFail set fail.
IsBase64 base64.
IsEmail email.
IsPassword password.
IsPhone phone.
IsVerifyCode verify-code.
RedisAccessTokenKey return the access token key.
RedisCredentialsKey return the credentials key.
RedisGetRefreshTokenFromAccessToken return the access token by refresh token.
RedisRefreshTokenKey return the refresh token key.
RefreshTokenExpireDuration return the refresh token expire duration (time.Duration).
TinyURLExpireDuration return the access token expire duration (time.Duration).
# Constants
AccessTokenContextKey context key.
AccessTokenExpire time.
AuthMethodName.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Prefix_AccessTokenKey used in db service.
Prefix_CredentialKey used in db service.
Prefix_RefreshTokenKey used in db service.
Prefix_TinyURLKey used in db service.
RefreshTokenContextKey context key.
RefreshTokenExpire time.
Size_AccessToken.
Size_RefreshToken.
TinyURLExpire time.
TokenType_Bearer.