Documentation ¶
Index ¶
- Constants
- Variables
- type HitrixSettings
- type MailTrackerEntity
- type OSSBucketCounterEntity
- type S3BucketCounterEntity
- type SettingSeedsValue
- type SettingsEntity
- type SmsTrackerEntity
- func (s *SmsTrackerEntity) SetFromPrimaryGateway(primary string)
- func (s *SmsTrackerEntity) SetFromSecondaryGateway(secondary string)
- func (s *SmsTrackerEntity) SetPrimaryGatewayError(primaryError string)
- func (s *SmsTrackerEntity) SetSecondaryGatewayError(secondaryError string)
- func (s *SmsTrackerEntity) SetSentAt(sendAt time.Time)
- func (s *SmsTrackerEntity) SetStatus(status string)
- func (s *SmsTrackerEntity) SetText(text string)
- func (s *SmsTrackerEntity) SetTo(to string)
- func (s *SmsTrackerEntity) SetType(typ string)
Constants ¶
View Source
const ( MailTrackerStatusNew = "new" MailTrackerStatusQueued = "queued" MailTrackerStatusSuccess = "success" MailTrackerStatusError = "error" )
View Source
const ( SMSTrackerTypeSMS = "sms" SMSTrackerTypeCallout = "callout" )
Variables ¶
View Source
var HitrixSettingAll = HitrixSettings{
Seeds: seedsSetting,
}
View Source
var MailTrackerStatusAll = mailTrackerStatus{ MailTrackerStatusSuccess: MailTrackerStatusSuccess, MailTrackerStatusError: MailTrackerStatusError, MailTrackerStatusQueued: MailTrackerStatusQueued, }
View Source
var SMSTrackerTypeAll = smsTrackerTypeAll{ SMSTrackerTypeSMS: SMSTrackerTypeSMS, SMSTrackerTypeCallout: SMSTrackerTypeCallout, }
Functions ¶
This section is empty.
Types ¶
type HitrixSettings ¶ added in v0.8.55
type HitrixSettings struct {
Seeds string
}
type MailTrackerEntity ¶ added in v0.5.0
type MailTrackerEntity struct { beeorm.ORM `orm:"table=email_tracker"` ID uint64 Status string `orm:"enum=entity.MailTrackerStatusAll"` From string `orm:"varchar=255"` To string `orm:"varchar=255"` Subject string TemplateFile string TemplateData string `orm:"length=max"` SenderError string SentAt *time.Time `orm:"time"` ReadAt *time.Time `orm:"time"` }
type OSSBucketCounterEntity ¶
type S3BucketCounterEntity ¶ added in v0.4.4
type SettingSeedsValue ¶ added in v0.8.55
type SettingsEntity ¶ added in v0.8.55
type SmsTrackerEntity ¶ added in v0.8.73
type SmsTrackerEntity struct { beeorm.ORM `orm:"table=sms_tracker"` ID uint64 Status string To string `orm:"length=15"` Text string FromPrimaryGateway string FromSecondaryGateway string PrimaryGatewayError string `orm:"length=max"` SecondaryGatewayError string `orm:"length=max"` Type string `orm:"enum=entity.SMSTrackerTypeAll;required"` SentAt time.Time `orm:"time"` }
func (*SmsTrackerEntity) SetFromPrimaryGateway ¶ added in v0.8.73
func (s *SmsTrackerEntity) SetFromPrimaryGateway(primary string)
func (*SmsTrackerEntity) SetFromSecondaryGateway ¶ added in v0.8.73
func (s *SmsTrackerEntity) SetFromSecondaryGateway(secondary string)
func (*SmsTrackerEntity) SetPrimaryGatewayError ¶ added in v0.8.73
func (s *SmsTrackerEntity) SetPrimaryGatewayError(primaryError string)
func (*SmsTrackerEntity) SetSecondaryGatewayError ¶ added in v0.8.73
func (s *SmsTrackerEntity) SetSecondaryGatewayError(secondaryError string)
func (*SmsTrackerEntity) SetSentAt ¶ added in v0.8.73
func (s *SmsTrackerEntity) SetSentAt(sendAt time.Time)
func (*SmsTrackerEntity) SetStatus ¶ added in v0.8.73
func (s *SmsTrackerEntity) SetStatus(status string)
func (*SmsTrackerEntity) SetText ¶ added in v0.8.73
func (s *SmsTrackerEntity) SetText(text string)
func (*SmsTrackerEntity) SetTo ¶ added in v0.8.73
func (s *SmsTrackerEntity) SetTo(to string)
func (*SmsTrackerEntity) SetType ¶ added in v0.8.73
func (s *SmsTrackerEntity) SetType(typ string)
Click to show internal directories.
Click to hide internal directories.