Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupDatabase ¶
Setup the database by connecting to it and building the schema if it does not already exist
Types ¶
type Message ¶
type Message struct { gorm.Model Subject string Message string Algorithm uint ToID uint FromID uint }
Stores a message in a PostgreSQL table
Click to show internal directories.
Click to hide internal directories.