Versions in this module Expand all Collapse all v0 v0.0.1 Sep 22, 2024 Changes in this version + type AuthService interface + CreateVerificationCode func(ctx context.Context, bits, expireTime int64) (*verificationcode.VerificationCode, error) + ValidateVerificationCode func(ctx context.Context, code *verificationcode.VerificationCode) (bool, error) + type MockAuthService struct + func NewMockAuthService(ctrl *gomock.Controller) *MockAuthService + func (m *MockAuthService) CreateVerificationCode(ctx context.Context, bits, expireTime int64) (*verificationcode.VerificationCode, error) + func (m *MockAuthService) EXPECT() *MockAuthServiceMockRecorder + func (m *MockAuthService) ValidateVerificationCode(ctx context.Context, code *verificationcode.VerificationCode) (bool, error) + type MockAuthServiceMockRecorder struct + func (mr *MockAuthServiceMockRecorder) CreateVerificationCode(ctx, bits, expireTime any) *gomock.Call + func (mr *MockAuthServiceMockRecorder) ValidateVerificationCode(ctx, code any) *gomock.Call