Documentation ¶
Index ¶
- func GenericTestName[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)
- func GenericTestSendCode_Concurrency_MaxSendPerDay[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)
- func GenericTestSendCode_Concurrency_ResendTooFrequently[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)
- func GenericTestSendCode_Err_Failure[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)
- func GenericTestSendCode_MaxSendPerDay[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)
- func GenericTestSendCode_RedisUnavailable[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)
- func GenericTestSendCode_ResendTooFrequently[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)
- func GenericTestSendCode_Success[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)
- func GenericTestVerifyCode_CodeExpired[S limit_verified.Storage](t *testing.T, mr *miniredis.Miniredis, store S)
- func GenericTestVerifyCode_CodeMaxError[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)
- func GenericTestVerifyCode_CodeRequired[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)
- func GenericTestVerifyCode_Concurrency_CodeMaxError[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)
- func GenericTestVerifyCode_Success[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)
- func GenericTest_INCR_DECR[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)
- func GenericTest_INCR_MaxSendPerDay[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)
- type TestErrProvider
- type TestProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenericTestName ¶
func GenericTestName[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)
func GenericTestSendCode_Concurrency_MaxSendPerDay ¶
func GenericTestSendCode_Concurrency_MaxSendPerDay[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)
func GenericTestSendCode_Concurrency_ResendTooFrequently ¶
func GenericTestSendCode_Concurrency_ResendTooFrequently[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)
func GenericTestSendCode_Err_Failure ¶
func GenericTestSendCode_Err_Failure[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)
func GenericTestSendCode_MaxSendPerDay ¶
func GenericTestSendCode_MaxSendPerDay[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)
func GenericTestSendCode_RedisUnavailable ¶
func GenericTestSendCode_RedisUnavailable[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)
func GenericTestSendCode_ResendTooFrequently ¶
func GenericTestSendCode_ResendTooFrequently[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)
func GenericTestSendCode_Success ¶
func GenericTestSendCode_Success[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)
func GenericTestVerifyCode_CodeExpired ¶
func GenericTestVerifyCode_CodeExpired[S limit_verified.Storage](t *testing.T, mr *miniredis.Miniredis, store S)
func GenericTestVerifyCode_CodeMaxError ¶
func GenericTestVerifyCode_CodeMaxError[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)
func GenericTestVerifyCode_CodeRequired ¶
func GenericTestVerifyCode_CodeRequired[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)
func GenericTestVerifyCode_Concurrency_CodeMaxError ¶
func GenericTestVerifyCode_Concurrency_CodeMaxError[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)
func GenericTestVerifyCode_Success ¶
func GenericTestVerifyCode_Success[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)
func GenericTest_INCR_DECR ¶
func GenericTest_INCR_DECR[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)
func GenericTest_INCR_MaxSendPerDay ¶
func GenericTest_INCR_MaxSendPerDay[S limit_verified.Storage](t *testing.T, _ *miniredis.Miniredis, store S)
Types ¶
type TestErrProvider ¶
type TestErrProvider struct{}
func (TestErrProvider) Name ¶
func (t TestErrProvider) Name() string
func (TestErrProvider) SendCode ¶
func (t TestErrProvider) SendCode(c limit_verified.CodeParam) error
type TestProvider ¶
type TestProvider struct{}
func (TestProvider) Name ¶
func (t TestProvider) Name() string
func (TestProvider) SendCode ¶
func (t TestProvider) SendCode(c limit_verified.CodeParam) error
Click to show internal directories.
Click to hide internal directories.