Documentation ¶
Index ¶
- func AddAgeGroup(ageGroup model.AgeGroup) (model.AgeGroup, error)
- func AddEvent(event model.Event) (model.Event, error)
- func AddFile(file model.StorageFile) (model.StorageFile, error)
- func AddLocation(location model.Location) (model.Location, error)
- func AddMeeting(meeting model.Meeting) (model.Meeting, error)
- func AddMeetingSeries(meeting model.MeetingSeries) (model.MeetingSeries, error)
- func AddStyle(style model.Style) (model.Style, error)
- func GetAgeGroupById(id primitive.ObjectID) (model.AgeGroup, error)
- func GetAgeGroupByMeetingAndEventAndAgesAndGender(meeting string, event int, minAge string, maxAge string, gender string) (model.AgeGroup, error)
- func GetAgeGroups() ([]model.AgeGroup, error)
- func GetAgeGroupsByMeeting(meeting string) ([]model.AgeGroup, error)
- func GetAgeGroupsByMeetingAndEvent(meeting string, event int) ([]model.AgeGroup, error)
- func GetEventById(id primitive.ObjectID) (model.Event, error)
- func GetEventByMeetingAndNumber(id string, number int) (model.Event, error)
- func GetEventByMeetingAndNumberForLivetiming(id string, number int) (dto.EventLivetimingDto, error)
- func GetEvents() ([]model.Event, error)
- func GetEventsAsPartsByMeetId(id string) ([]model.MeetingPart, error)
- func GetEventsByMeetId(id string) ([]model.Event, error)
- func GetFileById(id primitive.ObjectID) (model.StorageFile, error)
- func GetFileByNameAndMeeting(name string, meeting string) (model.StorageFile, error)
- func GetFileListByMeeting(meeting string) ([]model.StorageFile, error)
- func GetFiles() ([]model.StorageFile, error)
- func GetLocationById(id primitive.ObjectID) (model.Location, error)
- func GetLocations() ([]model.Location, error)
- func GetMeetingById(id primitive.ObjectID) (model.Meeting, error)
- func GetMeetingByMeetId(id string) (model.Meeting, error)
- func GetMeetingSeries() ([]model.MeetingSeries, error)
- func GetMeetingSeriesById(id primitive.ObjectID) (model.MeetingSeries, error)
- func GetMeetings() ([]model.Meeting, error)
- func GetMeetingsWithDateBetween(dateStart time.Time, dateEnd time.Time) ([]model.Meeting, error)
- func GetStyleById(id primitive.ObjectID) (model.Style, error)
- func GetStyleByName(name string) (model.Style, error)
- func GetStyles() ([]model.Style, error)
- func ImportAgeGroup(group model.AgeGroup) (*model.AgeGroup, bool, error)
- func ImportEvent(event model.Event, styleName string, PartNumber int) (*model.Event, bool, error)
- func IncrementDownloads(path string) (bool, error)
- func Init(c *mongo.Client)
- func PingDatabase() bool
- func RemoveAgeGroupById(id primitive.ObjectID) error
- func RemoveEventById(id primitive.ObjectID) error
- func RemoveFileById(id primitive.ObjectID) error
- func RemoveMeetingById(id primitive.ObjectID) error
- func RemoveMeetingSeriesById(id primitive.ObjectID) error
- func RemoveStyleById(id primitive.ObjectID) error
- func SetAgesForAgeGroup(group *model.AgeGroup)
- func ToggleEventCertification(meeting string, eventNumber int) (model.Event, error)
- func UpdateAgeGroup(ageGroup model.AgeGroup) (model.AgeGroup, error)
- func UpdateEvent(event model.Event) (model.Event, error)
- func UpdateEventCertification(meeting string, eventNumber int, certified bool) (model.Event, error)
- func UpdateFile(file model.StorageFile) (model.StorageFile, error)
- func UpdateMeeting(meeting model.Meeting) (model.Meeting, error)
- func UpdateMeetingSeries(meeting model.MeetingSeries) (model.MeetingSeries, error)
- func UpdateStyle(style model.Style) (model.Style, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFile ¶
func AddFile(file model.StorageFile) (model.StorageFile, error)
func AddMeetingSeries ¶
func AddMeetingSeries(meeting model.MeetingSeries) (model.MeetingSeries, error)
func GetAgeGroupByMeetingAndEventAndAgesAndGender ¶ added in v0.4.0
func GetAgeGroups ¶
func GetEventByMeetingAndNumberForLivetiming ¶
func GetEventByMeetingAndNumberForLivetiming(id string, number int) (dto.EventLivetimingDto, error)
func GetEventsAsPartsByMeetId ¶
func GetEventsAsPartsByMeetId(id string) ([]model.MeetingPart, error)
func GetFileById ¶
func GetFileById(id primitive.ObjectID) (model.StorageFile, error)
func GetFileByNameAndMeeting ¶
func GetFileByNameAndMeeting(name string, meeting string) (model.StorageFile, error)
func GetFileListByMeeting ¶
func GetFileListByMeeting(meeting string) ([]model.StorageFile, error)
func GetFiles ¶
func GetFiles() ([]model.StorageFile, error)
func GetLocations ¶
func GetMeetingSeries ¶
func GetMeetingSeries() ([]model.MeetingSeries, error)
func GetMeetingSeriesById ¶
func GetMeetingSeriesById(id primitive.ObjectID) (model.MeetingSeries, error)
func GetMeetings ¶
func ImportEvent ¶
func IncrementDownloads ¶
func PingDatabase ¶
func PingDatabase() bool
func RemoveAgeGroupById ¶
func RemoveEventById ¶
func RemoveFileById ¶
func RemoveMeetingById ¶
func RemoveMeetingSeriesById ¶
func RemoveStyleById ¶
func SetAgesForAgeGroup ¶
func UpdateFile ¶
func UpdateFile(file model.StorageFile) (model.StorageFile, error)
func UpdateMeetingSeries ¶
func UpdateMeetingSeries(meeting model.MeetingSeries) (model.MeetingSeries, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.