Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupDefault ¶
func SetupHypertable ¶
Types ¶
type PostgresDB ¶
type Samples ¶
type Samples struct { Timestamp time.Time EventID string `gorm:"primarykey"` ChannelID string ChannelName string CreatedAt time.Time EndedAt time.Time LockedAt time.Time CreatedBy string EndedBy string LockedBy string BlueID string BlueTitle string BlueTotalPoints int BlueTotalUsers int BlueWon bool PinkID string PinkTitle string PinkTotalPoints int PinkTotalUsers int PinkWon bool Predictors []Predictor `gorm:"foreignKey:EventID"` PredictionWindowSeconds int Status string // ACTIVE or LOCKED or RESOLVE_PENDING or RESOLVED Title string }
Click to show internal directories.
Click to hide internal directories.