package
0.0.0-20210314134910-7f4b9de898f3
Repository: https://github.com/csuos/rabums.git
Documentation: pkg.go.dev
# Functions
AuthorizeUser middleware for validating user token and embed to userinfo to context.
No description provided by the author
GenerateNewToken 임의의 토큰을 생성해서 반환한다.
No description provided by the author
GenerateToken generate token for user auth.
GenerateTokenCookie generate cookie which includes JWT.
GetReason return string format to Reason struct.
GetSwagger returns the Swagger specification corresponding to the generated code in this file.
GetUser get user from context.
No description provided by the author
Handler creates http.Handler with routing matching OpenAPI spec.
HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.
No description provided by the author
HandlerWithOptions creates http.Handler with additional options.
Init initialize router.
# Structs
No description provided by the author
ClientInfo defines model for ClientInfo.
CreateClientRequest defines model for CreateClientRequest.
CreateUserRequest defines model for CreateUserRequest.
GetUserInfoByClientTokenJSONBody defines parameters for GetUserInfoByClientToken.
LoginRequest defines model for LoginRequest.
Reason defines model for Reason.
RequestToken defines model for RequestToken.
Server base server struct.
ServerInterfaceWrapper converts contexts to parameters.
UpdateUserRequest defines model for UpdateUserRequest.
UserInfo defines model for UserInfo.
# Interfaces
ServerInterface represents all server handlers.
# Type aliases
CreateClientJSONBody defines parameters for CreateClient.
CreateClientJSONRequestBody defines body for CreateClient for application/json ContentType.
CreateUserJSONBody defines parameters for CreateUser.
CreateUserJSONRequestBody defines body for CreateUser for application/json ContentType.
GetUserInfoByClientTokenJSONRequestBody defines body for GetUserInfoByClientToken for application/json ContentType.
LoginUserJSONBody defines parameters for LoginUser.
LoginUserJSONRequestBody defines body for LoginUser for application/json ContentType.
Logs defines model for Logs.
No description provided by the author
RequestTokenJSONBody defines parameters for RequestToken.
RequestTokenJSONRequestBody defines body for RequestToken for application/json ContentType.
UpdateUserJSONBody defines parameters for UpdateUser.
UpdateUserJSONRequestBody defines body for UpdateUser for application/json ContentType.