Documentation
¶
Index ¶
Constants ¶
View Source
const ( AffectedIdField = "affid" AffectedHashEmailField = "hsha256email" )
View Source
const ( SubscriberIdField = "subid" SubscriberB64EmailField = "b64email" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Affected ¶
type Affected struct {
HSHA256Email entity.HSHA256
AffectedId entity.AutoGenKey
}
func NewAffected ¶
type Subscriber ¶
type Subscriber struct {
B64Email entity.Base64
SubscriberId entity.AutoGenKey
}
func NewSubscriber ¶
func NewSubscriber(email string) Subscriber
func (Subscriber) Copy ¶
func (s Subscriber) Copy(key entity.AutoGenKey) Subscriber
func (Subscriber) Record ¶
func (s Subscriber) Record() []entity.Tuple
type SubscriberAffected ¶
type SubscriberAffected struct {
AffId entity.AutoGenKey
SubId entity.AutoGenKey
}
func NewSubscriberAffected ¶
func NewSubscriberAffected(a Affected, s Subscriber) SubscriberAffected
func (SubscriberAffected) Record ¶
func (sa SubscriberAffected) Record() []entity.Tuple
type Subscription ¶
type Subscription struct {
Subscriber Subscriber
Affected []Affected
}
Click to show internal directories.
Click to hide internal directories.