Documentation ¶
Index ¶
Constants ¶
View Source
const ( AliasVideo = "video" ESLayout = "2006.01.02-15.04.05" )
别名
View Source
const ( PrefixUser = "USER" PrefixVideoDataUser = "VIDEO_DATA:USER" PrefixVideoDataAnime = "VIDEO_DATA:ANIME" PrefixVideoDataEpisode = "VIDEO_DATA:EPISODE" PrefixVideoDataDuration = "VIDEO_DATA:DURATION" PrefixArticleHit = "ARTICLE_HIT" )
redis前缀
View Source
const ( RoleAdmin = 1 RoleManager = 2 RoleUser = 3 )
角色
View Source
const VideoMapping = `` /* 2878-byte string literal not displayed */
VideoMapping ..
Variables ¶
View Source
var ( JWTtAccessSecret = env.GetEnvStr("JWT_ACCESS_SECRET", "JWT_ACCESS_SECRET") JWTRefreshSecret = env.GetEnvStr("JWT_REFRESH_SECRET", "JWT_REFRESH_SECRET") JWTIssuer = env.GetEnvStr("JWT_ISSUER", "domain.local") )
环境变量
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.