Message represents a simple message implementation.
| 55 | |
| 56 | // Message represents a simple message implementation. |
| 57 | type Message struct { |
| 58 | Event string |
| 59 | Time time.Time |
| 60 | Data string |
| 61 | } |
| 62 | |
| 63 | // NewMessage returns a new message instance. |
| 64 | func NewMessage(data string) *Message { |
nothing calls this directly
no outgoing calls
no test coverage detected