Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendXrayUsageEvents ¶
func SendXrayUsageEvents(serviceManager xray.XrayServicesManager, events ...ReportXrayEventData) error
Types ¶
type ReportUsageAttribute ¶
type ReportXrayEventData ¶
type ReportXrayEventData struct { Attributes map[string]string `json:"data,omitempty"` ProductId string `json:"product_name"` EventId string `json:"event_name"` Origin string `json:"origin,omitempty"` }
func CreateUsageEvent ¶
func CreateUsageEvent(productId, featureId string, additionalAttributes ...ReportUsageAttribute) (event ReportXrayEventData)
Click to show internal directories.
Click to hide internal directories.