Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgeGroup ¶
type AgeGroup struct { Identifier primitive.ObjectID `json:"_id,omitempty" bson:"_id,omitempty"` Meeting string `json:"meeting,omitempty" bson:"meeting,omitempty"` Event int `json:"event,omitempty" bson:"event,omitempty"` // 15 Default bool `json:"default,omitempty" bson:"default,omitempty"` // false Gender string `json:"gender,omitempty" bson:"gender,omitempty"` // MALE, FEMALE, MIXED MinAge string `json:"min_age,omitempty" bson:"min_age,omitempty"` // 2004 MaxAge string `json:"max_age,omitempty" bson:"max_age,omitempty"` // 2002 Ages []int `json:"ages,omitempty" bson:"ages,omitempty"` // 2002, 2003, 2004 IsYear bool `json:"is_year,omitempty" bson:"is_year,omitempty"` // true Name string `json:"name,omitempty" bson:"name,omitempty"` // Jahrgänge 2002 - 2004 AddedAt time.Time `json:"added_at,omitempty" bson:"added_at,omitempty"` UpdatedAt time.Time `json:"updated_at,omitempty" bson:"updated_at,omitempty"` }
type Event ¶
type Event struct { Identifier primitive.ObjectID `json:"_id,omitempty" bson:"_id,omitempty"` // automatically Number int `json:"number,omitempty" bson:"number,omitempty"` // PDF + DSV Distance int `json:"distance,omitempty" bson:"distance,omitempty"` // PDF + DSV RelayDistance string `json:"relay_distance,omitempty" bson:"relay_distance,omitempty"` // PDF + DSV Meeting string `json:"meeting,omitempty" bson:"meeting,omitempty"` // import service Gender string `json:"gender,omitempty" bson:"gender,omitempty"` // PDF + DSV StyleId primitive.ObjectID `json:"-" bson:"style_id,omitempty"` // automatically Style Style `json:"style,omitempty" bson:"-"` // PDF + DSV Final EventFinal `json:"final,omitempty" bson:"final,omitempty"` // manually Part MeetingPart `json:"part,omitempty" bson:"part,omitempty"` // PDF + DSV NameExtension string `json:"name_extension,omitempty" bson:"name_extension,omitempty"` // manually ! used for example for master "Masters" Finished bool `json:"finished,omitempty" bson:"finished,omitempty"` // PDF + DSV + Livetiming Certified bool `json:"certified,omitempty" bson:"certified,omitempty"` // PDF + DSV ! used for result file links NoStartList bool `json:"no_start_list,omitempty" bson:"no_start_list,omitempty"` // manually ! used for start list file links Ordering int `json:"ordering,omitempty" bson:"ordering,omitempty"` // automatically / manually AddedAt time.Time `json:"added_at,omitempty" bson:"added_at,omitempty"` // automatically UpdatedAt time.Time `json:"updated_at,omitempty" bson:"updated_at,omitempty"` // automatically }
type EventFinal ¶
type Incident ¶ added in v0.6.0
type Incident struct { Identifier primitive.ObjectID `json:"_id,omitempty" bson:"_id,omitempty"` Meeting string `json:"meeting,omitempty" bson:"meeting,omitempty"` Type string `json:"type,omitempty" bson:"type,omitempty"` // EVENT, DURATION Name string `json:"name,omitempty" bson:"name,omitempty"` // Einschwimmen, Kampfrichtersitzung, Mannschaftsleistersitzung NameExtension string `json:"name_extension,omitempty" bson:"name_extension,omitempty"` // custom names or description Start time.Time `json:"start,omitempty" bson:"start,omitempty"` End time.Time `json:"end,omitempty" bson:"end,omitempty"` PrevEvent int `json:"prev_event,omitempty" bson:"prev_event,omitempty"` NextEvent int `json:"next_event,omitempty" bson:"next_event,omitempty"` AddedAt time.Time `json:"added_at,omitempty" bson:"added_at,omitempty"` UpdatedAt time.Time `json:"updated_at,omitempty" bson:"updated_at,omitempty"` }
type Location ¶
type Location struct { Identifier primitive.ObjectID `json:"_id,omitempty" bson:"_id,omitempty"` Street string `json:"street,omitempty" bson:"street,omitempty"` Number string `json:"number,omitempty" bson:"number,omitempty"` City string `json:"city,omitempty" bson:"city,omitempty"` PostalCode string `json:"postal_code,omitempty" bson:"postal_code,omitempty"` Name string `json:"name,omitempty" bson:"name,omitempty"` Lanes int `json:"lanes,omitempty" bson:"lanes,omitempty"` FirstLane int `json:"first_lane,omitempty" bson:"first_lane,omitempty"` AddedAt time.Time `json:"added_at,omitempty" bson:"added_at,omitempty"` UpdatedAt time.Time `json:"updated_at,omitempty" bson:"updated_at,omitempty"` }
type Meeting ¶
type Meeting struct { Identifier primitive.ObjectID `json:"_id,omitempty" bson:"_id,omitempty"` DateStart time.Time `json:"date_start,omitempty" bson:"date_start,omitempty"` DateEnd time.Time `json:"date_end,omitempty" bson:"date_end,omitempty"` LocationId primitive.ObjectID `json:"-" bson:"location_id,omitempty"` Location Location `json:"location,omitempty" bson:"-"` Organizer primitive.ObjectID `json:"organizer_id,omitempty" bson:"organizer_id,omitempty"` SeriesId primitive.ObjectID `json:"-" bson:"series_id,omitempty"` Series MeetingSeries `json:"series,omitempty" bson:"-"` Iteration int `json:"iteration,omitempty" bson:"iteration,omitempty"` Subtitles []string `json:"subtitles,omitempty" bson:"subtitles,omitempty"` State string `json:"state,omitempty" bson:"state,omitempty"` // options: HIDDEN; ANNOUNCED; PREPARATION; OPENING; RUNNING; BREAK; PAUSE; FINAL; OVER; ARCHIVED; Unpublished bool `json:"unpublished,omitempty" bson:"unpublished,omitempty"` MeetId string `json:"meet_id,omitempty" bson:"meet_id,omitempty"` Data MeetingData `json:"data,omitempty" bson:"data,omitempty"` Layout MeetingLayout `json:"layout,omitempty" bson:"layout,omitempty"` AddedAt time.Time `json:"added_at,omitempty" bson:"added_at,omitempty"` UpdatedAt time.Time `json:"updated_at,omitempty" bson:"updated_at,omitempty"` }
type MeetingData ¶
type MeetingData struct { LivetimingUrl string `json:"livetiming_url,omitempty" bson:"livetiming_url,omitempty"` WebsiteUrl string `json:"website_url,omitempty" bson:"website_url,omitempty"` StreamUrl string `json:"stream_url,omitempty" bson:"stream_url,omitempty"` StreamEmbedUrl string `json:"stream_embed_url,omitempty" bson:"stream_embed_url,omitempty"` InstagramUrl string `json:"instagram_url,omitempty" bson:"instagram_url,omitempty"` FacebookUrl string `json:"facebook_url,omitempty" bson:"facebook_url,omitempty"` HasLivetiming bool `json:"has_livetiming,omitempty" bson:"has_livetiming,omitempty"` HasFtpStartList bool `json:"has_ftp_start_list,omitempty" bson:"has_ftp_start_list,omitempty"` HasFtpResultList bool `json:"has_ftp_result_list,omitempty" bson:"has_ftp_result_list,omitempty"` FtpStartListMask string `json:"ftp_start_list_mask,omitempty" bson:"ftp_start_list_mask,omitempty"` FtpResultListMask string `json:"ftp_result_list_mask,omitempty" bson:"ftp_result_list_mask,omitempty"` Sponsors []Sponsor `json:"sponsors,omitempty" bson:"sponsors,omitempty"` PushNotificationChannel string `json:"push_notification_channel,omitempty" bson:"push_notification_channel,omitempty"` }
type MeetingLayout ¶
type MeetingLayout struct { LogoUrl string `json:"logo_url,omitempty" bson:"logo_url,omitempty"` LogoSmallUrl string `json:"logo_small_url,omitempty" bson:"logo_small_url,omitempty"` BannerUrl string `json:"banner_url,omitempty" bson:"banner_url,omitempty"` ColorSet ColorSet `json:"color_set,omitempty" bson:"color_set,omitempty"` }
type MeetingPart ¶
type MeetingSeries ¶
type MeetingSeries struct { Identifier primitive.ObjectID `json:"_id,omitempty" bson:"_id,omitempty"` NameFull string `json:"name_full,omitempty" bson:"name_full,omitempty"` NameMedium string `json:"name_medium,omitempty" bson:"name_medium,omitempty"` NameShort string `json:"name_short,omitempty" bson:"name_short,omitempty"` LocationId primitive.ObjectID `json:"-" bson:"location_id,omitempty"` Location Location `json:"location,omitempty" bson:"-"` Organizer primitive.ObjectID `json:"organizer_id,omitempty" bson:"organizer_id,omitempty"` AddedAt time.Time `json:"added_at,omitempty" bson:"added_at,omitempty"` UpdatedAt time.Time `json:"updated_at,omitempty" bson:"updated_at,omitempty"` }
type StorageFile ¶
type StorageFile struct { Identifier primitive.ObjectID `json:"_id,omitempty" bson:"_id,omitempty"` Meeting string `json:"meeting,omitempty" bson:"meeting,omitempty"` Path string `json:"path,omitempty" bson:"path,omitempty"` Url string `json:"url,omitempty" bson:"url,omitempty"` Name string `json:"name,omitempty" bson:"name,omitempty"` Extension string `json:"extension,omitempty" bson:"extension,omitempty"` InFileList bool `json:"in_file_list,omitempty" bson:"in_file_list,omitempty"` Hidden bool `json:"hidden,omitempty" bson:"hidden,omitempty"` Existing bool `json:"existing,omitempty" bson:"existing,omitempty"` Downloads int `json:"downloads,omitempty" bson:"downloads,omitempty"` Ordering int `json:"ordering,omitempty" bson:"ordering,omitempty"` AddedAt time.Time `json:"added_at,omitempty" bson:"added_at,omitempty"` UpdatedAt time.Time `json:"updated_at,omitempty" bson:"updated_at,omitempty"` }
type Style ¶
type Style struct { Identifier primitive.ObjectID `json:"_id,omitempty" bson:"_id,omitempty"` Name string `json:"name,omitempty" bson:"name,omitempty"` // like: BACKSTROKE, BUTTERFLY; Aliases []string `json:"aliases,omitempty" bson:"aliases,omitempty"` // different languages Relay bool `json:"relay,omitempty" bson:"relay,omitempty"` }
Click to show internal directories.
Click to hide internal directories.