Documentation
¶
Index ¶
- Constants
- func Capture(event Event)
- func CloseCurrent() error
- func Enabled() bool
- func IdentifyOrganizationGroup(identity OrganizationGroupIdentity)
- func StableEventID(name EventName, parts ...string) uuid.UUID
- func SyntheticDistinctID(organizationID string, actorType ActorType, identity string) string
- func WithSource(ctx context.Context, source Source) context.Context
- type ActorType
- type Client
- type Event
- type EventName
- type OrganizationGroupIdentity
- type Properties
- type Source
Constants ¶
View Source
const (
OrganizationGroup = "organization"
)
Variables ¶
This section is empty.
Functions ¶
func CloseCurrent ¶
func CloseCurrent() error
func IdentifyOrganizationGroup ¶
func IdentifyOrganizationGroup(identity OrganizationGroupIdentity)
func SyntheticDistinctID ¶
Types ¶
type Client ¶
type Client interface {
Capture(Event)
IdentifyOrganizationGroup(OrganizationGroupIdentity)
Close() error
Enabled() bool
}
func SetCurrent ¶
type EventName ¶
type EventName string
const ( EventOrganizationCreated EventName = "organization_created" EventFactoryOnboardingCompleted EventName = "factory_onboarding_completed" EventFactoryTaskCreated EventName = "factory_task_created" EventFactoryTaskRefined EventName = "factory_task_refined" EventFactoryTaskStarted EventName = "factory_task_started" EventFactoryTaskApproved EventName = "factory_task_approved" EventFactoryTaskRejected EventName = "factory_task_rejected" EventFactoryTaskArchived EventName = "factory_task_archived" EventFactoryTaskMerged EventName = "factory_task_merged" )
type Properties ¶
Click to show internal directories.
Click to hide internal directories.