MCPcopy Create free account
hub / github.com/gotify/server / Message

Struct Message

model/message.go:8–16  ·  view source on GitHub ↗

Message holds information about a message.

Source from the content-addressed store, hash-verified

6
7// Message holds information about a message.
8type Message struct {
9 ID uint `gorm:"autoIncrement;primaryKey;index"`
10 ApplicationID uint
11 Message string `gorm:"type:text"`
12 Title string `gorm:"type:text"`
13 Priority int
14 Extras []byte
15 Date time.Time
16}
17
18// MessageExternal Model
19//

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected