types

package
v0.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChildInfos added in v0.7.0

type ChildInfos struct {
	Birthyear  int    `bson:"birthyear" json:"birthyear"`
	Birthmonth int    `bson:"birthmonth" json:"birthmonth"`
	Gender     string `bson:"gender" json:"gender"`
}

type DBConfig

type DBConfig struct {
	URI             string
	DBNamePrefix    string
	Timeout         int
	MaxPoolSize     uint64
	IdleConnTimeout int
}

type IgasonderzoekControlCode added in v0.7.0

type IgasonderzoekControlCode struct {
	ID        primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"`
	Code      string             `bson:"code,omitempty" json:"code,omitempty"`
	CreatedAt int64              `bson:"createdAt" json:"createdAt"`
}

type IgasonderzoekControlRegistration added in v0.7.0

type IgasonderzoekControlRegistration struct {
	ID              primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"`
	SubmittedAt     int64              `bson:"submittedAt" json:"submittedAt"`
	Email           string             `bson:"email" json:"email"`
	ControlResponse string             `bson:"controlResponse" json:"controlResponse"`
	InvitedAt       int64              `bson:"invitedAt" json:"invitedAt"`
	ControleCode    string             `bson:"controlCode" json:"controlCode"`
	Children        []ChildInfos       `bson:"children" json:"children"`
}

type NewCodeList

type NewCodeList struct {
	Codes []string `json:"codes"`
}

type SamplerConfig added in v0.2.0

type SamplerConfig struct {
	SampleFilePath      string
	TargetSamples       int // maximum sample count target
	OpenSlotsAtStart    int // number of slots open at start of the sample interval
	MaxNrOfParticipants int64
}

type ValidationCode

type ValidationCode struct {
	ID         primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"`
	Code       string             `bson:"code,omitempty" json:"code,omitempty"`
	UploadedAt int64              `bson:"uploadedAt" json:"uploadedAt"`
	UsedAt     int64              `bson:"usedAt" json:"usedAt"`
	UsedBy     string             `bson:"usedBy" json:"usedBy"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL