Documentation ¶
Index ¶
- func InitializeViper() (err error)
- type RequestError
- func ExtractGetRequestBody(c *gin.Context, req interface{}) (err *RequestError)
- func ExtractPostRequestBody(c *gin.Context, req interface{}) (err *RequestError)
- func RaiseCannotParseClaims() *RequestError
- func RaiseCannotParseJson() *RequestError
- func RaiseCannotParseRequest() *RequestError
- func RaiseCannotSaveUserInDatabase() *RequestError
- func RaiseDatabaseError() *RequestError
- func RaiseExistentAccount() *RequestError
- func RaiseExpiredToken() *RequestError
- func RaiseFailureEmailSend() *RequestError
- func RaiseFailureGenerateClaim() *RequestError
- func RaiseInitFailure() *RequestError
- func RaiseInvalidAuthorizationMethod() *RequestError
- func RaiseInvalidEmail() *RequestError
- func RaiseInvalidToken() *RequestError
- func RaiseInvalidTokenFormat() *RequestError
- func RaiseLoginExpired() *RequestError
- func RaiseNoAuthorizationHeader() *RequestError
- func RaiseNonExistentAccount() *RequestError
- func RaiseNotVerified() *RequestError
- func RaiseUnauthorizedAccess() *RequestError
- func RaiseUserNotInDatabase() *RequestError
- func RaiseValidationErrorJson() *RequestError
- func RaiseWrongLoginCredentials() *RequestError
- func RaiseWrongValidation() *RequestError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitializeViper ¶
func InitializeViper() (err error)
Types ¶
type RequestError ¶
func ExtractGetRequestBody ¶
func ExtractGetRequestBody(c *gin.Context, req interface{}) (err *RequestError)
func ExtractPostRequestBody ¶
func ExtractPostRequestBody(c *gin.Context, req interface{}) (err *RequestError)
func RaiseCannotParseClaims ¶
func RaiseCannotParseClaims() *RequestError
func RaiseCannotParseJson ¶
func RaiseCannotParseJson() *RequestError
func RaiseCannotParseRequest ¶
func RaiseCannotParseRequest() *RequestError
func RaiseCannotSaveUserInDatabase ¶
func RaiseCannotSaveUserInDatabase() *RequestError
func RaiseDatabaseError ¶
func RaiseDatabaseError() *RequestError
func RaiseExistentAccount ¶
func RaiseExistentAccount() *RequestError
func RaiseExpiredToken ¶
func RaiseExpiredToken() *RequestError
func RaiseFailureEmailSend ¶
func RaiseFailureEmailSend() *RequestError
func RaiseFailureGenerateClaim ¶
func RaiseFailureGenerateClaim() *RequestError
func RaiseInitFailure ¶
func RaiseInitFailure() *RequestError
func RaiseInvalidAuthorizationMethod ¶
func RaiseInvalidAuthorizationMethod() *RequestError
func RaiseInvalidEmail ¶
func RaiseInvalidEmail() *RequestError
func RaiseInvalidToken ¶
func RaiseInvalidToken() *RequestError
func RaiseInvalidTokenFormat ¶
func RaiseInvalidTokenFormat() *RequestError
func RaiseLoginExpired ¶
func RaiseLoginExpired() *RequestError
func RaiseNoAuthorizationHeader ¶
func RaiseNoAuthorizationHeader() *RequestError
func RaiseNonExistentAccount ¶
func RaiseNonExistentAccount() *RequestError
func RaiseNotVerified ¶
func RaiseNotVerified() *RequestError
func RaiseUnauthorizedAccess ¶
func RaiseUnauthorizedAccess() *RequestError
func RaiseUserNotInDatabase ¶
func RaiseUserNotInDatabase() *RequestError
func RaiseValidationErrorJson ¶
func RaiseValidationErrorJson() *RequestError
func RaiseWrongLoginCredentials ¶
func RaiseWrongLoginCredentials() *RequestError
func RaiseWrongValidation ¶
func RaiseWrongValidation() *RequestError
func (*RequestError) Error ¶
func (r *RequestError) Error() string
Click to show internal directories.
Click to hide internal directories.