user_setting.go 616 B

1234567891011121314
  1. package constant
  2. var (
  3. UserSettingNotifyType = "notify_type" // QuotaWarningType 额度预警类型
  4. UserSettingQuotaWarningThreshold = "quota_warning_threshold" // QuotaWarningThreshold 额度预警阈值
  5. UserSettingWebhookUrl = "webhook_url" // WebhookUrl webhook地址
  6. UserSettingWebhookSecret = "webhook_secret" // WebhookSecret webhook密钥
  7. UserSettingNotificationEmail = "notification_email" // NotificationEmail 通知邮箱地址
  8. )
  9. var (
  10. NotifyTypeEmail = "email" // Email 邮件
  11. NotifyTypeWebhook = "webhook" // Webhook
  12. )