Add SMSFactor

This commit is contained in:
2023-03-13 00:26:36 +01:00
parent 85fe50f3b4
commit 65bcc8b451
5 changed files with 104 additions and 9 deletions

View File

@@ -7,6 +7,10 @@ const (
PlatFormAndroid
// PlatFormHuawei constant is 3 for Huawei
PlatFormHuawei
// PlatformUnifiedPush constant is 4 for UnifiedPush
PlatformUnifiedPush
// PlatformSMSFactor constant is 5 for SMSFactor
PlatformSMSFactor
)
const (

View File

@@ -21,6 +21,18 @@ const (
// HuaweiErrorKey is key name for huawei error count of storage
HuaweiErrorKey = "gorush-huawei-error-count"
// UnifiedPushSuccessKey is key name for unifiedpush success count of storage
UnifiedPushSuccessKey = "gorush-unifiedpush-success-count"
// UnifiedPushErrorKey is key name for unifiedpush error count of storage
UnifiedPushErrorKey = "gorush-unifiedpush-error-count"
// SMSFactirSuccessKey is key name for smsfactor success count of storage
SMSFactorSuccessKey = "gorush-smsfactor-success-count"
// SMSfactorErrorKey is key name for smsfactor error count of storage
SMSFactorErrorKey = "gorush-smsfactor-error-count"
)
// Storage interface