package
0.0.0-20240930183216-c1b6262909ba
Repository: https://github.com/nqxcode/auth_microservice.git
Documentation: pkg.go.dev

# Functions

NewAuditLogServiceMock returns a mock for service.AuditLogService.
NewAuthServiceMock returns a mock for service.AuthService.
NewCacheUserServiceMock returns a mock for service.CacheUserService.
NewHashServiceMock returns a mock for service.HashService.
NewProducerServiceMock returns a mock for service.ProducerService.
NewTokenGeneratorMock returns a mock for service.TokenGenerator.
NewValidatorServiceMock returns a mock for service.ValidatorService.

# Structs

AuditLogServiceMock implements service.AuditLogService.
AuditLogServiceMockCreateExpectation specifies expectation struct of the AuditLogService.Create.
AuditLogServiceMockCreateParamPtrs contains pointers to parameters of the AuditLogService.Create.
AuditLogServiceMockCreateParams contains parameters of the AuditLogService.Create.
AuditLogServiceMockCreateResults contains results of the AuditLogService.Create.
AuthServiceMock implements service.AuthService.
AuthServiceMockCheckExpectation specifies expectation struct of the AuthService.Check.
AuthServiceMockCheckParamPtrs contains pointers to parameters of the AuthService.Check.
AuthServiceMockCheckParams contains parameters of the AuthService.Check.
AuthServiceMockCheckResults contains results of the AuthService.Check.
AuthServiceMockCreateExpectation specifies expectation struct of the AuthService.Create.
AuthServiceMockCreateParamPtrs contains pointers to parameters of the AuthService.Create.
AuthServiceMockCreateParams contains parameters of the AuthService.Create.
AuthServiceMockCreateResults contains results of the AuthService.Create.
AuthServiceMockDeleteExpectation specifies expectation struct of the AuthService.Delete.
AuthServiceMockDeleteParamPtrs contains pointers to parameters of the AuthService.Delete.
AuthServiceMockDeleteParams contains parameters of the AuthService.Delete.
AuthServiceMockDeleteResults contains results of the AuthService.Delete.
AuthServiceMockGetAccessTokenExpectation specifies expectation struct of the AuthService.GetAccessToken.
AuthServiceMockGetAccessTokenParamPtrs contains pointers to parameters of the AuthService.GetAccessToken.
AuthServiceMockGetAccessTokenParams contains parameters of the AuthService.GetAccessToken.
AuthServiceMockGetAccessTokenResults contains results of the AuthService.GetAccessToken.
AuthServiceMockGetExpectation specifies expectation struct of the AuthService.Get.
AuthServiceMockGetListExpectation specifies expectation struct of the AuthService.GetList.
AuthServiceMockGetListParamPtrs contains pointers to parameters of the AuthService.GetList.
AuthServiceMockGetListParams contains parameters of the AuthService.GetList.
AuthServiceMockGetListResults contains results of the AuthService.GetList.
AuthServiceMockGetParamPtrs contains pointers to parameters of the AuthService.Get.
AuthServiceMockGetParams contains parameters of the AuthService.Get.
AuthServiceMockGetRefreshTokenExpectation specifies expectation struct of the AuthService.GetRefreshToken.
AuthServiceMockGetRefreshTokenParamPtrs contains pointers to parameters of the AuthService.GetRefreshToken.
AuthServiceMockGetRefreshTokenParams contains parameters of the AuthService.GetRefreshToken.
AuthServiceMockGetRefreshTokenResults contains results of the AuthService.GetRefreshToken.
AuthServiceMockGetResults contains results of the AuthService.Get.
AuthServiceMockLoginExpectation specifies expectation struct of the AuthService.Login.
AuthServiceMockLoginParamPtrs contains pointers to parameters of the AuthService.Login.
AuthServiceMockLoginParams contains parameters of the AuthService.Login.
AuthServiceMockLoginResults contains results of the AuthService.Login.
AuthServiceMockUpdateExpectation specifies expectation struct of the AuthService.Update.
AuthServiceMockUpdateParamPtrs contains pointers to parameters of the AuthService.Update.
AuthServiceMockUpdateParams contains parameters of the AuthService.Update.
AuthServiceMockUpdateResults contains results of the AuthService.Update.
CacheUserServiceMock implements service.CacheUserService.
CacheUserServiceMockDeleteExpectation specifies expectation struct of the CacheUserService.Delete.
CacheUserServiceMockDeleteParamPtrs contains pointers to parameters of the CacheUserService.Delete.
CacheUserServiceMockDeleteParams contains parameters of the CacheUserService.Delete.
CacheUserServiceMockDeleteResults contains results of the CacheUserService.Delete.
CacheUserServiceMockGetExpectation specifies expectation struct of the CacheUserService.Get.
CacheUserServiceMockGetListExpectation specifies expectation struct of the CacheUserService.GetList.
CacheUserServiceMockGetListParamPtrs contains pointers to parameters of the CacheUserService.GetList.
CacheUserServiceMockGetListParams contains parameters of the CacheUserService.GetList.
CacheUserServiceMockGetListResults contains results of the CacheUserService.GetList.
CacheUserServiceMockGetParamPtrs contains pointers to parameters of the CacheUserService.Get.
CacheUserServiceMockGetParams contains parameters of the CacheUserService.Get.
CacheUserServiceMockGetResults contains results of the CacheUserService.Get.
CacheUserServiceMockSetExpectation specifies expectation struct of the CacheUserService.Set.
CacheUserServiceMockSetListExpectation specifies expectation struct of the CacheUserService.SetList.
CacheUserServiceMockSetListParamPtrs contains pointers to parameters of the CacheUserService.SetList.
CacheUserServiceMockSetListParams contains parameters of the CacheUserService.SetList.
CacheUserServiceMockSetListResults contains results of the CacheUserService.SetList.
CacheUserServiceMockSetParamPtrs contains pointers to parameters of the CacheUserService.Set.
CacheUserServiceMockSetParams contains parameters of the CacheUserService.Set.
CacheUserServiceMockSetPartialExpectation specifies expectation struct of the CacheUserService.SetPartial.
CacheUserServiceMockSetPartialParamPtrs contains pointers to parameters of the CacheUserService.SetPartial.
CacheUserServiceMockSetPartialParams contains parameters of the CacheUserService.SetPartial.
CacheUserServiceMockSetPartialResults contains results of the CacheUserService.SetPartial.
CacheUserServiceMockSetResults contains results of the CacheUserService.Set.
HashServiceMock implements service.HashService.
HashServiceMockCheckExpectation specifies expectation struct of the HashService.Check.
HashServiceMockCheckParamPtrs contains pointers to parameters of the HashService.Check.
HashServiceMockCheckParams contains parameters of the HashService.Check.
HashServiceMockCheckResults contains results of the HashService.Check.
HashServiceMockGenerateSaltExpectation specifies expectation struct of the HashService.GenerateSalt.
HashServiceMockGenerateSaltParamPtrs contains pointers to parameters of the HashService.GenerateSalt.
HashServiceMockGenerateSaltParams contains parameters of the HashService.GenerateSalt.
HashServiceMockGenerateSaltResults contains results of the HashService.GenerateSalt.
HashServiceMockHashExpectation specifies expectation struct of the HashService.Hash.
HashServiceMockHashParamPtrs contains pointers to parameters of the HashService.Hash.
HashServiceMockHashParams contains parameters of the HashService.Hash.
HashServiceMockHashResults contains results of the HashService.Hash.
ProducerServiceMock implements service.ProducerService.
ProducerServiceMockSendMessageExpectation specifies expectation struct of the ProducerService.SendMessage.
ProducerServiceMockSendMessageParamPtrs contains pointers to parameters of the ProducerService.SendMessage.
ProducerServiceMockSendMessageParams contains parameters of the ProducerService.SendMessage.
ProducerServiceMockSendMessageResults contains results of the ProducerService.SendMessage.
TokenGeneratorMock implements service.TokenGenerator.
TokenGeneratorMockGenerateTokenExpectation specifies expectation struct of the TokenGenerator.GenerateToken.
TokenGeneratorMockGenerateTokenParamPtrs contains pointers to parameters of the TokenGenerator.GenerateToken.
TokenGeneratorMockGenerateTokenParams contains parameters of the TokenGenerator.GenerateToken.
TokenGeneratorMockGenerateTokenResults contains results of the TokenGenerator.GenerateToken.
ValidatorServiceMock implements service.ValidatorService.
ValidatorServiceMockValidateUserExpectation specifies expectation struct of the ValidatorService.ValidateUser.
ValidatorServiceMockValidateUserParamPtrs contains pointers to parameters of the ValidatorService.ValidateUser.
ValidatorServiceMockValidateUserParams contains parameters of the ValidatorService.ValidateUser.
ValidatorServiceMockValidateUserResults contains results of the ValidatorService.ValidateUser.