Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type EventCreationStorage ¶
type EventCreationStorage interface { CreateGoalEvent( ctx context.Context, event *eventproto.GoalEvent, id, environmentNamespace string, evaluations []string, ) error CreateEvaluationEvent(ctx context.Context, event *eventproto.EvaluationEvent, id, environmentNamespace string) error CreateUserEvent(ctx context.Context, event *esproto.UserEvent, id, environmentNamespace string) error }
func NewEventCreationStorage ¶
func NewEventCreationStorage(qe postgres.Execer) EventCreationStorage
type MAUStorage ¶ added in v0.2.0
type MAUStorage interface {
UpsertMAU(ctx context.Context, event *esproto.UserEvent, environmentNamespace string) error
}
func NewMysqlMAUStorage ¶ added in v0.2.0
func NewMysqlMAUStorage(qe mysql.QueryExecer) MAUStorage
Click to show internal directories.
Click to hide internal directories.