localplatform

package
v0.0.0-...-fb74ee3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEmailSender

func NewEmailSender() platform.SendMail

NewEmailSender is the factory method to create an email sender

func NewPersistedEmailStore

func NewPersistedEmailStore() platform.PersistedEmailStore

NewPersistedEmailStore is the factory method to create an email store

func NewPersistedPropertyList

func NewPersistedPropertyList() platform.PersistedPropertyList

NewPersistedPropertyList is the factory method to create an property list store

func NewPersistedVersionedEvents

func NewPersistedVersionedEvents() platform.PersistedVersionedEvents

NewPersistedVersionedEvents is the factory method to create a persisted events store

Types

type Event

type Event struct {
	ID    int
	Value interface{}
}

Event is the []byte gob-encoded array of events

type PersistedEmail

type PersistedEmail struct {
	EmailID    string `datastore:"EmailId"`    // legacy name
	Email      string `datastore:"Email"`      // legacy name
	PropertyID string `datastore:"PropertyId"` // legacy name
}

PersistedEmail is the structure used to store an email address and other PII information

type PersistedPropertyEvents

type PersistedPropertyEvents struct {
	Events     []byte
	First      int
	Last       int
	Compressed bool
	Type       int
}

PersistedPropertyEvents is the record that holds some property events

Notes

Bugs

  • check that transactionIndex is correct

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL