Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnexpectedMessageType = errors.New("eventpersister: unexpected message type") ErrAutoOpsRulesNotFound = errors.New("eventpersister: auto ops rules not found") ErrExperimentNotFound = errors.New("eventpersister: experiment not found") ErrNoAutoOpsRules = errors.New("eventpersister: no auto ops rules") ErrNoExperiments = errors.New("eventpersister: no experiments") ErrNothingToLink = errors.New("eventpersister: nothing to link") ErrInvalidGoalEventTimestamp = errors.New("eventpersister: invalid goal event timestamp") )
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*options)
func WithFlushInterval ¶
func WithFlushSize ¶
func WithFlushTimeout ¶
func WithLogger ¶
func WithMaxMPS ¶
func WithMetrics ¶
func WithMetrics(r metrics.Registerer) Option
func WithNumWorkers ¶
type Persister ¶
type Persister struct {
// contains filtered or unexported fields
}
func NewPersister ¶
Click to show internal directories.
Click to hide internal directories.