package
1.4.2
Repository: https://github.com/apache/answer.git
Documentation: pkg.go.dev

# Functions

BanAPIForUserCenter ban api for user center.
ExtractAndSetAcceptLanguage extract accept language from header and set to context.
ExtractToken extract token from context.
GetIsAdminFromContext get user is admin from context.
GetLoginUserIDFromContext get user id from context.
No description provided by the author
GetUserInfoFromContext get user info from context.
No description provided by the author
No description provided by the author
NewAuthUserMiddleware new auth user middleware.
NewAvatarMiddleware new auth user middleware.
NewRateLimitMiddleware new rate limit middleware.
No description provided by the author
No description provided by the author

# Variables

ProviderSetMiddleware is providers.

# Structs

AuthUserMiddleware auth user middleware.
No description provided by the author
No description provided by the author
No description provided by the author