MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / generateEventIDForAgent

Function generateEventIDForAgent

internal/agent/webhooks_api.go:217–219  ·  view source on GitHub ↗

generateEventIDForAgent wraps webhookpub's id helper so this file doesn't need to import internal/webhookpub just for the constructor.

()

Source from the content-addressed store, hash-verified

215// generateEventIDForAgent wraps webhookpub's id helper so this file
216// doesn't need to import internal/webhookpub just for the constructor.
217func generateEventIDForAgent() string {
218 return webhookpub.NewEvent("", "", nil).ID
219}
220
221// --- helpers ---

Callers 6

buildSentEventMethod · 0.85
buildApprovedEventMethod · 0.85
buildRejectedEventMethod · 0.85

Calls 1

NewEventFunction · 0.92

Tested by

no test coverage detected