v2

package
v0.4.9 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AutoOpsRuleStorage

type AutoOpsRuleStorage interface {
	CountOpsEventRate(ctx context.Context) (int, error)
}

func NewAutoOpsRuleStorage

func NewAutoOpsRuleStorage(qe mysql.QueryExecer) AutoOpsRuleStorage

type ExperimentStorage

type ExperimentStorage interface {
	CountRunningExperiments(ctx context.Context) (int, error)
}

func NewExperimentStorage

func NewExperimentStorage(qe mysql.QueryExecer) ExperimentStorage

type MAUStorage

type MAUStorage interface {
	UpsertMAU(ctx context.Context, event *esproto.UserEvent, environmentNamespace string) error
	UpsertMAUs(ctx context.Context, events []*esproto.UserEvent, environmentNamespace string) error
}

func NewMysqlMAUStorage

func NewMysqlMAUStorage(qe mysql.QueryExecer) MAUStorage

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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