cwtch/model/message.go

15 lines
238 B
Go
Raw Normal View History

2018-03-09 20:44:13 +00:00
package model
import (
"time"
)
2018-03-15 16:33:26 +00:00
// Message is a local representation of a given message sent over a group chat channel.
2018-03-09 20:44:13 +00:00
type Message struct {
Timestamp time.Time
PeerID string
Message string
Signature []byte
Verified bool
}