MCPcopy Create free account
hub / github.com/apache/answer / AddExtra

Method AddExtra

internal/schema/event_schema.go:89–92  ·  view source on GitHub ↗

AddExtra add extra info

(key, value string)

Source from the content-addressed store, hash-verified

87
88// AddExtra add extra info
89func (e *EventMsg) AddExtra(key, value string) *EventMsg {
90 e.ExtraInfo[key] = value
91 return e
92}
93
94// GetExtra get extra info
95func (e *EventMsg) GetExtra(key string) string {

Callers 1

sendEventMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected