gorush/core/core.go

22 lines
485 B
Go
Raw Normal View History

2021-07-13 08:32:39 +00:00
package core
const (
// PlatFormIos constant is 1 for iOS
PlatFormIos = iota + 1
// PlatFormAndroid constant is 2 for Android
PlatFormAndroid
// PlatFormHuawei constant is 3 for Huawei
PlatFormHuawei
2023-03-12 23:26:36 +00:00
// PlatformUnifiedPush constant is 4 for UnifiedPush
PlatformUnifiedPush
// PlatformSMSFactor constant is 5 for SMSFactor
PlatformSMSFactor
2021-07-13 08:32:39 +00:00
)
const (
// SucceededPush is log block
SucceededPush = "succeeded-push"
// FailedPush is log block
FailedPush = "failed-push"
)