Versions in this module Expand all Collapse all v0 v0.0.1 Jul 18, 2026 Changes in this version + const Version + var ErrEventTypeNotFound = errors.New("event type not found") + var ErrUnauthorized = errors.New("unauthorized") + type Actor struct + Id string + Metadata *map[string]interface{} + Name *string + Type string + type Client struct + func NewClient(cfg Config) (*Client, error) + func (c *Client) CreateEvent(ctx context.Context, event Event) error + type Config struct + APIToken string + BaseAPI string + HttpClient *http.Client + Timeout time.Duration + type Context struct + Location string + UserAgent *string + type Event struct + Action string + Actor Actor + Context Context + Metadata *map[string]interface{} + OccurredAt time.Time + SourceID string + Targets []Target + Version int + type Target struct + ID string + Metadata *map[string]interface{} + Name *string + Type string