3
.gitignore
vendored
3
.gitignore
vendored
@@ -46,3 +46,6 @@ go.work.sum
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
__MACOSX
|
__MACOSX
|
||||||
._*
|
._*
|
||||||
|
|
||||||
|
# go gen
|
||||||
|
*_gen.go
|
||||||
|
|||||||
@@ -1,13 +0,0 @@
|
|||||||
// Code generated by gen-exception; DO NOT EDIT.
|
|
||||||
package exception
|
|
||||||
|
|
||||||
const (
|
|
||||||
CommonErrorPermissionDenied = "00004"
|
|
||||||
CommonErrorUuidParseFailed = "00005"
|
|
||||||
CommonErrorDatabase = "00006"
|
|
||||||
CommonErrorMissingUserId = "00007"
|
|
||||||
CommonErrorUserNotFound = "00008"
|
|
||||||
CommonErrorInvalidInput = "00001"
|
|
||||||
CommonErrorUnauthorized = "00002"
|
|
||||||
CommonErrorInternal = "00003"
|
|
||||||
)
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
// Code generated by gen-exception; DO NOT EDIT.
|
|
||||||
package exception
|
|
||||||
|
|
||||||
const (
|
|
||||||
EndpointAuthServiceRefresh = "04"
|
|
||||||
EndpointAuthServiceExchange = "05"
|
|
||||||
EndpointAuthServiceRedirect = "01"
|
|
||||||
EndpointAuthServiceMagic = "02"
|
|
||||||
EndpointAuthServiceToken = "03"
|
|
||||||
EndpointEventServiceInfo = "01"
|
|
||||||
EndpointEventServiceCheckin = "02"
|
|
||||||
EndpointEventServiceCheckinQuery = "03"
|
|
||||||
EndpointEventServiceCheckinSubmit = "04"
|
|
||||||
EndpointUserServiceInfo = "01"
|
|
||||||
EndpointUserServiceUpdate = "02"
|
|
||||||
EndpointUserServiceList = "03"
|
|
||||||
EndpointUserServiceFull = "04"
|
|
||||||
EndpointUserServiceCreate = "05"
|
|
||||||
EndpointMiddlewareService = "01"
|
|
||||||
)
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
// Code generated by gen-exception; DO NOT EDIT.
|
|
||||||
package exception
|
|
||||||
|
|
||||||
const (
|
|
||||||
MiddlewareGinLogger = "901"
|
|
||||||
MiddlewareJwt = "902"
|
|
||||||
MiddlewarePermission = "903"
|
|
||||||
MiddlewareApiVersion = "904"
|
|
||||||
)
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
// Code generated by gen-exception; DO NOT EDIT.
|
|
||||||
package exception
|
|
||||||
|
|
||||||
const (
|
|
||||||
ServiceAuth = "001"
|
|
||||||
ServiceUser = "002"
|
|
||||||
ServiceEvent = "003"
|
|
||||||
)
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
// Code generated by gen-exception; DO NOT EDIT.
|
|
||||||
package exception
|
|
||||||
|
|
||||||
const (
|
|
||||||
ApiVersionNotFound = "00001"
|
|
||||||
AuthRedirectUriMismatch = "00003"
|
|
||||||
AuthRedirectInvalidUri = "00004"
|
|
||||||
AuthRedirectTokenInvalid = "00001"
|
|
||||||
AuthRedirectClientNotFound = "00002"
|
|
||||||
AuthMagicInvalidExternalUrl = "00003"
|
|
||||||
AuthMagicInvalidEmailConfig = "00004"
|
|
||||||
AuthMagicTurnstileFailed = "00001"
|
|
||||||
AuthMagicCodeGenFailed = "00002"
|
|
||||||
AuthTokenInvalidToken = "00001"
|
|
||||||
AuthTokenGenFailed = "00002"
|
|
||||||
AuthRefreshInvalidToken = "00001"
|
|
||||||
AuthRefreshRenewFailed = "00002"
|
|
||||||
AuthExchangeGetUserIdFailed = "00001"
|
|
||||||
AuthExchangeCodeGenFailed = "00002"
|
|
||||||
AuthExchangeInvalidRedirectUri = "00003"
|
|
||||||
UserListMeilisearchFailed = "00001"
|
|
||||||
)
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
// Code generated by gen-exception; DO NOT EDIT.
|
|
||||||
package exception
|
|
||||||
|
|
||||||
const (
|
|
||||||
StatusUser = "4"
|
|
||||||
StatusServer = "5"
|
|
||||||
StatusClient = "6"
|
|
||||||
StatusSuccess = "2"
|
|
||||||
)
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
// Code generated by gen-exception; DO NOT EDIT.
|
|
||||||
package exception
|
|
||||||
|
|
||||||
const (
|
|
||||||
TypeCommon = "1"
|
|
||||||
TypeSpecific = "0"
|
|
||||||
)
|
|
||||||
Reference in New Issue
Block a user