MCPcopy Create free account
hub / github.com/ebosas/microservices / Message

Struct Message

internal/models/message.go:4–8  ·  view source on GitHub ↗

Message is used to marshal/unmarshal Rabbit messages.

Source from the content-addressed store, hash-verified

2
3// Message is used to marshal/unmarshal Rabbit messages.
4type Message struct {
5 Text string `json:"text"`
6 Source string `json:"source"`
7 Time int64 `json:"time"`
8}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected