temporalanalytics

package
v0.19.771 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2026 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(v *validator.Validate, opts ...optFn) (*writer, error)

func WithDisable

func WithDisable(disabled bool) optFn

func WithLogger

func WithLogger(l *zap.Logger) optFn

func WithProperties

func WithProperties(props map[string]interface{}) optFn

func WithSegmentKey

func WithSegmentKey(key string) optFn

func WithUserIDFn

func WithUserIDFn(fn UserIDFn) optFn

Types

type UserIDFn

type UserIDFn func(workflow.Context) (string, error)

type Writer

type Writer interface {
	Track(workflow.Context, events.Event, map[string]interface{})
}

Jump to

Keyboard shortcuts

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