Documentation ¶
Index ¶
Constants ¶
View Source
const AccessTokenExpireTime = time.Duration(2) * time.Hour
View Source
const AccessTokenKey string = "AccessToken"
View Source
const RefreshTokenExpireTime = time.Duration(24) * time.Hour
View Source
const RefreshTokenKey string = "RefreshToken"
Variables ¶
This section is empty.
Functions ¶
func Refresh ¶
func Refresh() http.HandlerFunc
func Welcome ¶
func Welcome() http.HandlerFunc
Types ¶
type Credentials ¶
Click to show internal directories.
Click to hide internal directories.