MCPcopy
hub / github.com/mudler/LocalAGI / Message

Struct Message

core/sse/sse.go:57–61  ·  view source on GitHub ↗

Message represents a simple message implementation.

Source from the content-addressed store, hash-verified

55
56// Message represents a simple message implementation.
57type Message struct {
58 Event string
59 Time time.Time
60 Data string
61}
62
63// NewMessage returns a new message instance.
64func NewMessage(data string) *Message {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected