MCPcopy Create free account

hub / github.com/JacobSNGoodwin/memrizr / functions

Functions142 in github.com/JacobSNGoodwin/memrizr

MethodSignup
Signup is a mock of UserService.Signup
account/model/mocks/user_service.go:52
MethodSignup
Signup handler
account/handler/signup.go:20
FunctionStatus
Status checks the runtime type of the error and returns an http status code if the error is model.Error
account/model/apperrors/apperrors.go:68
FunctionTestAuthUser
(t *testing.T)
account/handler/middleware/auth_user_test.go:17
FunctionTestDeleteImage
(t *testing.T)
account/handler/delete_image_test.go:18
FunctionTestDetails
(t *testing.T)
account/handler/details_test.go:19
FunctionTestGet
(t *testing.T)
account/service/user_service_test.go:17
FunctionTestImage
(t *testing.T)
account/handler/image_test.go:19
FunctionTestMe
(t *testing.T)
account/handler/me_test.go:19
FunctionTestNewPairFromUser
(t *testing.T)
account/service/token_service_test.go:20
FunctionTestSetProfileImage
(t *testing.T)
account/service/user_service_test.go:260
FunctionTestSignin
(t *testing.T)
account/service/user_service_test.go:123
FunctionTestSignin
(t *testing.T)
account/handler/signin_test.go:18
FunctionTestSignout
(t *testing.T)
account/service/token_service_test.go:200
FunctionTestSignout
(t *testing.T)
account/handler/signout_test.go:20
FunctionTestSignup
(t *testing.T)
account/service/user_service_test.go:60
FunctionTestSignup
(t *testing.T)
account/handler/signup_test.go:18
FunctionTestTokens
(t *testing.T)
account/handler/tokens_test.go:19
FunctionTestUpdateDetails
(t *testing.T)
account/service/user_service_test.go:200
FunctionTestValidateIDToken
(t *testing.T)
account/service/token_service_test.go:234
FunctionTestValidateRefreshToken
(t *testing.T)
account/service/token_service_test.go:298
FunctionTimeout
Timeout wraps the request context with a timeout
account/handler/middleware/timeout.go:22
MethodTokens
Tokens handler
account/handler/tokens.go:16
MethodUpdate
Update is mock of UserRepository.Update
account/model/mocks/user_repository.go:65
MethodUpdate
Update updates a user's properties
account/repository/pg_user_repository.go:73
MethodUpdateDetails
(ctx context.Context, u *model.User)
account/service/user_service.go:133
MethodUpdateDetails
UpdateDetails is a mock of UserService.UpdateDetails
account/model/mocks/user_service.go:76
MethodUpdateImage
UpdateImage is mock of UserRepository.UpdateImage, duh
account/model/mocks/user_repository.go:77
MethodUpdateImage
UpdateImage is used to separately update a user's image separate from other account details
account/repository/pg_user_repository.go:98
MethodUpdateProfile
UpdateProfile is mock of representations of ImageRepository Update Profile
account/model/mocks/image_repository.go:28
MethodUpdateProfile
( ctx context.Context, objName string, imageFile multipart.File, )
account/repository/gc_image_repository.go:41
MethodValidateIDToken
ValidateIDToken validates the id token jwt string It returns the user extract from the IDTokenCustomClaims
account/service/token_service.go:95
MethodValidateIDToken
ValidateIDToken mocks concrete ValidateIDToken
account/model/mocks/token_service.go:49
MethodValidateRefreshToken
ValidateRefreshToken checks to make sure the JWT provided by a string is valid and returns a RefreshToken if valid
account/service/token_service.go:109
MethodValidateRefreshToken
ValidateRefreshToken mocks concrete ValidateRefreshToken
account/model/mocks/token_service.go:69
FunctioninitializeUser
()
account-client/src/store/auth.js:52
Functionmain
()
account/main.go:13
Functionsignin
(email, password)
account-client/src/store/auth.js:20
Functionsignout
()
account-client/src/store/auth.js:26
Functionsignup
(email, password)
account-client/src/store/auth.js:23
FunctionuseAuth
()
account-client/src/store/auth.js:118
FunctionuseRequest
(reqOptions, options)
account-client/src/util/index.js:36
← previous101–142 of 142, ranked by callers