Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileInfo ¶ added in v0.2.0
type FileInfo struct { ID primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"` Path string `bson:"path,omitempty" json:"path,omitempty"` UploadedAt int64 `bson:"uploadedAt,omitempty" json:"uploadedAt,omitempty"` FileType string `bson:"fileType,omitempty" json:"fileType,omitempty"` Name string `bson:"name,omitempty" json:"name,omitempty"` Size int32 `bson:"size,omitempty" json:"size,omitempty"` }
type LPPParticipant ¶ added in v0.4.0
type LPPParticipant struct { ID primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"` PID string `bson:"pid,omitempty" json:"pid,omitempty"` InvitationSentAt time.Time `bson:"invitationSentAt" json:"invitationSentAt"` RemindAfter time.Time `bson:"remindAfter" json:"remindAfter"` ReminderSentAt time.Time `bson:"reminderSentAt" json:"reminderSentAt"` Submissions map[string]time.Time `bson:"submissions" json:"submissions"` ContactInfos *LPPParticipantContactInfos `bson:"contactInfos" json:"contactInfos,omitempty"` Cohort string `bson:"cohort" json:"cohort"` StudyData map[string]string `bson:"studyData" json:"studyData"` TempParticipantInfo *TempParticipantInfo `bson:"tempParticipantInfo" json:"tempParticipantInfo"` }
type LPPParticipantContactInfos ¶ added in v0.4.0
type Link ¶ added in v0.2.0
type Link struct { Title string `bson:"title,omitempty" json:"title,omitempty"` Description string `bson:"description,omitempty" json:"description,omitempty"` Image Image `bson:"image,omitempty" json:"image,omitempty"` ImagePosition string `bson:"imagePosition,omitempty" json:"imagePosition,omitempty"` //e.g. top left background LinkText string `bson:"linkText,omitempty" json:"linkText,omitempty"` URL string `bson:"url,omitempty" json:"url,omitempty"` }
type NewsItem ¶ added in v0.2.0
type NewsItem struct { ID primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"` Path string `bson:"path,omitempty" json:"path,omitempty"` Time int64 `bson:"time,omitempty" json:"time,omitempty"` Status string `bson:"status,omitempty" json:"status,omitempty"` Content []NewsItemContent `bson:"content,omitempty" json:"content,omitempty"` }
type NewsItemContent ¶ added in v0.2.0
type NewsItemContent struct { Language string `bson:"language,omitempty" json:"language,omitempty"` Title string `bson:"title,omitempty" json:"title,omitempty"` Image Image `bson:"image,omitempty" json:"image,omitempty"` MarkdownURL string `bson:"markdown,omitempty" json:"markdown,omitempty"` Links []Link `bson:"links,omitempty" json:"links,omitempty"` Overview OverviewInfo `bson:"overview,omitempty" json:"overview,omitempty"` }
type OverviewInfo ¶ added in v0.2.0
type ReportMapData ¶
type ReportMapData struct { Slider TimeSlider `json:"slider"` Series [][]TickBiteMapData `json:"series"` }
type TempParticipantInfo ¶ added in v0.4.0
type TickBiteMapData ¶
type TimeSlider ¶
Click to show internal directories.
Click to hide internal directories.