Documentation ¶
Index ¶
- type AccountServiceMock
- func (_m *AccountServiceMock) DeleteAccount(ctx context.Context, id uuid.UUID) error
- func (_m *AccountServiceMock) EXPECT() *AccountServiceMock_Expecter
- func (_m *AccountServiceMock) GetAccount(ctx context.Context, id uuid.UUID) (dto.AccountOutput, error)
- func (_m *AccountServiceMock) RestoreAccount(ctx context.Context, id uuid.UUID) (dto.AccountOutput, error)
- func (_m *AccountServiceMock) SetPassword(ctx context.Context, id uuid.UUID, input dto.SetPasswordInput) error
- func (_m *AccountServiceMock) UpdateEmail(ctx context.Context, id uuid.UUID, input dto.UpdateEmailInput, ...) (dto.AccountOutput, error)
- func (_m *AccountServiceMock) UpdatePassword(ctx context.Context, id uuid.UUID, input dto.UpdatePasswordInput) error
- func (_m *AccountServiceMock) UpdateUsername(ctx context.Context, id uuid.UUID, input dto.UpdateUsernameInput) (dto.AccountOutput, error)
- func (_m *AccountServiceMock) VerifyEmail(ctx context.Context, id uuid.UUID, req dto.VerifyEmailInput) error
- type AccountServiceMock_DeleteAccount_Call
- func (_c *AccountServiceMock_DeleteAccount_Call) Return(_a0 error) *AccountServiceMock_DeleteAccount_Call
- func (_c *AccountServiceMock_DeleteAccount_Call) Run(run func(ctx context.Context, id uuid.UUID)) *AccountServiceMock_DeleteAccount_Call
- func (_c *AccountServiceMock_DeleteAccount_Call) RunAndReturn(run func(context.Context, uuid.UUID) error) *AccountServiceMock_DeleteAccount_Call
- type AccountServiceMock_Expecter
- func (_e *AccountServiceMock_Expecter) DeleteAccount(ctx interface{}, id interface{}) *AccountServiceMock_DeleteAccount_Call
- func (_e *AccountServiceMock_Expecter) GetAccount(ctx interface{}, id interface{}) *AccountServiceMock_GetAccount_Call
- func (_e *AccountServiceMock_Expecter) RestoreAccount(ctx interface{}, id interface{}) *AccountServiceMock_RestoreAccount_Call
- func (_e *AccountServiceMock_Expecter) SetPassword(ctx interface{}, id interface{}, input interface{}) *AccountServiceMock_SetPassword_Call
- func (_e *AccountServiceMock_Expecter) UpdateEmail(ctx interface{}, id interface{}, input interface{}, localizer interface{}) *AccountServiceMock_UpdateEmail_Call
- func (_e *AccountServiceMock_Expecter) UpdatePassword(ctx interface{}, id interface{}, input interface{}) *AccountServiceMock_UpdatePassword_Call
- func (_e *AccountServiceMock_Expecter) UpdateUsername(ctx interface{}, id interface{}, input interface{}) *AccountServiceMock_UpdateUsername_Call
- func (_e *AccountServiceMock_Expecter) VerifyEmail(ctx interface{}, id interface{}, req interface{}) *AccountServiceMock_VerifyEmail_Call
- type AccountServiceMock_GetAccount_Call
- func (_c *AccountServiceMock_GetAccount_Call) Return(_a0 dto.AccountOutput, _a1 error) *AccountServiceMock_GetAccount_Call
- func (_c *AccountServiceMock_GetAccount_Call) Run(run func(ctx context.Context, id uuid.UUID)) *AccountServiceMock_GetAccount_Call
- func (_c *AccountServiceMock_GetAccount_Call) RunAndReturn(run func(context.Context, uuid.UUID) (dto.AccountOutput, error)) *AccountServiceMock_GetAccount_Call
- type AccountServiceMock_RestoreAccount_Call
- func (_c *AccountServiceMock_RestoreAccount_Call) Return(_a0 dto.AccountOutput, _a1 error) *AccountServiceMock_RestoreAccount_Call
- func (_c *AccountServiceMock_RestoreAccount_Call) Run(run func(ctx context.Context, id uuid.UUID)) *AccountServiceMock_RestoreAccount_Call
- func (_c *AccountServiceMock_RestoreAccount_Call) RunAndReturn(run func(context.Context, uuid.UUID) (dto.AccountOutput, error)) *AccountServiceMock_RestoreAccount_Call
- type AccountServiceMock_SetPassword_Call
- func (_c *AccountServiceMock_SetPassword_Call) Return(_a0 error) *AccountServiceMock_SetPassword_Call
- func (_c *AccountServiceMock_SetPassword_Call) Run(run func(ctx context.Context, id uuid.UUID, input dto.SetPasswordInput)) *AccountServiceMock_SetPassword_Call
- func (_c *AccountServiceMock_SetPassword_Call) RunAndReturn(run func(context.Context, uuid.UUID, dto.SetPasswordInput) error) *AccountServiceMock_SetPassword_Call
- type AccountServiceMock_UpdateEmail_Call
- func (_c *AccountServiceMock_UpdateEmail_Call) Return(_a0 dto.AccountOutput, _a1 error) *AccountServiceMock_UpdateEmail_Call
- func (_c *AccountServiceMock_UpdateEmail_Call) Run(run func(ctx context.Context, id uuid.UUID, input dto.UpdateEmailInput, ...)) *AccountServiceMock_UpdateEmail_Call
- func (_c *AccountServiceMock_UpdateEmail_Call) RunAndReturn(...) *AccountServiceMock_UpdateEmail_Call
- type AccountServiceMock_UpdatePassword_Call
- func (_c *AccountServiceMock_UpdatePassword_Call) Return(_a0 error) *AccountServiceMock_UpdatePassword_Call
- func (_c *AccountServiceMock_UpdatePassword_Call) Run(run func(ctx context.Context, id uuid.UUID, input dto.UpdatePasswordInput)) *AccountServiceMock_UpdatePassword_Call
- func (_c *AccountServiceMock_UpdatePassword_Call) RunAndReturn(run func(context.Context, uuid.UUID, dto.UpdatePasswordInput) error) *AccountServiceMock_UpdatePassword_Call
- type AccountServiceMock_UpdateUsername_Call
- func (_c *AccountServiceMock_UpdateUsername_Call) Return(_a0 dto.AccountOutput, _a1 error) *AccountServiceMock_UpdateUsername_Call
- func (_c *AccountServiceMock_UpdateUsername_Call) Run(run func(ctx context.Context, id uuid.UUID, input dto.UpdateUsernameInput)) *AccountServiceMock_UpdateUsername_Call
- func (_c *AccountServiceMock_UpdateUsername_Call) RunAndReturn(...) *AccountServiceMock_UpdateUsername_Call
- type AccountServiceMock_VerifyEmail_Call
- func (_c *AccountServiceMock_VerifyEmail_Call) Return(_a0 error) *AccountServiceMock_VerifyEmail_Call
- func (_c *AccountServiceMock_VerifyEmail_Call) Run(run func(ctx context.Context, id uuid.UUID, req dto.VerifyEmailInput)) *AccountServiceMock_VerifyEmail_Call
- func (_c *AccountServiceMock_VerifyEmail_Call) RunAndReturn(run func(context.Context, uuid.UUID, dto.VerifyEmailInput) error) *AccountServiceMock_VerifyEmail_Call
- type AuthServiceMock
- func (_m *AuthServiceMock) EXPECT() *AuthServiceMock_Expecter
- func (_m *AuthServiceMock) FetchUserInfo(ctx context.Context, provider string, input dto.FetchUserInfoInput) (oauth.UserInfo, error)
- func (_m *AuthServiceMock) GetConsentPageUrl(_a0 context.Context, provider string, redirectUrl string) (dto.GetConsentPageUrlOutput, error)
- func (_m *AuthServiceMock) Login(ctx context.Context, input dto.LoginInput) (dto.JwtTokensOutput, error)
- func (_m *AuthServiceMock) Logout(ctx context.Context, jti string) error
- func (_m *AuthServiceMock) RecoveryPassword(ctx context.Context, input dto.RecoveryPasswordInput, ...) error
- func (_m *AuthServiceMock) RefreshTokens(ctx context.Context, refreshToken string) (dto.JwtTokensOutput, error)
- func (_m *AuthServiceMock) Register(ctx context.Context, input dto.RegisterInput, localizer *i18n.Localizer) error
- func (_m *AuthServiceMock) RegisterConfirm(ctx context.Context, input dto.RegisterConfirmInput) error
- func (_m *AuthServiceMock) RegisterOrLogin(ctx context.Context, userInfo oauth.UserInfo) (dto.JwtTokensOutput, error)
- func (_m *AuthServiceMock) ResetPassword(ctx context.Context, input dto.ResetPasswordInput) error
- func (_m *AuthServiceMock) VerifyRecoveryCode(ctx context.Context, input dto.VerifyRecoveryCodeInput) error
- type AuthServiceMock_Expecter
- func (_e *AuthServiceMock_Expecter) FetchUserInfo(ctx interface{}, provider interface{}, input interface{}) *AuthServiceMock_FetchUserInfo_Call
- func (_e *AuthServiceMock_Expecter) GetConsentPageUrl(_a0 interface{}, provider interface{}, redirectUrl interface{}) *AuthServiceMock_GetConsentPageUrl_Call
- func (_e *AuthServiceMock_Expecter) Login(ctx interface{}, input interface{}) *AuthServiceMock_Login_Call
- func (_e *AuthServiceMock_Expecter) Logout(ctx interface{}, jti interface{}) *AuthServiceMock_Logout_Call
- func (_e *AuthServiceMock_Expecter) RecoveryPassword(ctx interface{}, input interface{}, localizer interface{}) *AuthServiceMock_RecoveryPassword_Call
- func (_e *AuthServiceMock_Expecter) RefreshTokens(ctx interface{}, refreshToken interface{}) *AuthServiceMock_RefreshTokens_Call
- func (_e *AuthServiceMock_Expecter) Register(ctx interface{}, input interface{}, localizer interface{}) *AuthServiceMock_Register_Call
- func (_e *AuthServiceMock_Expecter) RegisterConfirm(ctx interface{}, input interface{}) *AuthServiceMock_RegisterConfirm_Call
- func (_e *AuthServiceMock_Expecter) RegisterOrLogin(ctx interface{}, userInfo interface{}) *AuthServiceMock_RegisterOrLogin_Call
- func (_e *AuthServiceMock_Expecter) ResetPassword(ctx interface{}, input interface{}) *AuthServiceMock_ResetPassword_Call
- func (_e *AuthServiceMock_Expecter) VerifyRecoveryCode(ctx interface{}, input interface{}) *AuthServiceMock_VerifyRecoveryCode_Call
- type AuthServiceMock_FetchUserInfo_Call
- func (_c *AuthServiceMock_FetchUserInfo_Call) Return(_a0 oauth.UserInfo, _a1 error) *AuthServiceMock_FetchUserInfo_Call
- func (_c *AuthServiceMock_FetchUserInfo_Call) Run(run func(ctx context.Context, provider string, input dto.FetchUserInfoInput)) *AuthServiceMock_FetchUserInfo_Call
- func (_c *AuthServiceMock_FetchUserInfo_Call) RunAndReturn(...) *AuthServiceMock_FetchUserInfo_Call
- type AuthServiceMock_GetConsentPageUrl_Call
- func (_c *AuthServiceMock_GetConsentPageUrl_Call) Return(_a0 dto.GetConsentPageUrlOutput, _a1 error) *AuthServiceMock_GetConsentPageUrl_Call
- func (_c *AuthServiceMock_GetConsentPageUrl_Call) Run(run func(_a0 context.Context, provider string, redirectUrl string)) *AuthServiceMock_GetConsentPageUrl_Call
- func (_c *AuthServiceMock_GetConsentPageUrl_Call) RunAndReturn(run func(context.Context, string, string) (dto.GetConsentPageUrlOutput, error)) *AuthServiceMock_GetConsentPageUrl_Call
- type AuthServiceMock_Login_Call
- func (_c *AuthServiceMock_Login_Call) Return(_a0 dto.JwtTokensOutput, _a1 error) *AuthServiceMock_Login_Call
- func (_c *AuthServiceMock_Login_Call) Run(run func(ctx context.Context, input dto.LoginInput)) *AuthServiceMock_Login_Call
- func (_c *AuthServiceMock_Login_Call) RunAndReturn(run func(context.Context, dto.LoginInput) (dto.JwtTokensOutput, error)) *AuthServiceMock_Login_Call
- type AuthServiceMock_Logout_Call
- func (_c *AuthServiceMock_Logout_Call) Return(_a0 error) *AuthServiceMock_Logout_Call
- func (_c *AuthServiceMock_Logout_Call) Run(run func(ctx context.Context, jti string)) *AuthServiceMock_Logout_Call
- func (_c *AuthServiceMock_Logout_Call) RunAndReturn(run func(context.Context, string) error) *AuthServiceMock_Logout_Call
- type AuthServiceMock_RecoveryPassword_Call
- func (_c *AuthServiceMock_RecoveryPassword_Call) Return(_a0 error) *AuthServiceMock_RecoveryPassword_Call
- func (_c *AuthServiceMock_RecoveryPassword_Call) Run(run func(ctx context.Context, input dto.RecoveryPasswordInput, ...)) *AuthServiceMock_RecoveryPassword_Call
- func (_c *AuthServiceMock_RecoveryPassword_Call) RunAndReturn(run func(context.Context, dto.RecoveryPasswordInput, *i18n.Localizer) error) *AuthServiceMock_RecoveryPassword_Call
- type AuthServiceMock_RefreshTokens_Call
- func (_c *AuthServiceMock_RefreshTokens_Call) Return(_a0 dto.JwtTokensOutput, _a1 error) *AuthServiceMock_RefreshTokens_Call
- func (_c *AuthServiceMock_RefreshTokens_Call) Run(run func(ctx context.Context, refreshToken string)) *AuthServiceMock_RefreshTokens_Call
- func (_c *AuthServiceMock_RefreshTokens_Call) RunAndReturn(run func(context.Context, string) (dto.JwtTokensOutput, error)) *AuthServiceMock_RefreshTokens_Call
- type AuthServiceMock_RegisterConfirm_Call
- func (_c *AuthServiceMock_RegisterConfirm_Call) Return(_a0 error) *AuthServiceMock_RegisterConfirm_Call
- func (_c *AuthServiceMock_RegisterConfirm_Call) Run(run func(ctx context.Context, input dto.RegisterConfirmInput)) *AuthServiceMock_RegisterConfirm_Call
- func (_c *AuthServiceMock_RegisterConfirm_Call) RunAndReturn(run func(context.Context, dto.RegisterConfirmInput) error) *AuthServiceMock_RegisterConfirm_Call
- type AuthServiceMock_RegisterOrLogin_Call
- func (_c *AuthServiceMock_RegisterOrLogin_Call) Return(_a0 dto.JwtTokensOutput, _a1 error) *AuthServiceMock_RegisterOrLogin_Call
- func (_c *AuthServiceMock_RegisterOrLogin_Call) Run(run func(ctx context.Context, userInfo oauth.UserInfo)) *AuthServiceMock_RegisterOrLogin_Call
- func (_c *AuthServiceMock_RegisterOrLogin_Call) RunAndReturn(run func(context.Context, oauth.UserInfo) (dto.JwtTokensOutput, error)) *AuthServiceMock_RegisterOrLogin_Call
- type AuthServiceMock_Register_Call
- func (_c *AuthServiceMock_Register_Call) Return(_a0 error) *AuthServiceMock_Register_Call
- func (_c *AuthServiceMock_Register_Call) Run(...) *AuthServiceMock_Register_Call
- func (_c *AuthServiceMock_Register_Call) RunAndReturn(run func(context.Context, dto.RegisterInput, *i18n.Localizer) error) *AuthServiceMock_Register_Call
- type AuthServiceMock_ResetPassword_Call
- func (_c *AuthServiceMock_ResetPassword_Call) Return(_a0 error) *AuthServiceMock_ResetPassword_Call
- func (_c *AuthServiceMock_ResetPassword_Call) Run(run func(ctx context.Context, input dto.ResetPasswordInput)) *AuthServiceMock_ResetPassword_Call
- func (_c *AuthServiceMock_ResetPassword_Call) RunAndReturn(run func(context.Context, dto.ResetPasswordInput) error) *AuthServiceMock_ResetPassword_Call
- type AuthServiceMock_VerifyRecoveryCode_Call
- func (_c *AuthServiceMock_VerifyRecoveryCode_Call) Return(_a0 error) *AuthServiceMock_VerifyRecoveryCode_Call
- func (_c *AuthServiceMock_VerifyRecoveryCode_Call) Run(run func(ctx context.Context, input dto.VerifyRecoveryCodeInput)) *AuthServiceMock_VerifyRecoveryCode_Call
- func (_c *AuthServiceMock_VerifyRecoveryCode_Call) RunAndReturn(run func(context.Context, dto.VerifyRecoveryCodeInput) error) *AuthServiceMock_VerifyRecoveryCode_Call
- type HealthServiceMock
- type HealthServiceMock_Expecter
- type HealthServiceMock_Health_Call
- func (_c *HealthServiceMock_Health_Call) Return(_a0 []dto.HealthOutput) *HealthServiceMock_Health_Call
- func (_c *HealthServiceMock_Health_Call) Run(run func()) *HealthServiceMock_Health_Call
- func (_c *HealthServiceMock_Health_Call) RunAndReturn(run func() []dto.HealthOutput) *HealthServiceMock_Health_Call
- type MasterProfileServiceMock
- func (_m *MasterProfileServiceMock) CreateMasterProfile(ctx context.Context, id uuid.UUID, input dto.CreateMasterProfileInput) (dto.OwnMasterProfileOutput, error)
- func (_m *MasterProfileServiceMock) EXPECT() *MasterProfileServiceMock_Expecter
- func (_m *MasterProfileServiceMock) FindMasterProfiles(ctx context.Context, input dto.FindMasterProfilesInput) (dto.MasterProfilesOutput, error)
- func (_m *MasterProfileServiceMock) GetMasterProfileByUsername(ctx context.Context, username string) (dto.MasterProfileOutput, error)
- func (_m *MasterProfileServiceMock) GetOwnMasterProfile(ctx context.Context, id uuid.UUID) (dto.OwnMasterProfileOutput, error)
- func (_m *MasterProfileServiceMock) UpdateMasterProfile(ctx context.Context, id uuid.UUID, input dto.UpdateMasterProfileInput) (dto.OwnMasterProfileOutput, error)
- type MasterProfileServiceMock_CreateMasterProfile_Call
- func (_c *MasterProfileServiceMock_CreateMasterProfile_Call) Return(_a0 dto.OwnMasterProfileOutput, _a1 error) *MasterProfileServiceMock_CreateMasterProfile_Call
- func (_c *MasterProfileServiceMock_CreateMasterProfile_Call) Run(...) *MasterProfileServiceMock_CreateMasterProfile_Call
- func (_c *MasterProfileServiceMock_CreateMasterProfile_Call) RunAndReturn(...) *MasterProfileServiceMock_CreateMasterProfile_Call
- type MasterProfileServiceMock_Expecter
- func (_e *MasterProfileServiceMock_Expecter) CreateMasterProfile(ctx interface{}, id interface{}, input interface{}) *MasterProfileServiceMock_CreateMasterProfile_Call
- func (_e *MasterProfileServiceMock_Expecter) FindMasterProfiles(ctx interface{}, input interface{}) *MasterProfileServiceMock_FindMasterProfiles_Call
- func (_e *MasterProfileServiceMock_Expecter) GetMasterProfileByUsername(ctx interface{}, username interface{}) *MasterProfileServiceMock_GetMasterProfileByUsername_Call
- func (_e *MasterProfileServiceMock_Expecter) GetOwnMasterProfile(ctx interface{}, id interface{}) *MasterProfileServiceMock_GetOwnMasterProfile_Call
- func (_e *MasterProfileServiceMock_Expecter) UpdateMasterProfile(ctx interface{}, id interface{}, input interface{}) *MasterProfileServiceMock_UpdateMasterProfile_Call
- type MasterProfileServiceMock_FindMasterProfiles_Call
- func (_c *MasterProfileServiceMock_FindMasterProfiles_Call) Return(_a0 dto.MasterProfilesOutput, _a1 error) *MasterProfileServiceMock_FindMasterProfiles_Call
- func (_c *MasterProfileServiceMock_FindMasterProfiles_Call) Run(run func(ctx context.Context, input dto.FindMasterProfilesInput)) *MasterProfileServiceMock_FindMasterProfiles_Call
- func (_c *MasterProfileServiceMock_FindMasterProfiles_Call) RunAndReturn(...) *MasterProfileServiceMock_FindMasterProfiles_Call
- type MasterProfileServiceMock_GetMasterProfileByUsername_Call
- func (_c *MasterProfileServiceMock_GetMasterProfileByUsername_Call) Return(_a0 dto.MasterProfileOutput, _a1 error) *MasterProfileServiceMock_GetMasterProfileByUsername_Call
- func (_c *MasterProfileServiceMock_GetMasterProfileByUsername_Call) Run(run func(ctx context.Context, username string)) *MasterProfileServiceMock_GetMasterProfileByUsername_Call
- func (_c *MasterProfileServiceMock_GetMasterProfileByUsername_Call) RunAndReturn(run func(context.Context, string) (dto.MasterProfileOutput, error)) *MasterProfileServiceMock_GetMasterProfileByUsername_Call
- type MasterProfileServiceMock_GetOwnMasterProfile_Call
- func (_c *MasterProfileServiceMock_GetOwnMasterProfile_Call) Return(_a0 dto.OwnMasterProfileOutput, _a1 error) *MasterProfileServiceMock_GetOwnMasterProfile_Call
- func (_c *MasterProfileServiceMock_GetOwnMasterProfile_Call) Run(run func(ctx context.Context, id uuid.UUID)) *MasterProfileServiceMock_GetOwnMasterProfile_Call
- func (_c *MasterProfileServiceMock_GetOwnMasterProfile_Call) RunAndReturn(run func(context.Context, uuid.UUID) (dto.OwnMasterProfileOutput, error)) *MasterProfileServiceMock_GetOwnMasterProfile_Call
- type MasterProfileServiceMock_UpdateMasterProfile_Call
- func (_c *MasterProfileServiceMock_UpdateMasterProfile_Call) Return(_a0 dto.OwnMasterProfileOutput, _a1 error) *MasterProfileServiceMock_UpdateMasterProfile_Call
- func (_c *MasterProfileServiceMock_UpdateMasterProfile_Call) Run(...) *MasterProfileServiceMock_UpdateMasterProfile_Call
- func (_c *MasterProfileServiceMock_UpdateMasterProfile_Call) RunAndReturn(...) *MasterProfileServiceMock_UpdateMasterProfile_Call
- type ResourceServiceMock
- func (_m *ResourceServiceMock) DownloadResource(ctx context.Context, objectID string) (*s3.FileData, error)
- func (_m *ResourceServiceMock) EXPECT() *ResourceServiceMock_Expecter
- func (_m *ResourceServiceMock) UploadResource(ctx context.Context, input *dto.UploadResourceInput) (dto.UploadResourceOutput, error)
- func (_m *ResourceServiceMock) UploadResources(ctx context.Context, input *dto.UploadResourcesInput) (dto.UploadResourcesOutput, error)
- type ResourceServiceMock_DownloadResource_Call
- func (_c *ResourceServiceMock_DownloadResource_Call) Return(_a0 *s3.FileData, _a1 error) *ResourceServiceMock_DownloadResource_Call
- func (_c *ResourceServiceMock_DownloadResource_Call) Run(run func(ctx context.Context, objectID string)) *ResourceServiceMock_DownloadResource_Call
- func (_c *ResourceServiceMock_DownloadResource_Call) RunAndReturn(run func(context.Context, string) (*s3.FileData, error)) *ResourceServiceMock_DownloadResource_Call
- type ResourceServiceMock_Expecter
- func (_e *ResourceServiceMock_Expecter) DownloadResource(ctx interface{}, objectID interface{}) *ResourceServiceMock_DownloadResource_Call
- func (_e *ResourceServiceMock_Expecter) UploadResource(ctx interface{}, input interface{}) *ResourceServiceMock_UploadResource_Call
- func (_e *ResourceServiceMock_Expecter) UploadResources(ctx interface{}, input interface{}) *ResourceServiceMock_UploadResources_Call
- type ResourceServiceMock_UploadResource_Call
- func (_c *ResourceServiceMock_UploadResource_Call) Return(_a0 dto.UploadResourceOutput, _a1 error) *ResourceServiceMock_UploadResource_Call
- func (_c *ResourceServiceMock_UploadResource_Call) Run(run func(ctx context.Context, input *dto.UploadResourceInput)) *ResourceServiceMock_UploadResource_Call
- func (_c *ResourceServiceMock_UploadResource_Call) RunAndReturn(...) *ResourceServiceMock_UploadResource_Call
- type ResourceServiceMock_UploadResources_Call
- func (_c *ResourceServiceMock_UploadResources_Call) Return(_a0 dto.UploadResourcesOutput, _a1 error) *ResourceServiceMock_UploadResources_Call
- func (_c *ResourceServiceMock_UploadResources_Call) Run(run func(ctx context.Context, input *dto.UploadResourcesInput)) *ResourceServiceMock_UploadResources_Call
- func (_c *ResourceServiceMock_UploadResources_Call) RunAndReturn(...) *ResourceServiceMock_UploadResources_Call
- type WebsocketServiceMock
- type WebsocketServiceMock_Expecter
- type WebsocketServiceMock_RegisterClient_Call
- func (_c *WebsocketServiceMock_RegisterClient_Call) Return(_a0 error) *WebsocketServiceMock_RegisterClient_Call
- func (_c *WebsocketServiceMock_RegisterClient_Call) Run(run func(userId uuid.UUID, r *http.Request, w http.ResponseWriter)) *WebsocketServiceMock_RegisterClient_Call
- func (_c *WebsocketServiceMock_RegisterClient_Call) RunAndReturn(run func(uuid.UUID, *http.Request, http.ResponseWriter) error) *WebsocketServiceMock_RegisterClient_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountServiceMock ¶
AccountServiceMock is an autogenerated mock type for the AccountService type
func NewAccountServiceMock ¶
func NewAccountServiceMock(t interface { mock.TestingT Cleanup(func()) }) *AccountServiceMock
NewAccountServiceMock creates a new instance of AccountServiceMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AccountServiceMock) DeleteAccount ¶
DeleteAccount provides a mock function with given fields: ctx, id
func (*AccountServiceMock) EXPECT ¶
func (_m *AccountServiceMock) EXPECT() *AccountServiceMock_Expecter
func (*AccountServiceMock) GetAccount ¶
func (_m *AccountServiceMock) GetAccount(ctx context.Context, id uuid.UUID) (dto.AccountOutput, error)
GetAccount provides a mock function with given fields: ctx, id
func (*AccountServiceMock) RestoreAccount ¶
func (_m *AccountServiceMock) RestoreAccount(ctx context.Context, id uuid.UUID) (dto.AccountOutput, error)
RestoreAccount provides a mock function with given fields: ctx, id
func (*AccountServiceMock) SetPassword ¶
func (_m *AccountServiceMock) SetPassword(ctx context.Context, id uuid.UUID, input dto.SetPasswordInput) error
SetPassword provides a mock function with given fields: ctx, id, input
func (*AccountServiceMock) UpdateEmail ¶
func (_m *AccountServiceMock) UpdateEmail(ctx context.Context, id uuid.UUID, input dto.UpdateEmailInput, localizer *i18n.Localizer) (dto.AccountOutput, error)
UpdateEmail provides a mock function with given fields: ctx, id, input, localizer
func (*AccountServiceMock) UpdatePassword ¶
func (_m *AccountServiceMock) UpdatePassword(ctx context.Context, id uuid.UUID, input dto.UpdatePasswordInput) error
UpdatePassword provides a mock function with given fields: ctx, id, input
func (*AccountServiceMock) UpdateUsername ¶
func (_m *AccountServiceMock) UpdateUsername(ctx context.Context, id uuid.UUID, input dto.UpdateUsernameInput) (dto.AccountOutput, error)
UpdateUsername provides a mock function with given fields: ctx, id, input
func (*AccountServiceMock) VerifyEmail ¶
func (_m *AccountServiceMock) VerifyEmail(ctx context.Context, id uuid.UUID, req dto.VerifyEmailInput) error
VerifyEmail provides a mock function with given fields: ctx, id, req
type AccountServiceMock_DeleteAccount_Call ¶
AccountServiceMock_DeleteAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAccount'
func (*AccountServiceMock_DeleteAccount_Call) Return ¶
func (_c *AccountServiceMock_DeleteAccount_Call) Return(_a0 error) *AccountServiceMock_DeleteAccount_Call
func (*AccountServiceMock_DeleteAccount_Call) Run ¶
func (_c *AccountServiceMock_DeleteAccount_Call) Run(run func(ctx context.Context, id uuid.UUID)) *AccountServiceMock_DeleteAccount_Call
func (*AccountServiceMock_DeleteAccount_Call) RunAndReturn ¶
func (_c *AccountServiceMock_DeleteAccount_Call) RunAndReturn(run func(context.Context, uuid.UUID) error) *AccountServiceMock_DeleteAccount_Call
type AccountServiceMock_Expecter ¶
type AccountServiceMock_Expecter struct {
// contains filtered or unexported fields
}
func (*AccountServiceMock_Expecter) DeleteAccount ¶
func (_e *AccountServiceMock_Expecter) DeleteAccount(ctx interface{}, id interface{}) *AccountServiceMock_DeleteAccount_Call
DeleteAccount is a helper method to define mock.On call
- ctx context.Context
- id uuid.UUID
func (*AccountServiceMock_Expecter) GetAccount ¶
func (_e *AccountServiceMock_Expecter) GetAccount(ctx interface{}, id interface{}) *AccountServiceMock_GetAccount_Call
GetAccount is a helper method to define mock.On call
- ctx context.Context
- id uuid.UUID
func (*AccountServiceMock_Expecter) RestoreAccount ¶
func (_e *AccountServiceMock_Expecter) RestoreAccount(ctx interface{}, id interface{}) *AccountServiceMock_RestoreAccount_Call
RestoreAccount is a helper method to define mock.On call
- ctx context.Context
- id uuid.UUID
func (*AccountServiceMock_Expecter) SetPassword ¶
func (_e *AccountServiceMock_Expecter) SetPassword(ctx interface{}, id interface{}, input interface{}) *AccountServiceMock_SetPassword_Call
SetPassword is a helper method to define mock.On call
- ctx context.Context
- id uuid.UUID
- input dto.SetPasswordInput
func (*AccountServiceMock_Expecter) UpdateEmail ¶
func (_e *AccountServiceMock_Expecter) UpdateEmail(ctx interface{}, id interface{}, input interface{}, localizer interface{}) *AccountServiceMock_UpdateEmail_Call
UpdateEmail is a helper method to define mock.On call
- ctx context.Context
- id uuid.UUID
- input dto.UpdateEmailInput
- localizer *i18n.Localizer
func (*AccountServiceMock_Expecter) UpdatePassword ¶
func (_e *AccountServiceMock_Expecter) UpdatePassword(ctx interface{}, id interface{}, input interface{}) *AccountServiceMock_UpdatePassword_Call
UpdatePassword is a helper method to define mock.On call
- ctx context.Context
- id uuid.UUID
- input dto.UpdatePasswordInput
func (*AccountServiceMock_Expecter) UpdateUsername ¶
func (_e *AccountServiceMock_Expecter) UpdateUsername(ctx interface{}, id interface{}, input interface{}) *AccountServiceMock_UpdateUsername_Call
UpdateUsername is a helper method to define mock.On call
- ctx context.Context
- id uuid.UUID
- input dto.UpdateUsernameInput
func (*AccountServiceMock_Expecter) VerifyEmail ¶
func (_e *AccountServiceMock_Expecter) VerifyEmail(ctx interface{}, id interface{}, req interface{}) *AccountServiceMock_VerifyEmail_Call
VerifyEmail is a helper method to define mock.On call
- ctx context.Context
- id uuid.UUID
- req dto.VerifyEmailInput
type AccountServiceMock_GetAccount_Call ¶
AccountServiceMock_GetAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccount'
func (*AccountServiceMock_GetAccount_Call) Return ¶
func (_c *AccountServiceMock_GetAccount_Call) Return(_a0 dto.AccountOutput, _a1 error) *AccountServiceMock_GetAccount_Call
func (*AccountServiceMock_GetAccount_Call) Run ¶
func (_c *AccountServiceMock_GetAccount_Call) Run(run func(ctx context.Context, id uuid.UUID)) *AccountServiceMock_GetAccount_Call
func (*AccountServiceMock_GetAccount_Call) RunAndReturn ¶
func (_c *AccountServiceMock_GetAccount_Call) RunAndReturn(run func(context.Context, uuid.UUID) (dto.AccountOutput, error)) *AccountServiceMock_GetAccount_Call
type AccountServiceMock_RestoreAccount_Call ¶
AccountServiceMock_RestoreAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RestoreAccount'
func (*AccountServiceMock_RestoreAccount_Call) Return ¶
func (_c *AccountServiceMock_RestoreAccount_Call) Return(_a0 dto.AccountOutput, _a1 error) *AccountServiceMock_RestoreAccount_Call
func (*AccountServiceMock_RestoreAccount_Call) Run ¶
func (_c *AccountServiceMock_RestoreAccount_Call) Run(run func(ctx context.Context, id uuid.UUID)) *AccountServiceMock_RestoreAccount_Call
func (*AccountServiceMock_RestoreAccount_Call) RunAndReturn ¶
func (_c *AccountServiceMock_RestoreAccount_Call) RunAndReturn(run func(context.Context, uuid.UUID) (dto.AccountOutput, error)) *AccountServiceMock_RestoreAccount_Call
type AccountServiceMock_SetPassword_Call ¶
AccountServiceMock_SetPassword_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetPassword'
func (*AccountServiceMock_SetPassword_Call) Return ¶
func (_c *AccountServiceMock_SetPassword_Call) Return(_a0 error) *AccountServiceMock_SetPassword_Call
func (*AccountServiceMock_SetPassword_Call) Run ¶
func (_c *AccountServiceMock_SetPassword_Call) Run(run func(ctx context.Context, id uuid.UUID, input dto.SetPasswordInput)) *AccountServiceMock_SetPassword_Call
func (*AccountServiceMock_SetPassword_Call) RunAndReturn ¶
func (_c *AccountServiceMock_SetPassword_Call) RunAndReturn(run func(context.Context, uuid.UUID, dto.SetPasswordInput) error) *AccountServiceMock_SetPassword_Call
type AccountServiceMock_UpdateEmail_Call ¶
AccountServiceMock_UpdateEmail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateEmail'
func (*AccountServiceMock_UpdateEmail_Call) Return ¶
func (_c *AccountServiceMock_UpdateEmail_Call) Return(_a0 dto.AccountOutput, _a1 error) *AccountServiceMock_UpdateEmail_Call
func (*AccountServiceMock_UpdateEmail_Call) Run ¶
func (_c *AccountServiceMock_UpdateEmail_Call) Run(run func(ctx context.Context, id uuid.UUID, input dto.UpdateEmailInput, localizer *i18n.Localizer)) *AccountServiceMock_UpdateEmail_Call
func (*AccountServiceMock_UpdateEmail_Call) RunAndReturn ¶
func (_c *AccountServiceMock_UpdateEmail_Call) RunAndReturn(run func(context.Context, uuid.UUID, dto.UpdateEmailInput, *i18n.Localizer) (dto.AccountOutput, error)) *AccountServiceMock_UpdateEmail_Call
type AccountServiceMock_UpdatePassword_Call ¶
AccountServiceMock_UpdatePassword_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdatePassword'
func (*AccountServiceMock_UpdatePassword_Call) Return ¶
func (_c *AccountServiceMock_UpdatePassword_Call) Return(_a0 error) *AccountServiceMock_UpdatePassword_Call
func (*AccountServiceMock_UpdatePassword_Call) Run ¶
func (_c *AccountServiceMock_UpdatePassword_Call) Run(run func(ctx context.Context, id uuid.UUID, input dto.UpdatePasswordInput)) *AccountServiceMock_UpdatePassword_Call
func (*AccountServiceMock_UpdatePassword_Call) RunAndReturn ¶
func (_c *AccountServiceMock_UpdatePassword_Call) RunAndReturn(run func(context.Context, uuid.UUID, dto.UpdatePasswordInput) error) *AccountServiceMock_UpdatePassword_Call
type AccountServiceMock_UpdateUsername_Call ¶
AccountServiceMock_UpdateUsername_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUsername'
func (*AccountServiceMock_UpdateUsername_Call) Return ¶
func (_c *AccountServiceMock_UpdateUsername_Call) Return(_a0 dto.AccountOutput, _a1 error) *AccountServiceMock_UpdateUsername_Call
func (*AccountServiceMock_UpdateUsername_Call) Run ¶
func (_c *AccountServiceMock_UpdateUsername_Call) Run(run func(ctx context.Context, id uuid.UUID, input dto.UpdateUsernameInput)) *AccountServiceMock_UpdateUsername_Call
func (*AccountServiceMock_UpdateUsername_Call) RunAndReturn ¶
func (_c *AccountServiceMock_UpdateUsername_Call) RunAndReturn(run func(context.Context, uuid.UUID, dto.UpdateUsernameInput) (dto.AccountOutput, error)) *AccountServiceMock_UpdateUsername_Call
type AccountServiceMock_VerifyEmail_Call ¶
AccountServiceMock_VerifyEmail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VerifyEmail'
func (*AccountServiceMock_VerifyEmail_Call) Return ¶
func (_c *AccountServiceMock_VerifyEmail_Call) Return(_a0 error) *AccountServiceMock_VerifyEmail_Call
func (*AccountServiceMock_VerifyEmail_Call) Run ¶
func (_c *AccountServiceMock_VerifyEmail_Call) Run(run func(ctx context.Context, id uuid.UUID, req dto.VerifyEmailInput)) *AccountServiceMock_VerifyEmail_Call
func (*AccountServiceMock_VerifyEmail_Call) RunAndReturn ¶
func (_c *AccountServiceMock_VerifyEmail_Call) RunAndReturn(run func(context.Context, uuid.UUID, dto.VerifyEmailInput) error) *AccountServiceMock_VerifyEmail_Call
type AuthServiceMock ¶
AuthServiceMock is an autogenerated mock type for the AuthService type
func NewAuthServiceMock ¶
func NewAuthServiceMock(t interface { mock.TestingT Cleanup(func()) }) *AuthServiceMock
NewAuthServiceMock creates a new instance of AuthServiceMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AuthServiceMock) EXPECT ¶
func (_m *AuthServiceMock) EXPECT() *AuthServiceMock_Expecter
func (*AuthServiceMock) FetchUserInfo ¶
func (_m *AuthServiceMock) FetchUserInfo(ctx context.Context, provider string, input dto.FetchUserInfoInput) (oauth.UserInfo, error)
FetchUserInfo provides a mock function with given fields: ctx, provider, input
func (*AuthServiceMock) GetConsentPageUrl ¶
func (_m *AuthServiceMock) GetConsentPageUrl(_a0 context.Context, provider string, redirectUrl string) (dto.GetConsentPageUrlOutput, error)
GetConsentPageUrl provides a mock function with given fields: _a0, provider, redirectUrl
func (*AuthServiceMock) Login ¶
func (_m *AuthServiceMock) Login(ctx context.Context, input dto.LoginInput) (dto.JwtTokensOutput, error)
Login provides a mock function with given fields: ctx, input
func (*AuthServiceMock) Logout ¶
func (_m *AuthServiceMock) Logout(ctx context.Context, jti string) error
Logout provides a mock function with given fields: ctx, jti
func (*AuthServiceMock) RecoveryPassword ¶
func (_m *AuthServiceMock) RecoveryPassword(ctx context.Context, input dto.RecoveryPasswordInput, localizer *i18n.Localizer) error
RecoveryPassword provides a mock function with given fields: ctx, input, localizer
func (*AuthServiceMock) RefreshTokens ¶
func (_m *AuthServiceMock) RefreshTokens(ctx context.Context, refreshToken string) (dto.JwtTokensOutput, error)
RefreshTokens provides a mock function with given fields: ctx, refreshToken
func (*AuthServiceMock) Register ¶
func (_m *AuthServiceMock) Register(ctx context.Context, input dto.RegisterInput, localizer *i18n.Localizer) error
Register provides a mock function with given fields: ctx, input, localizer
func (*AuthServiceMock) RegisterConfirm ¶
func (_m *AuthServiceMock) RegisterConfirm(ctx context.Context, input dto.RegisterConfirmInput) error
RegisterConfirm provides a mock function with given fields: ctx, input
func (*AuthServiceMock) RegisterOrLogin ¶
func (_m *AuthServiceMock) RegisterOrLogin(ctx context.Context, userInfo oauth.UserInfo) (dto.JwtTokensOutput, error)
RegisterOrLogin provides a mock function with given fields: ctx, userInfo
func (*AuthServiceMock) ResetPassword ¶
func (_m *AuthServiceMock) ResetPassword(ctx context.Context, input dto.ResetPasswordInput) error
ResetPassword provides a mock function with given fields: ctx, input
func (*AuthServiceMock) VerifyRecoveryCode ¶
func (_m *AuthServiceMock) VerifyRecoveryCode(ctx context.Context, input dto.VerifyRecoveryCodeInput) error
VerifyRecoveryCode provides a mock function with given fields: ctx, input
type AuthServiceMock_Expecter ¶
type AuthServiceMock_Expecter struct {
// contains filtered or unexported fields
}
func (*AuthServiceMock_Expecter) FetchUserInfo ¶
func (_e *AuthServiceMock_Expecter) FetchUserInfo(ctx interface{}, provider interface{}, input interface{}) *AuthServiceMock_FetchUserInfo_Call
FetchUserInfo is a helper method to define mock.On call
- ctx context.Context
- provider string
- input dto.FetchUserInfoInput
func (*AuthServiceMock_Expecter) GetConsentPageUrl ¶
func (_e *AuthServiceMock_Expecter) GetConsentPageUrl(_a0 interface{}, provider interface{}, redirectUrl interface{}) *AuthServiceMock_GetConsentPageUrl_Call
GetConsentPageUrl is a helper method to define mock.On call
- _a0 context.Context
- provider string
- redirectUrl string
func (*AuthServiceMock_Expecter) Login ¶
func (_e *AuthServiceMock_Expecter) Login(ctx interface{}, input interface{}) *AuthServiceMock_Login_Call
Login is a helper method to define mock.On call
- ctx context.Context
- input dto.LoginInput
func (*AuthServiceMock_Expecter) Logout ¶
func (_e *AuthServiceMock_Expecter) Logout(ctx interface{}, jti interface{}) *AuthServiceMock_Logout_Call
Logout is a helper method to define mock.On call
- ctx context.Context
- jti string
func (*AuthServiceMock_Expecter) RecoveryPassword ¶
func (_e *AuthServiceMock_Expecter) RecoveryPassword(ctx interface{}, input interface{}, localizer interface{}) *AuthServiceMock_RecoveryPassword_Call
RecoveryPassword is a helper method to define mock.On call
- ctx context.Context
- input dto.RecoveryPasswordInput
- localizer *i18n.Localizer
func (*AuthServiceMock_Expecter) RefreshTokens ¶
func (_e *AuthServiceMock_Expecter) RefreshTokens(ctx interface{}, refreshToken interface{}) *AuthServiceMock_RefreshTokens_Call
RefreshTokens is a helper method to define mock.On call
- ctx context.Context
- refreshToken string
func (*AuthServiceMock_Expecter) Register ¶
func (_e *AuthServiceMock_Expecter) Register(ctx interface{}, input interface{}, localizer interface{}) *AuthServiceMock_Register_Call
Register is a helper method to define mock.On call
- ctx context.Context
- input dto.RegisterInput
- localizer *i18n.Localizer
func (*AuthServiceMock_Expecter) RegisterConfirm ¶
func (_e *AuthServiceMock_Expecter) RegisterConfirm(ctx interface{}, input interface{}) *AuthServiceMock_RegisterConfirm_Call
RegisterConfirm is a helper method to define mock.On call
- ctx context.Context
- input dto.RegisterConfirmInput
func (*AuthServiceMock_Expecter) RegisterOrLogin ¶
func (_e *AuthServiceMock_Expecter) RegisterOrLogin(ctx interface{}, userInfo interface{}) *AuthServiceMock_RegisterOrLogin_Call
RegisterOrLogin is a helper method to define mock.On call
- ctx context.Context
- userInfo oauth.UserInfo
func (*AuthServiceMock_Expecter) ResetPassword ¶
func (_e *AuthServiceMock_Expecter) ResetPassword(ctx interface{}, input interface{}) *AuthServiceMock_ResetPassword_Call
ResetPassword is a helper method to define mock.On call
- ctx context.Context
- input dto.ResetPasswordInput
func (*AuthServiceMock_Expecter) VerifyRecoveryCode ¶
func (_e *AuthServiceMock_Expecter) VerifyRecoveryCode(ctx interface{}, input interface{}) *AuthServiceMock_VerifyRecoveryCode_Call
VerifyRecoveryCode is a helper method to define mock.On call
- ctx context.Context
- input dto.VerifyRecoveryCodeInput
type AuthServiceMock_FetchUserInfo_Call ¶
AuthServiceMock_FetchUserInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FetchUserInfo'
func (*AuthServiceMock_FetchUserInfo_Call) Return ¶
func (_c *AuthServiceMock_FetchUserInfo_Call) Return(_a0 oauth.UserInfo, _a1 error) *AuthServiceMock_FetchUserInfo_Call
func (*AuthServiceMock_FetchUserInfo_Call) Run ¶
func (_c *AuthServiceMock_FetchUserInfo_Call) Run(run func(ctx context.Context, provider string, input dto.FetchUserInfoInput)) *AuthServiceMock_FetchUserInfo_Call
func (*AuthServiceMock_FetchUserInfo_Call) RunAndReturn ¶
func (_c *AuthServiceMock_FetchUserInfo_Call) RunAndReturn(run func(context.Context, string, dto.FetchUserInfoInput) (oauth.UserInfo, error)) *AuthServiceMock_FetchUserInfo_Call
type AuthServiceMock_GetConsentPageUrl_Call ¶
AuthServiceMock_GetConsentPageUrl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetConsentPageUrl'
func (*AuthServiceMock_GetConsentPageUrl_Call) Return ¶
func (_c *AuthServiceMock_GetConsentPageUrl_Call) Return(_a0 dto.GetConsentPageUrlOutput, _a1 error) *AuthServiceMock_GetConsentPageUrl_Call
func (*AuthServiceMock_GetConsentPageUrl_Call) Run ¶
func (_c *AuthServiceMock_GetConsentPageUrl_Call) Run(run func(_a0 context.Context, provider string, redirectUrl string)) *AuthServiceMock_GetConsentPageUrl_Call
func (*AuthServiceMock_GetConsentPageUrl_Call) RunAndReturn ¶
func (_c *AuthServiceMock_GetConsentPageUrl_Call) RunAndReturn(run func(context.Context, string, string) (dto.GetConsentPageUrlOutput, error)) *AuthServiceMock_GetConsentPageUrl_Call
type AuthServiceMock_Login_Call ¶
AuthServiceMock_Login_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Login'
func (*AuthServiceMock_Login_Call) Return ¶
func (_c *AuthServiceMock_Login_Call) Return(_a0 dto.JwtTokensOutput, _a1 error) *AuthServiceMock_Login_Call
func (*AuthServiceMock_Login_Call) Run ¶
func (_c *AuthServiceMock_Login_Call) Run(run func(ctx context.Context, input dto.LoginInput)) *AuthServiceMock_Login_Call
func (*AuthServiceMock_Login_Call) RunAndReturn ¶
func (_c *AuthServiceMock_Login_Call) RunAndReturn(run func(context.Context, dto.LoginInput) (dto.JwtTokensOutput, error)) *AuthServiceMock_Login_Call
type AuthServiceMock_Logout_Call ¶
AuthServiceMock_Logout_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Logout'
func (*AuthServiceMock_Logout_Call) Return ¶
func (_c *AuthServiceMock_Logout_Call) Return(_a0 error) *AuthServiceMock_Logout_Call
func (*AuthServiceMock_Logout_Call) Run ¶
func (_c *AuthServiceMock_Logout_Call) Run(run func(ctx context.Context, jti string)) *AuthServiceMock_Logout_Call
func (*AuthServiceMock_Logout_Call) RunAndReturn ¶
func (_c *AuthServiceMock_Logout_Call) RunAndReturn(run func(context.Context, string) error) *AuthServiceMock_Logout_Call
type AuthServiceMock_RecoveryPassword_Call ¶
AuthServiceMock_RecoveryPassword_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecoveryPassword'
func (*AuthServiceMock_RecoveryPassword_Call) Return ¶
func (_c *AuthServiceMock_RecoveryPassword_Call) Return(_a0 error) *AuthServiceMock_RecoveryPassword_Call
func (*AuthServiceMock_RecoveryPassword_Call) Run ¶
func (_c *AuthServiceMock_RecoveryPassword_Call) Run(run func(ctx context.Context, input dto.RecoveryPasswordInput, localizer *i18n.Localizer)) *AuthServiceMock_RecoveryPassword_Call
func (*AuthServiceMock_RecoveryPassword_Call) RunAndReturn ¶
func (_c *AuthServiceMock_RecoveryPassword_Call) RunAndReturn(run func(context.Context, dto.RecoveryPasswordInput, *i18n.Localizer) error) *AuthServiceMock_RecoveryPassword_Call
type AuthServiceMock_RefreshTokens_Call ¶
AuthServiceMock_RefreshTokens_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RefreshTokens'
func (*AuthServiceMock_RefreshTokens_Call) Return ¶
func (_c *AuthServiceMock_RefreshTokens_Call) Return(_a0 dto.JwtTokensOutput, _a1 error) *AuthServiceMock_RefreshTokens_Call
func (*AuthServiceMock_RefreshTokens_Call) Run ¶
func (_c *AuthServiceMock_RefreshTokens_Call) Run(run func(ctx context.Context, refreshToken string)) *AuthServiceMock_RefreshTokens_Call
func (*AuthServiceMock_RefreshTokens_Call) RunAndReturn ¶
func (_c *AuthServiceMock_RefreshTokens_Call) RunAndReturn(run func(context.Context, string) (dto.JwtTokensOutput, error)) *AuthServiceMock_RefreshTokens_Call
type AuthServiceMock_RegisterConfirm_Call ¶
AuthServiceMock_RegisterConfirm_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterConfirm'
func (*AuthServiceMock_RegisterConfirm_Call) Return ¶
func (_c *AuthServiceMock_RegisterConfirm_Call) Return(_a0 error) *AuthServiceMock_RegisterConfirm_Call
func (*AuthServiceMock_RegisterConfirm_Call) Run ¶
func (_c *AuthServiceMock_RegisterConfirm_Call) Run(run func(ctx context.Context, input dto.RegisterConfirmInput)) *AuthServiceMock_RegisterConfirm_Call
func (*AuthServiceMock_RegisterConfirm_Call) RunAndReturn ¶
func (_c *AuthServiceMock_RegisterConfirm_Call) RunAndReturn(run func(context.Context, dto.RegisterConfirmInput) error) *AuthServiceMock_RegisterConfirm_Call
type AuthServiceMock_RegisterOrLogin_Call ¶
AuthServiceMock_RegisterOrLogin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterOrLogin'
func (*AuthServiceMock_RegisterOrLogin_Call) Return ¶
func (_c *AuthServiceMock_RegisterOrLogin_Call) Return(_a0 dto.JwtTokensOutput, _a1 error) *AuthServiceMock_RegisterOrLogin_Call
func (*AuthServiceMock_RegisterOrLogin_Call) Run ¶
func (_c *AuthServiceMock_RegisterOrLogin_Call) Run(run func(ctx context.Context, userInfo oauth.UserInfo)) *AuthServiceMock_RegisterOrLogin_Call
func (*AuthServiceMock_RegisterOrLogin_Call) RunAndReturn ¶
func (_c *AuthServiceMock_RegisterOrLogin_Call) RunAndReturn(run func(context.Context, oauth.UserInfo) (dto.JwtTokensOutput, error)) *AuthServiceMock_RegisterOrLogin_Call
type AuthServiceMock_Register_Call ¶
AuthServiceMock_Register_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Register'
func (*AuthServiceMock_Register_Call) Return ¶
func (_c *AuthServiceMock_Register_Call) Return(_a0 error) *AuthServiceMock_Register_Call
func (*AuthServiceMock_Register_Call) Run ¶
func (_c *AuthServiceMock_Register_Call) Run(run func(ctx context.Context, input dto.RegisterInput, localizer *i18n.Localizer)) *AuthServiceMock_Register_Call
func (*AuthServiceMock_Register_Call) RunAndReturn ¶
func (_c *AuthServiceMock_Register_Call) RunAndReturn(run func(context.Context, dto.RegisterInput, *i18n.Localizer) error) *AuthServiceMock_Register_Call
type AuthServiceMock_ResetPassword_Call ¶
AuthServiceMock_ResetPassword_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResetPassword'
func (*AuthServiceMock_ResetPassword_Call) Return ¶
func (_c *AuthServiceMock_ResetPassword_Call) Return(_a0 error) *AuthServiceMock_ResetPassword_Call
func (*AuthServiceMock_ResetPassword_Call) Run ¶
func (_c *AuthServiceMock_ResetPassword_Call) Run(run func(ctx context.Context, input dto.ResetPasswordInput)) *AuthServiceMock_ResetPassword_Call
func (*AuthServiceMock_ResetPassword_Call) RunAndReturn ¶
func (_c *AuthServiceMock_ResetPassword_Call) RunAndReturn(run func(context.Context, dto.ResetPasswordInput) error) *AuthServiceMock_ResetPassword_Call
type AuthServiceMock_VerifyRecoveryCode_Call ¶
AuthServiceMock_VerifyRecoveryCode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VerifyRecoveryCode'
func (*AuthServiceMock_VerifyRecoveryCode_Call) Return ¶
func (_c *AuthServiceMock_VerifyRecoveryCode_Call) Return(_a0 error) *AuthServiceMock_VerifyRecoveryCode_Call
func (*AuthServiceMock_VerifyRecoveryCode_Call) Run ¶
func (_c *AuthServiceMock_VerifyRecoveryCode_Call) Run(run func(ctx context.Context, input dto.VerifyRecoveryCodeInput)) *AuthServiceMock_VerifyRecoveryCode_Call
func (*AuthServiceMock_VerifyRecoveryCode_Call) RunAndReturn ¶
func (_c *AuthServiceMock_VerifyRecoveryCode_Call) RunAndReturn(run func(context.Context, dto.VerifyRecoveryCodeInput) error) *AuthServiceMock_VerifyRecoveryCode_Call
type HealthServiceMock ¶
HealthServiceMock is an autogenerated mock type for the HealthService type
func NewHealthServiceMock ¶
func NewHealthServiceMock(t interface { mock.TestingT Cleanup(func()) }) *HealthServiceMock
NewHealthServiceMock creates a new instance of HealthServiceMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*HealthServiceMock) EXPECT ¶
func (_m *HealthServiceMock) EXPECT() *HealthServiceMock_Expecter
func (*HealthServiceMock) Health ¶
func (_m *HealthServiceMock) Health() []dto.HealthOutput
Health provides a mock function with given fields:
type HealthServiceMock_Expecter ¶
type HealthServiceMock_Expecter struct {
// contains filtered or unexported fields
}
func (*HealthServiceMock_Expecter) Health ¶
func (_e *HealthServiceMock_Expecter) Health() *HealthServiceMock_Health_Call
Health is a helper method to define mock.On call
type HealthServiceMock_Health_Call ¶
HealthServiceMock_Health_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Health'
func (*HealthServiceMock_Health_Call) Return ¶
func (_c *HealthServiceMock_Health_Call) Return(_a0 []dto.HealthOutput) *HealthServiceMock_Health_Call
func (*HealthServiceMock_Health_Call) Run ¶
func (_c *HealthServiceMock_Health_Call) Run(run func()) *HealthServiceMock_Health_Call
func (*HealthServiceMock_Health_Call) RunAndReturn ¶
func (_c *HealthServiceMock_Health_Call) RunAndReturn(run func() []dto.HealthOutput) *HealthServiceMock_Health_Call
type MasterProfileServiceMock ¶
MasterProfileServiceMock is an autogenerated mock type for the MasterProfileService type
func NewMasterProfileServiceMock ¶
func NewMasterProfileServiceMock(t interface { mock.TestingT Cleanup(func()) }) *MasterProfileServiceMock
NewMasterProfileServiceMock creates a new instance of MasterProfileServiceMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MasterProfileServiceMock) CreateMasterProfile ¶
func (_m *MasterProfileServiceMock) CreateMasterProfile(ctx context.Context, id uuid.UUID, input dto.CreateMasterProfileInput) (dto.OwnMasterProfileOutput, error)
CreateMasterProfile provides a mock function with given fields: ctx, id, input
func (*MasterProfileServiceMock) EXPECT ¶
func (_m *MasterProfileServiceMock) EXPECT() *MasterProfileServiceMock_Expecter
func (*MasterProfileServiceMock) FindMasterProfiles ¶
func (_m *MasterProfileServiceMock) FindMasterProfiles(ctx context.Context, input dto.FindMasterProfilesInput) (dto.MasterProfilesOutput, error)
FindMasterProfiles provides a mock function with given fields: ctx, input
func (*MasterProfileServiceMock) GetMasterProfileByUsername ¶
func (_m *MasterProfileServiceMock) GetMasterProfileByUsername(ctx context.Context, username string) (dto.MasterProfileOutput, error)
GetMasterProfileByUsername provides a mock function with given fields: ctx, username
func (*MasterProfileServiceMock) GetOwnMasterProfile ¶
func (_m *MasterProfileServiceMock) GetOwnMasterProfile(ctx context.Context, id uuid.UUID) (dto.OwnMasterProfileOutput, error)
GetOwnMasterProfile provides a mock function with given fields: ctx, id
func (*MasterProfileServiceMock) UpdateMasterProfile ¶
func (_m *MasterProfileServiceMock) UpdateMasterProfile(ctx context.Context, id uuid.UUID, input dto.UpdateMasterProfileInput) (dto.OwnMasterProfileOutput, error)
UpdateMasterProfile provides a mock function with given fields: ctx, id, input
type MasterProfileServiceMock_CreateMasterProfile_Call ¶
MasterProfileServiceMock_CreateMasterProfile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateMasterProfile'
func (*MasterProfileServiceMock_CreateMasterProfile_Call) Return ¶
func (_c *MasterProfileServiceMock_CreateMasterProfile_Call) Return(_a0 dto.OwnMasterProfileOutput, _a1 error) *MasterProfileServiceMock_CreateMasterProfile_Call
func (*MasterProfileServiceMock_CreateMasterProfile_Call) Run ¶
func (_c *MasterProfileServiceMock_CreateMasterProfile_Call) Run(run func(ctx context.Context, id uuid.UUID, input dto.CreateMasterProfileInput)) *MasterProfileServiceMock_CreateMasterProfile_Call
func (*MasterProfileServiceMock_CreateMasterProfile_Call) RunAndReturn ¶
func (_c *MasterProfileServiceMock_CreateMasterProfile_Call) RunAndReturn(run func(context.Context, uuid.UUID, dto.CreateMasterProfileInput) (dto.OwnMasterProfileOutput, error)) *MasterProfileServiceMock_CreateMasterProfile_Call
type MasterProfileServiceMock_Expecter ¶
type MasterProfileServiceMock_Expecter struct {
// contains filtered or unexported fields
}
func (*MasterProfileServiceMock_Expecter) CreateMasterProfile ¶
func (_e *MasterProfileServiceMock_Expecter) CreateMasterProfile(ctx interface{}, id interface{}, input interface{}) *MasterProfileServiceMock_CreateMasterProfile_Call
CreateMasterProfile is a helper method to define mock.On call
- ctx context.Context
- id uuid.UUID
- input dto.CreateMasterProfileInput
func (*MasterProfileServiceMock_Expecter) FindMasterProfiles ¶
func (_e *MasterProfileServiceMock_Expecter) FindMasterProfiles(ctx interface{}, input interface{}) *MasterProfileServiceMock_FindMasterProfiles_Call
FindMasterProfiles is a helper method to define mock.On call
- ctx context.Context
- input dto.FindMasterProfilesInput
func (*MasterProfileServiceMock_Expecter) GetMasterProfileByUsername ¶
func (_e *MasterProfileServiceMock_Expecter) GetMasterProfileByUsername(ctx interface{}, username interface{}) *MasterProfileServiceMock_GetMasterProfileByUsername_Call
GetMasterProfileByUsername is a helper method to define mock.On call
- ctx context.Context
- username string
func (*MasterProfileServiceMock_Expecter) GetOwnMasterProfile ¶
func (_e *MasterProfileServiceMock_Expecter) GetOwnMasterProfile(ctx interface{}, id interface{}) *MasterProfileServiceMock_GetOwnMasterProfile_Call
GetOwnMasterProfile is a helper method to define mock.On call
- ctx context.Context
- id uuid.UUID
func (*MasterProfileServiceMock_Expecter) UpdateMasterProfile ¶
func (_e *MasterProfileServiceMock_Expecter) UpdateMasterProfile(ctx interface{}, id interface{}, input interface{}) *MasterProfileServiceMock_UpdateMasterProfile_Call
UpdateMasterProfile is a helper method to define mock.On call
- ctx context.Context
- id uuid.UUID
- input dto.UpdateMasterProfileInput
type MasterProfileServiceMock_FindMasterProfiles_Call ¶
MasterProfileServiceMock_FindMasterProfiles_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindMasterProfiles'
func (*MasterProfileServiceMock_FindMasterProfiles_Call) Return ¶
func (_c *MasterProfileServiceMock_FindMasterProfiles_Call) Return(_a0 dto.MasterProfilesOutput, _a1 error) *MasterProfileServiceMock_FindMasterProfiles_Call
func (*MasterProfileServiceMock_FindMasterProfiles_Call) Run ¶
func (_c *MasterProfileServiceMock_FindMasterProfiles_Call) Run(run func(ctx context.Context, input dto.FindMasterProfilesInput)) *MasterProfileServiceMock_FindMasterProfiles_Call
func (*MasterProfileServiceMock_FindMasterProfiles_Call) RunAndReturn ¶
func (_c *MasterProfileServiceMock_FindMasterProfiles_Call) RunAndReturn(run func(context.Context, dto.FindMasterProfilesInput) (dto.MasterProfilesOutput, error)) *MasterProfileServiceMock_FindMasterProfiles_Call
type MasterProfileServiceMock_GetMasterProfileByUsername_Call ¶
MasterProfileServiceMock_GetMasterProfileByUsername_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMasterProfileByUsername'
func (*MasterProfileServiceMock_GetMasterProfileByUsername_Call) Run ¶
func (_c *MasterProfileServiceMock_GetMasterProfileByUsername_Call) Run(run func(ctx context.Context, username string)) *MasterProfileServiceMock_GetMasterProfileByUsername_Call
func (*MasterProfileServiceMock_GetMasterProfileByUsername_Call) RunAndReturn ¶
func (_c *MasterProfileServiceMock_GetMasterProfileByUsername_Call) RunAndReturn(run func(context.Context, string) (dto.MasterProfileOutput, error)) *MasterProfileServiceMock_GetMasterProfileByUsername_Call
type MasterProfileServiceMock_GetOwnMasterProfile_Call ¶
MasterProfileServiceMock_GetOwnMasterProfile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOwnMasterProfile'
func (*MasterProfileServiceMock_GetOwnMasterProfile_Call) Return ¶
func (_c *MasterProfileServiceMock_GetOwnMasterProfile_Call) Return(_a0 dto.OwnMasterProfileOutput, _a1 error) *MasterProfileServiceMock_GetOwnMasterProfile_Call
func (*MasterProfileServiceMock_GetOwnMasterProfile_Call) Run ¶
func (_c *MasterProfileServiceMock_GetOwnMasterProfile_Call) Run(run func(ctx context.Context, id uuid.UUID)) *MasterProfileServiceMock_GetOwnMasterProfile_Call
func (*MasterProfileServiceMock_GetOwnMasterProfile_Call) RunAndReturn ¶
func (_c *MasterProfileServiceMock_GetOwnMasterProfile_Call) RunAndReturn(run func(context.Context, uuid.UUID) (dto.OwnMasterProfileOutput, error)) *MasterProfileServiceMock_GetOwnMasterProfile_Call
type MasterProfileServiceMock_UpdateMasterProfile_Call ¶
MasterProfileServiceMock_UpdateMasterProfile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateMasterProfile'
func (*MasterProfileServiceMock_UpdateMasterProfile_Call) Return ¶
func (_c *MasterProfileServiceMock_UpdateMasterProfile_Call) Return(_a0 dto.OwnMasterProfileOutput, _a1 error) *MasterProfileServiceMock_UpdateMasterProfile_Call
func (*MasterProfileServiceMock_UpdateMasterProfile_Call) Run ¶
func (_c *MasterProfileServiceMock_UpdateMasterProfile_Call) Run(run func(ctx context.Context, id uuid.UUID, input dto.UpdateMasterProfileInput)) *MasterProfileServiceMock_UpdateMasterProfile_Call
func (*MasterProfileServiceMock_UpdateMasterProfile_Call) RunAndReturn ¶
func (_c *MasterProfileServiceMock_UpdateMasterProfile_Call) RunAndReturn(run func(context.Context, uuid.UUID, dto.UpdateMasterProfileInput) (dto.OwnMasterProfileOutput, error)) *MasterProfileServiceMock_UpdateMasterProfile_Call
type ResourceServiceMock ¶
ResourceServiceMock is an autogenerated mock type for the ResourceService type
func NewResourceServiceMock ¶
func NewResourceServiceMock(t interface { mock.TestingT Cleanup(func()) }) *ResourceServiceMock
NewResourceServiceMock creates a new instance of ResourceServiceMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ResourceServiceMock) DownloadResource ¶
func (_m *ResourceServiceMock) DownloadResource(ctx context.Context, objectID string) (*s3.FileData, error)
DownloadResource provides a mock function with given fields: ctx, objectID
func (*ResourceServiceMock) EXPECT ¶
func (_m *ResourceServiceMock) EXPECT() *ResourceServiceMock_Expecter
func (*ResourceServiceMock) UploadResource ¶
func (_m *ResourceServiceMock) UploadResource(ctx context.Context, input *dto.UploadResourceInput) (dto.UploadResourceOutput, error)
UploadResource provides a mock function with given fields: ctx, input
func (*ResourceServiceMock) UploadResources ¶
func (_m *ResourceServiceMock) UploadResources(ctx context.Context, input *dto.UploadResourcesInput) (dto.UploadResourcesOutput, error)
UploadResources provides a mock function with given fields: ctx, input
type ResourceServiceMock_DownloadResource_Call ¶
ResourceServiceMock_DownloadResource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DownloadResource'
func (*ResourceServiceMock_DownloadResource_Call) Return ¶
func (_c *ResourceServiceMock_DownloadResource_Call) Return(_a0 *s3.FileData, _a1 error) *ResourceServiceMock_DownloadResource_Call
func (*ResourceServiceMock_DownloadResource_Call) Run ¶
func (_c *ResourceServiceMock_DownloadResource_Call) Run(run func(ctx context.Context, objectID string)) *ResourceServiceMock_DownloadResource_Call
func (*ResourceServiceMock_DownloadResource_Call) RunAndReturn ¶
func (_c *ResourceServiceMock_DownloadResource_Call) RunAndReturn(run func(context.Context, string) (*s3.FileData, error)) *ResourceServiceMock_DownloadResource_Call
type ResourceServiceMock_Expecter ¶
type ResourceServiceMock_Expecter struct {
// contains filtered or unexported fields
}
func (*ResourceServiceMock_Expecter) DownloadResource ¶
func (_e *ResourceServiceMock_Expecter) DownloadResource(ctx interface{}, objectID interface{}) *ResourceServiceMock_DownloadResource_Call
DownloadResource is a helper method to define mock.On call
- ctx context.Context
- objectID string
func (*ResourceServiceMock_Expecter) UploadResource ¶
func (_e *ResourceServiceMock_Expecter) UploadResource(ctx interface{}, input interface{}) *ResourceServiceMock_UploadResource_Call
UploadResource is a helper method to define mock.On call
- ctx context.Context
- input *dto.UploadResourceInput
func (*ResourceServiceMock_Expecter) UploadResources ¶
func (_e *ResourceServiceMock_Expecter) UploadResources(ctx interface{}, input interface{}) *ResourceServiceMock_UploadResources_Call
UploadResources is a helper method to define mock.On call
- ctx context.Context
- input *dto.UploadResourcesInput
type ResourceServiceMock_UploadResource_Call ¶
ResourceServiceMock_UploadResource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadResource'
func (*ResourceServiceMock_UploadResource_Call) Return ¶
func (_c *ResourceServiceMock_UploadResource_Call) Return(_a0 dto.UploadResourceOutput, _a1 error) *ResourceServiceMock_UploadResource_Call
func (*ResourceServiceMock_UploadResource_Call) Run ¶
func (_c *ResourceServiceMock_UploadResource_Call) Run(run func(ctx context.Context, input *dto.UploadResourceInput)) *ResourceServiceMock_UploadResource_Call
func (*ResourceServiceMock_UploadResource_Call) RunAndReturn ¶
func (_c *ResourceServiceMock_UploadResource_Call) RunAndReturn(run func(context.Context, *dto.UploadResourceInput) (dto.UploadResourceOutput, error)) *ResourceServiceMock_UploadResource_Call
type ResourceServiceMock_UploadResources_Call ¶
ResourceServiceMock_UploadResources_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UploadResources'
func (*ResourceServiceMock_UploadResources_Call) Return ¶
func (_c *ResourceServiceMock_UploadResources_Call) Return(_a0 dto.UploadResourcesOutput, _a1 error) *ResourceServiceMock_UploadResources_Call
func (*ResourceServiceMock_UploadResources_Call) Run ¶
func (_c *ResourceServiceMock_UploadResources_Call) Run(run func(ctx context.Context, input *dto.UploadResourcesInput)) *ResourceServiceMock_UploadResources_Call
func (*ResourceServiceMock_UploadResources_Call) RunAndReturn ¶
func (_c *ResourceServiceMock_UploadResources_Call) RunAndReturn(run func(context.Context, *dto.UploadResourcesInput) (dto.UploadResourcesOutput, error)) *ResourceServiceMock_UploadResources_Call
type WebsocketServiceMock ¶
WebsocketServiceMock is an autogenerated mock type for the WebsocketService type
func NewWebsocketServiceMock ¶
func NewWebsocketServiceMock(t interface { mock.TestingT Cleanup(func()) }) *WebsocketServiceMock
NewWebsocketServiceMock creates a new instance of WebsocketServiceMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*WebsocketServiceMock) EXPECT ¶
func (_m *WebsocketServiceMock) EXPECT() *WebsocketServiceMock_Expecter
func (*WebsocketServiceMock) RegisterClient ¶
func (_m *WebsocketServiceMock) RegisterClient(userId uuid.UUID, r *http.Request, w http.ResponseWriter) error
RegisterClient provides a mock function with given fields: userId, r, w
type WebsocketServiceMock_Expecter ¶
type WebsocketServiceMock_Expecter struct {
// contains filtered or unexported fields
}
func (*WebsocketServiceMock_Expecter) RegisterClient ¶
func (_e *WebsocketServiceMock_Expecter) RegisterClient(userId interface{}, r interface{}, w interface{}) *WebsocketServiceMock_RegisterClient_Call
RegisterClient is a helper method to define mock.On call
- userId uuid.UUID
- r *http.Request
- w http.ResponseWriter
type WebsocketServiceMock_RegisterClient_Call ¶
WebsocketServiceMock_RegisterClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterClient'
func (*WebsocketServiceMock_RegisterClient_Call) Return ¶
func (_c *WebsocketServiceMock_RegisterClient_Call) Return(_a0 error) *WebsocketServiceMock_RegisterClient_Call
func (*WebsocketServiceMock_RegisterClient_Call) Run ¶
func (_c *WebsocketServiceMock_RegisterClient_Call) Run(run func(userId uuid.UUID, r *http.Request, w http.ResponseWriter)) *WebsocketServiceMock_RegisterClient_Call
func (*WebsocketServiceMock_RegisterClient_Call) RunAndReturn ¶
func (_c *WebsocketServiceMock_RegisterClient_Call) RunAndReturn(run func(uuid.UUID, *http.Request, http.ResponseWriter) error) *WebsocketServiceMock_RegisterClient_Call