Documentation ¶
Overview ¶
Package mock_dao is a generated GoMock package.
Package mock_dao is a generated GoMock package.
Package mock_dao is a generated GoMock package.
Package mock_dao is a generated GoMock package.
Package mock_dao is a generated GoMock package.
Package mock_dao is a generated GoMock package.
Package mock_dao is a generated GoMock package.
Package mock_dao is a generated GoMock package.
Package mock_dao is a generated GoMock package.
Package mock_dao is a generated GoMock package.
Package mock_dao is a generated GoMock package.
Package mock_dao is a generated GoMock package.
Package mock_dao is a generated GoMock package.
Package mock_dao is a generated GoMock package.
Package mock_dao is a generated GoMock package.
Package mock_dao is a generated GoMock package.
Package mock_dao is a generated GoMock package.
Package mock_dao is a generated GoMock package.
Package mock_dao is a generated GoMock package.
Package mock_dao is a generated GoMock package.
Package mock_dao is a generated GoMock package.
Package mock_dao is a generated GoMock package.
Package mock_dao is a generated GoMock package.
Package mock_dao is a generated GoMock package.
Index ¶
- type MockAuditDao
- type MockAuditDaoMockRecorder
- type MockBookmarkDao
- func (m *MockBookmarkDao) Add(arg0 *model.Bookmark) error
- func (m *MockBookmarkDao) Delete(arg0 uint) error
- func (m *MockBookmarkDao) EXPECT() *MockBookmarkDaoMockRecorder
- func (m *MockBookmarkDao) GetByID(arg0 uint) (model.Bookmark, error)
- func (m *MockBookmarkDao) GetByStreamID(arg0, arg1 uint) ([]model.Bookmark, error)
- func (m *MockBookmarkDao) Update(arg0 *model.Bookmark) error
- type MockBookmarkDaoMockRecorder
- func (mr *MockBookmarkDaoMockRecorder) Add(arg0 interface{}) *gomock.Call
- func (mr *MockBookmarkDaoMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockBookmarkDaoMockRecorder) GetByID(arg0 interface{}) *gomock.Call
- func (mr *MockBookmarkDaoMockRecorder) GetByStreamID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBookmarkDaoMockRecorder) Update(arg0 interface{}) *gomock.Call
- type MockCameraPresetDao
- type MockCameraPresetDaoMockRecorder
- type MockChatDao
- func (m *MockChatDao) AddChatPoll(poll *model.Poll) error
- func (m *MockChatDao) AddChatPollOptionVote(pollOptionId, userId uint) error
- func (m *MockChatDao) AddMessage(chat *model.Chat) error
- func (m *MockChatDao) ApproveChat(id uint) error
- func (m *MockChatDao) CloseActivePoll(streamID uint) error
- func (m *MockChatDao) DeleteChat(id uint) error
- func (m *MockChatDao) EXPECT() *MockChatDaoMockRecorder
- func (m *MockChatDao) GetActivePoll(streamID uint) (model.Poll, error)
- func (m *MockChatDao) GetAllChats(userID, streamID uint) ([]model.Chat, error)
- func (m *MockChatDao) GetChat(id, userID uint) (*model.Chat, error)
- func (m *MockChatDao) GetChatUsers(streamid uint) ([]model.User, error)
- func (m *MockChatDao) GetChatsByUser(userID uint) ([]model.Chat, error)
- func (m *MockChatDao) GetPollOptionVoteCount(pollOptionId uint) (int64, error)
- func (m *MockChatDao) GetPollUserVote(pollId, userId uint) (uint, error)
- func (m *MockChatDao) GetPolls(streamID uint) ([]model.Poll, error)
- func (m *MockChatDao) GetReactions(chatID uint) ([]model.ChatReaction, error)
- func (m *MockChatDao) GetVisibleChats(userID, streamID uint) ([]model.Chat, error)
- func (m *MockChatDao) RemoveReactions(chatID uint) error
- func (m *MockChatDao) ResolveChat(id uint) error
- func (m *MockChatDao) RetractChat(id uint) error
- func (m *MockChatDao) ToggleReaction(userID, chatID uint, username, emoji string) error
- type MockChatDaoMockRecorder
- func (mr *MockChatDaoMockRecorder) AddChatPoll(poll interface{}) *gomock.Call
- func (mr *MockChatDaoMockRecorder) AddChatPollOptionVote(pollOptionId, userId interface{}) *gomock.Call
- func (mr *MockChatDaoMockRecorder) AddMessage(chat interface{}) *gomock.Call
- func (mr *MockChatDaoMockRecorder) ApproveChat(id interface{}) *gomock.Call
- func (mr *MockChatDaoMockRecorder) CloseActivePoll(streamID interface{}) *gomock.Call
- func (mr *MockChatDaoMockRecorder) DeleteChat(id interface{}) *gomock.Call
- func (mr *MockChatDaoMockRecorder) GetActivePoll(streamID interface{}) *gomock.Call
- func (mr *MockChatDaoMockRecorder) GetAllChats(userID, streamID interface{}) *gomock.Call
- func (mr *MockChatDaoMockRecorder) GetChat(id, userID interface{}) *gomock.Call
- func (mr *MockChatDaoMockRecorder) GetChatUsers(streamid interface{}) *gomock.Call
- func (mr *MockChatDaoMockRecorder) GetChatsByUser(userID interface{}) *gomock.Call
- func (mr *MockChatDaoMockRecorder) GetPollOptionVoteCount(pollOptionId interface{}) *gomock.Call
- func (mr *MockChatDaoMockRecorder) GetPollUserVote(pollId, userId interface{}) *gomock.Call
- func (mr *MockChatDaoMockRecorder) GetPolls(streamID interface{}) *gomock.Call
- func (mr *MockChatDaoMockRecorder) GetReactions(chatID interface{}) *gomock.Call
- func (mr *MockChatDaoMockRecorder) GetVisibleChats(userID, streamID interface{}) *gomock.Call
- func (mr *MockChatDaoMockRecorder) RemoveReactions(chatID interface{}) *gomock.Call
- func (mr *MockChatDaoMockRecorder) ResolveChat(id interface{}) *gomock.Call
- func (mr *MockChatDaoMockRecorder) RetractChat(id interface{}) *gomock.Call
- func (mr *MockChatDaoMockRecorder) ToggleReaction(userID, chatID, username, emoji interface{}) *gomock.Call
- type MockCoursesDao
- func (m *MockCoursesDao) AddAdminToCourse(userID, courseID uint) error
- func (m *MockCoursesDao) CreateCourse(ctx context.Context, course *model.Course, keep bool) error
- func (m *MockCoursesDao) DeleteCourse(course model.Course)
- func (m *MockCoursesDao) EXPECT() *MockCoursesDaoMockRecorder
- func (m *MockCoursesDao) ExecAllCourses(f func([]dao.Course))
- func (m *MockCoursesDao) GetAdministeredCoursesByUserId(ctx context.Context, userid uint, teachingTerm string, year int) ([]model.Course, error)
- func (m *MockCoursesDao) GetAllCourses() ([]model.Course, error)
- func (m *MockCoursesDao) GetAllCoursesForSemester(year int, term string, ctx context.Context) []model.Course
- func (m *MockCoursesDao) GetAllCoursesWithTUMIDFromSemester(ctx context.Context, year int, term string) ([]model.Course, error)
- func (m *MockCoursesDao) GetAvailableSemesters(c context.Context) []model.Semester
- func (m *MockCoursesDao) GetCourseAdmins(courseID uint) ([]model.User, error)
- func (m *MockCoursesDao) GetCourseById(ctx context.Context, id uint) (model.Course, error)
- func (m *MockCoursesDao) GetCourseByShortLink(link string) (model.Course, error)
- func (m *MockCoursesDao) GetCourseBySlugYearAndTerm(ctx context.Context, slug, term string, year int) (model.Course, error)
- func (m *MockCoursesDao) GetCourseByToken(token string) (model.Course, error)
- func (m *MockCoursesDao) GetCourseForLecturerIdByYearAndTerm(c context.Context, year int, term string, userId uint) ([]model.Course, error)
- func (m *MockCoursesDao) GetCurrentOrNextLectureForCourse(ctx context.Context, courseID uint) (model.Stream, error)
- func (m *MockCoursesDao) GetInvitedUsersForCourse(course *model.Course) error
- func (m *MockCoursesDao) GetPublicAndLoggedInCourses(year int, term string) ([]model.Course, error)
- func (m *MockCoursesDao) GetPublicCourses(year int, term string) ([]model.Course, error)
- func (m *MockCoursesDao) RemoveAdminFromCourse(userID, courseID uint) error
- func (m *MockCoursesDao) UnDeleteCourse(ctx context.Context, course model.Course) error
- func (m *MockCoursesDao) UpdateCourse(ctx context.Context, course model.Course) error
- func (m *MockCoursesDao) UpdateCourseMetadata(ctx context.Context, course model.Course)
- type MockCoursesDaoMockRecorder
- func (mr *MockCoursesDaoMockRecorder) AddAdminToCourse(userID, courseID interface{}) *gomock.Call
- func (mr *MockCoursesDaoMockRecorder) CreateCourse(ctx, course, keep interface{}) *gomock.Call
- func (mr *MockCoursesDaoMockRecorder) DeleteCourse(course interface{}) *gomock.Call
- func (mr *MockCoursesDaoMockRecorder) ExecAllCourses(f interface{}) *gomock.Call
- func (mr *MockCoursesDaoMockRecorder) GetAdministeredCoursesByUserId(ctx, userid, teachingTerm, year interface{}) *gomock.Call
- func (mr *MockCoursesDaoMockRecorder) GetAllCourses() *gomock.Call
- func (mr *MockCoursesDaoMockRecorder) GetAllCoursesForSemester(year, term, ctx interface{}) *gomock.Call
- func (mr *MockCoursesDaoMockRecorder) GetAllCoursesWithTUMIDFromSemester(ctx, year, term interface{}) *gomock.Call
- func (mr *MockCoursesDaoMockRecorder) GetAvailableSemesters(c interface{}) *gomock.Call
- func (mr *MockCoursesDaoMockRecorder) GetCourseAdmins(courseID interface{}) *gomock.Call
- func (mr *MockCoursesDaoMockRecorder) GetCourseById(ctx, id interface{}) *gomock.Call
- func (mr *MockCoursesDaoMockRecorder) GetCourseByShortLink(link interface{}) *gomock.Call
- func (mr *MockCoursesDaoMockRecorder) GetCourseBySlugYearAndTerm(ctx, slug, term, year interface{}) *gomock.Call
- func (mr *MockCoursesDaoMockRecorder) GetCourseByToken(token interface{}) *gomock.Call
- func (mr *MockCoursesDaoMockRecorder) GetCourseForLecturerIdByYearAndTerm(c, year, term, userId interface{}) *gomock.Call
- func (mr *MockCoursesDaoMockRecorder) GetCurrentOrNextLectureForCourse(ctx, courseID interface{}) *gomock.Call
- func (mr *MockCoursesDaoMockRecorder) GetInvitedUsersForCourse(course interface{}) *gomock.Call
- func (mr *MockCoursesDaoMockRecorder) GetPublicAndLoggedInCourses(year, term interface{}) *gomock.Call
- func (mr *MockCoursesDaoMockRecorder) GetPublicCourses(year, term interface{}) *gomock.Call
- func (mr *MockCoursesDaoMockRecorder) RemoveAdminFromCourse(userID, courseID interface{}) *gomock.Call
- func (mr *MockCoursesDaoMockRecorder) UnDeleteCourse(ctx, course interface{}) *gomock.Call
- func (mr *MockCoursesDaoMockRecorder) UpdateCourse(ctx, course interface{}) *gomock.Call
- func (mr *MockCoursesDaoMockRecorder) UpdateCourseMetadata(ctx, course interface{}) *gomock.Call
- type MockEmailDao
- func (m *MockEmailDao) Create(arg0 context.Context, arg1 *model.Email) error
- func (m *MockEmailDao) Delete(arg0 context.Context, arg1 uint) error
- func (m *MockEmailDao) EXPECT() *MockEmailDaoMockRecorder
- func (m *MockEmailDao) Get(arg0 context.Context, arg1 uint) (model.Email, error)
- func (m *MockEmailDao) GetDue(arg0 context.Context, arg1 int) ([]model.Email, error)
- func (m *MockEmailDao) GetFailed(arg0 context.Context) ([]model.Email, error)
- func (m *MockEmailDao) Save(arg0 context.Context, arg1 *model.Email) error
- type MockEmailDaoMockRecorder
- func (mr *MockEmailDaoMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEmailDaoMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEmailDaoMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEmailDaoMockRecorder) GetDue(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEmailDaoMockRecorder) GetFailed(arg0 interface{}) *gomock.Call
- func (mr *MockEmailDaoMockRecorder) Save(arg0, arg1 interface{}) *gomock.Call
- type MockFileDao
- func (m *MockFileDao) CountVoDFiles() (int64, error)
- func (m *MockFileDao) DeleteFile(id uint) error
- func (m *MockFileDao) EXPECT() *MockFileDaoMockRecorder
- func (m *MockFileDao) GetFileById(id string) (model.File, error)
- func (m *MockFileDao) NewFile(f *model.File) error
- func (m *MockFileDao) SetThumbnail(streamId uint, thumb model.File) error
- func (m *MockFileDao) UpdateFile(id string, f *model.File) error
- type MockFileDaoMockRecorder
- func (mr *MockFileDaoMockRecorder) CountVoDFiles() *gomock.Call
- func (mr *MockFileDaoMockRecorder) DeleteFile(id interface{}) *gomock.Call
- func (mr *MockFileDaoMockRecorder) GetFileById(id interface{}) *gomock.Call
- func (mr *MockFileDaoMockRecorder) NewFile(f interface{}) *gomock.Call
- func (mr *MockFileDaoMockRecorder) SetThumbnail(streamId, thumb interface{}) *gomock.Call
- func (mr *MockFileDaoMockRecorder) UpdateFile(id, f interface{}) *gomock.Call
- type MockInfoPageDao
- func (m *MockInfoPageDao) EXPECT() *MockInfoPageDaoMockRecorder
- func (m *MockInfoPageDao) GetAll() ([]model.InfoPage, error)
- func (m *MockInfoPageDao) GetById(arg0 uint) (model.InfoPage, error)
- func (m *MockInfoPageDao) New(arg0 *model.InfoPage) error
- func (m *MockInfoPageDao) Update(arg0 uint, arg1 *model.InfoPage) error
- type MockInfoPageDaoMockRecorder
- type MockIngestServerDao
- func (m *MockIngestServerDao) EXPECT() *MockIngestServerDaoMockRecorder
- func (m *MockIngestServerDao) GetBestIngestServer() (model.IngestServer, error)
- func (m *MockIngestServerDao) GetStreamSlot(ingestServerID uint) (model.StreamName, error)
- func (m *MockIngestServerDao) GetTranscodedStreamSlot(ingestServerID uint) (model.StreamName, error)
- func (m *MockIngestServerDao) RemoveStreamFromSlot(streamID uint) error
- func (m *MockIngestServerDao) SaveIngestServer(server model.IngestServer)
- func (m *MockIngestServerDao) SaveSlot(slot model.StreamName)
- type MockIngestServerDaoMockRecorder
- func (mr *MockIngestServerDaoMockRecorder) GetBestIngestServer() *gomock.Call
- func (mr *MockIngestServerDaoMockRecorder) GetStreamSlot(ingestServerID interface{}) *gomock.Call
- func (mr *MockIngestServerDaoMockRecorder) GetTranscodedStreamSlot(ingestServerID interface{}) *gomock.Call
- func (mr *MockIngestServerDaoMockRecorder) RemoveStreamFromSlot(streamID interface{}) *gomock.Call
- func (mr *MockIngestServerDaoMockRecorder) SaveIngestServer(server interface{}) *gomock.Call
- func (mr *MockIngestServerDaoMockRecorder) SaveSlot(slot interface{}) *gomock.Call
- type MockLectureHallsDao
- func (m *MockLectureHallsDao) CreateLectureHall(lectureHall model.LectureHall)
- func (m *MockLectureHallsDao) DeleteLectureHall(id uint) error
- func (m *MockLectureHallsDao) EXPECT() *MockLectureHallsDaoMockRecorder
- func (m *MockLectureHallsDao) FindPreset(lectureHallID, presetID string) (model.CameraPreset, error)
- func (m *MockLectureHallsDao) GetAllLectureHalls() []model.LectureHall
- func (m *MockLectureHallsDao) GetLectureHallByID(id uint) (model.LectureHall, error)
- func (m *MockLectureHallsDao) GetLectureHallByPartialName(name string) (model.LectureHall, error)
- func (m *MockLectureHallsDao) GetStreamsForLectureHallIcal(userId uint, lectureHalls []uint, all bool) ([]dao.CalendarResult, error)
- func (m *MockLectureHallsDao) SaveLectureHall(lectureHall model.LectureHall) error
- func (m *MockLectureHallsDao) SaveLectureHallFullAssoc(lectureHall model.LectureHall)
- func (m *MockLectureHallsDao) SavePreset(preset model.CameraPreset) error
- func (m *MockLectureHallsDao) UnsetDefaults(lectureHallID string) error
- type MockLectureHallsDaoMockRecorder
- func (mr *MockLectureHallsDaoMockRecorder) CreateLectureHall(lectureHall interface{}) *gomock.Call
- func (mr *MockLectureHallsDaoMockRecorder) DeleteLectureHall(id interface{}) *gomock.Call
- func (mr *MockLectureHallsDaoMockRecorder) FindPreset(lectureHallID, presetID interface{}) *gomock.Call
- func (mr *MockLectureHallsDaoMockRecorder) GetAllLectureHalls() *gomock.Call
- func (mr *MockLectureHallsDaoMockRecorder) GetLectureHallByID(id interface{}) *gomock.Call
- func (mr *MockLectureHallsDaoMockRecorder) GetLectureHallByPartialName(name interface{}) *gomock.Call
- func (mr *MockLectureHallsDaoMockRecorder) GetStreamsForLectureHallIcal(userId, lectureHalls, all interface{}) *gomock.Call
- func (mr *MockLectureHallsDaoMockRecorder) SaveLectureHall(lectureHall interface{}) *gomock.Call
- func (mr *MockLectureHallsDaoMockRecorder) SaveLectureHallFullAssoc(lectureHall interface{}) *gomock.Call
- func (mr *MockLectureHallsDaoMockRecorder) SavePreset(preset interface{}) *gomock.Call
- func (mr *MockLectureHallsDaoMockRecorder) UnsetDefaults(lectureHallID interface{}) *gomock.Call
- type MockNotificationsDao
- func (m *MockNotificationsDao) AddNotification(notification *model.Notification) error
- func (m *MockNotificationsDao) DeleteNotification(id uint) error
- func (m *MockNotificationsDao) EXPECT() *MockNotificationsDaoMockRecorder
- func (m *MockNotificationsDao) GetAllNotifications() ([]model.Notification, error)
- func (m *MockNotificationsDao) GetNotifications(target ...model.NotificationTarget) ([]model.Notification, error)
- type MockNotificationsDaoMockRecorder
- func (mr *MockNotificationsDaoMockRecorder) AddNotification(notification interface{}) *gomock.Call
- func (mr *MockNotificationsDaoMockRecorder) DeleteNotification(id interface{}) *gomock.Call
- func (mr *MockNotificationsDaoMockRecorder) GetAllNotifications() *gomock.Call
- func (mr *MockNotificationsDaoMockRecorder) GetNotifications(target ...interface{}) *gomock.Call
- type MockProgressDao
- func (m *MockProgressDao) EXPECT() *MockProgressDaoMockRecorder
- func (m *MockProgressDao) GetProgressesForUser(userID uint) ([]model.StreamProgress, error)
- func (m *MockProgressDao) LoadProgress(userID uint, streamIDs []uint) ([]model.StreamProgress, error)
- func (m *MockProgressDao) SaveProgresses(progresses []model.StreamProgress) error
- func (m *MockProgressDao) SaveWatchedState(progress *model.StreamProgress) error
- type MockProgressDaoMockRecorder
- func (mr *MockProgressDaoMockRecorder) GetProgressesForUser(userID interface{}) *gomock.Call
- func (mr *MockProgressDaoMockRecorder) LoadProgress(userID, streamIDs interface{}) *gomock.Call
- func (mr *MockProgressDaoMockRecorder) SaveProgresses(progresses interface{}) *gomock.Call
- func (mr *MockProgressDaoMockRecorder) SaveWatchedState(progress interface{}) *gomock.Call
- type MockRunnerDao
- type MockRunnerDaoMockRecorder
- type MockServerNotificationDao
- func (m *MockServerNotificationDao) CreateServerNotification(notification model.ServerNotification) error
- func (m *MockServerNotificationDao) DeleteServerNotification(notificationId string) error
- func (m *MockServerNotificationDao) EXPECT() *MockServerNotificationDaoMockRecorder
- func (m *MockServerNotificationDao) GetAllServerNotifications() ([]model.ServerNotification, error)
- func (m *MockServerNotificationDao) GetCurrentServerNotifications() ([]model.ServerNotification, error)
- func (m *MockServerNotificationDao) UpdateServerNotification(notification model.ServerNotification, id string) error
- type MockServerNotificationDaoMockRecorder
- func (mr *MockServerNotificationDaoMockRecorder) CreateServerNotification(notification interface{}) *gomock.Call
- func (mr *MockServerNotificationDaoMockRecorder) DeleteServerNotification(notificationId interface{}) *gomock.Call
- func (mr *MockServerNotificationDaoMockRecorder) GetAllServerNotifications() *gomock.Call
- func (mr *MockServerNotificationDaoMockRecorder) GetCurrentServerNotifications() *gomock.Call
- func (mr *MockServerNotificationDaoMockRecorder) UpdateServerNotification(notification, id interface{}) *gomock.Call
- type MockStatisticsDao
- func (m *MockStatisticsDao) AddStat(stat model.Stat) error
- func (m *MockStatisticsDao) EXPECT() *MockStatisticsDaoMockRecorder
- func (m *MockStatisticsDao) GetCourseNumLiveViews(courseID uint) (int, error)
- func (m *MockStatisticsDao) GetCourseNumStudents(courseID uint) (int64, error)
- func (m *MockStatisticsDao) GetCourseNumVodViews(courseID uint) (int, error)
- func (m *MockStatisticsDao) GetCourseNumVodViewsPerDay(courseID uint) ([]dao.Stat, error)
- func (m *MockStatisticsDao) GetCourseStatsHourly(courseID uint) ([]dao.Stat, error)
- func (m *MockStatisticsDao) GetCourseStatsWeekdays(courseID uint) ([]dao.Stat, error)
- func (m *MockStatisticsDao) GetLectureNumLiveViews(streamID uint) (int, error)
- func (m *MockStatisticsDao) GetLectureNumVodViews(streamID uint) (int, error)
- func (m *MockStatisticsDao) GetLectureNumVodViewsPerDay(streamID uint) ([]dao.Stat, error)
- func (m *MockStatisticsDao) GetLectureStats(courseID, lectureID uint) ([]dao.Stat, error)
- func (m *MockStatisticsDao) GetLectureStatsHourly(courseID, streamID uint) ([]dao.Stat, error)
- func (m *MockStatisticsDao) GetLectureStatsWeekdays(courseID, streamID uint) ([]dao.Stat, error)
- func (m *MockStatisticsDao) GetStreamNumLiveViews(streamID uint) (int, error)
- func (m *MockStatisticsDao) GetStudentActivityCourseStats(courseID uint, live bool) ([]dao.Stat, error)
- type MockStatisticsDaoMockRecorder
- func (mr *MockStatisticsDaoMockRecorder) AddStat(stat any) *gomock.Call
- func (mr *MockStatisticsDaoMockRecorder) GetCourseNumLiveViews(courseID any) *gomock.Call
- func (mr *MockStatisticsDaoMockRecorder) GetCourseNumStudents(courseID any) *gomock.Call
- func (mr *MockStatisticsDaoMockRecorder) GetCourseNumVodViews(courseID any) *gomock.Call
- func (mr *MockStatisticsDaoMockRecorder) GetCourseNumVodViewsPerDay(courseID any) *gomock.Call
- func (mr *MockStatisticsDaoMockRecorder) GetCourseStatsHourly(courseID any) *gomock.Call
- func (mr *MockStatisticsDaoMockRecorder) GetCourseStatsWeekdays(courseID any) *gomock.Call
- func (mr *MockStatisticsDaoMockRecorder) GetLectureNumLiveViews(streamID any) *gomock.Call
- func (mr *MockStatisticsDaoMockRecorder) GetLectureNumVodViews(streamID any) *gomock.Call
- func (mr *MockStatisticsDaoMockRecorder) GetLectureNumVodViewsPerDay(streamID any) *gomock.Call
- func (mr *MockStatisticsDaoMockRecorder) GetLectureStats(courseID, lectureID any) *gomock.Call
- func (mr *MockStatisticsDaoMockRecorder) GetLectureStatsHourly(courseID, streamID any) *gomock.Call
- func (mr *MockStatisticsDaoMockRecorder) GetLectureStatsWeekdays(courseID, streamID any) *gomock.Call
- func (mr *MockStatisticsDaoMockRecorder) GetStreamNumLiveViews(streamID any) *gomock.Call
- func (mr *MockStatisticsDaoMockRecorder) GetStudentActivityCourseStats(courseID, live any) *gomock.Call
- type MockStreamsDao
- func (m *MockStreamsDao) AddVodView(id string) error
- func (m *MockStreamsDao) ClearWorkersForStream(stream model.Stream) error
- func (m *MockStreamsDao) CreateStream(stream *model.Stream) error
- func (m *MockStreamsDao) DeleteLectureSeries(arg0 string) error
- func (m *MockStreamsDao) DeleteSilences(streamID string) error
- func (m *MockStreamsDao) DeleteStream(streamID string)
- func (m *MockStreamsDao) DeleteStreamsWithTumID(ids []uint)
- func (m *MockStreamsDao) DeleteUnit(id uint)
- func (m *MockStreamsDao) EXPECT() *MockStreamsDaoMockRecorder
- func (m *MockStreamsDao) ExecAllStreamsWithCoursesAndSubtitlesBatched(f func([]dao.StreamWithCourseAndSubtitles))
- func (m *MockStreamsDao) GetAllStreams() ([]model.Stream, error)
- func (m *MockStreamsDao) GetCurrentLive(ctx context.Context) ([]model.Stream, error)
- func (m *MockStreamsDao) GetCurrentLiveNonHidden(ctx context.Context) ([]model.Stream, error)
- func (m *MockStreamsDao) GetDuePremieresForWorkers() []model.Stream
- func (m *MockStreamsDao) GetDueStreamsForWorkers() []model.Stream
- func (m *MockStreamsDao) GetLiveStreamsInLectureHall(lectureHallId uint) ([]model.Stream, error)
- func (m *MockStreamsDao) GetSoonStartingStreamInfo(user *model.User, slug string, year int, term string) (string, string, error)
- func (m *MockStreamsDao) GetStreamByID(ctx context.Context, id string) (model.Stream, error)
- func (m *MockStreamsDao) GetStreamByKey(ctx context.Context, key string) (model.Stream, error)
- func (m *MockStreamsDao) GetStreamByTumOnlineID(ctx context.Context, id uint) (model.Stream, error)
- func (m *MockStreamsDao) GetStreamsByIds(ids []uint) ([]model.Stream, error)
- func (m *MockStreamsDao) GetStreamsWithWatchState(courseID, userID uint) ([]model.Stream, error)
- func (m *MockStreamsDao) GetTranscodingProgressByVersion(streamVersion model.StreamVersion, streamId uint) (model.TranscodingProgress, error)
- func (m *MockStreamsDao) GetUnitByID(id string) (model.StreamUnit, error)
- func (m *MockStreamsDao) GetWorkersForStream(stream model.Stream) ([]model.Worker, error)
- func (m *MockStreamsDao) RemoveTranscodingProgress(streamVersion model.StreamVersion, streamId uint) error
- func (m *MockStreamsDao) SaveCAMURL(stream *model.Stream, url string)
- func (m *MockStreamsDao) SaveCOMBURL(stream *model.Stream, url string)
- func (m *MockStreamsDao) SaveEndedState(streamID uint, hasEnded bool) error
- func (m *MockStreamsDao) SavePRESURL(stream *model.Stream, url string)
- func (m *MockStreamsDao) SaveStream(vod *model.Stream) error
- func (m *MockStreamsDao) SaveTranscodingProgress(progress model.TranscodingProgress) error
- func (m *MockStreamsDao) SaveWorkerForStream(stream model.Stream, worker model.Worker) error
- func (m *MockStreamsDao) SetLectureHall(streamIDs []uint, lectureHallID uint) error
- func (m *MockStreamsDao) SetStreamLiveNowTimestampById(streamID uint, liveNowTimestamp time.Time) error
- func (m *MockStreamsDao) SetStreamNotLiveById(streamID uint) error
- func (m *MockStreamsDao) SetStreamRequested(stream model.Stream) error
- func (m *MockStreamsDao) ToggleVisibility(streamId uint, private bool) error
- func (m *MockStreamsDao) UnsetLectureHall(streamIDs []uint) error
- func (m *MockStreamsDao) UpdateLectureSeries(arg0 model.Stream) error
- func (m *MockStreamsDao) UpdateSilences(silences []model.Silence, streamID string) error
- func (m *MockStreamsDao) UpdateStream(stream model.Stream) error
- func (m *MockStreamsDao) UpdateStreamFullAssoc(vod *model.Stream) error
- type MockStreamsDaoMockRecorder
- func (mr *MockStreamsDaoMockRecorder) AddVodView(id interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) ClearWorkersForStream(stream interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) CreateStream(stream interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) DeleteLectureSeries(arg0 interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) DeleteSilences(streamID interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) DeleteStream(streamID interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) DeleteStreamsWithTumID(ids interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) DeleteUnit(id interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) ExecAllStreamsWithCoursesAndSubtitlesBatched(f interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) GetAllStreams() *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) GetCurrentLive(ctx interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) GetCurrentLiveNonHidden(ctx interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) GetDuePremieresForWorkers() *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) GetDueStreamsForWorkers() *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) GetLiveStreamsInLectureHall(lectureHallId interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) GetSoonStartingStreamInfo(user, slug, year, term interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) GetStreamByID(ctx, id interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) GetStreamByKey(ctx, key interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) GetStreamByTumOnlineID(ctx, id interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) GetStreamsByIds(ids interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) GetStreamsWithWatchState(courseID, userID interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) GetTranscodingProgressByVersion(streamVersion, streamId interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) GetUnitByID(id interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) GetWorkersForStream(stream interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) RemoveTranscodingProgress(streamVersion, streamId interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) SaveCAMURL(stream, url interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) SaveCOMBURL(stream, url interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) SaveEndedState(streamID, hasEnded interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) SavePRESURL(stream, url interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) SaveStream(vod interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) SaveTranscodingProgress(progress interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) SaveWorkerForStream(stream, worker interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) SetLectureHall(streamIDs, lectureHallID interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) SetStreamLiveNowTimestampById(streamID, liveNowTimestamp interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) SetStreamNotLiveById(streamID interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) SetStreamRequested(stream interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) ToggleVisibility(streamId, private interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) UnsetLectureHall(streamIDs interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) UpdateLectureSeries(arg0 interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) UpdateSilences(silences, streamID interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) UpdateStream(stream interface{}) *gomock.Call
- func (mr *MockStreamsDaoMockRecorder) UpdateStreamFullAssoc(vod interface{}) *gomock.Call
- type MockSubtitlesDao
- func (m *MockSubtitlesDao) Create(c context.Context, it *model.Subtitles) error
- func (m *MockSubtitlesDao) CreateOrUpsert(arg0 context.Context, arg1 *model.Subtitles) error
- func (m *MockSubtitlesDao) Delete(arg0 context.Context, arg1 uint) error
- func (m *MockSubtitlesDao) EXPECT() *MockSubtitlesDaoMockRecorder
- func (m *MockSubtitlesDao) Get(arg0 context.Context, arg1 uint) (model.Subtitles, error)
- func (m *MockSubtitlesDao) GetByStreamIDandLang(arg0 context.Context, arg1 uint, arg2 string) (model.Subtitles, error)
- type MockSubtitlesDaoMockRecorder
- func (mr *MockSubtitlesDaoMockRecorder) Create(c, it interface{}) *gomock.Call
- func (mr *MockSubtitlesDaoMockRecorder) CreateOrUpsert(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSubtitlesDaoMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSubtitlesDaoMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSubtitlesDaoMockRecorder) GetByStreamIDandLang(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockTokenDao
- func (m *MockTokenDao) AddToken(token model.Token) error
- func (m *MockTokenDao) DeleteToken(id string) error
- func (m *MockTokenDao) EXPECT() *MockTokenDaoMockRecorder
- func (m *MockTokenDao) GetAllTokens(user *model.User) ([]dao.AllTokensDto, error)
- func (m *MockTokenDao) GetToken(token string) (model.Token, error)
- func (m *MockTokenDao) GetTokenByID(id string) (model.Token, error)
- func (m *MockTokenDao) TokenUsed(token model.Token) error
- type MockTokenDaoMockRecorder
- func (mr *MockTokenDaoMockRecorder) AddToken(token interface{}) *gomock.Call
- func (mr *MockTokenDaoMockRecorder) DeleteToken(id interface{}) *gomock.Call
- func (mr *MockTokenDaoMockRecorder) GetAllTokens(user interface{}) *gomock.Call
- func (mr *MockTokenDaoMockRecorder) GetToken(token interface{}) *gomock.Call
- func (mr *MockTokenDaoMockRecorder) GetTokenByID(id interface{}) *gomock.Call
- func (mr *MockTokenDaoMockRecorder) TokenUsed(token interface{}) *gomock.Call
- type MockTranscodingFailureDao
- type MockTranscodingFailureDaoMockRecorder
- type MockUploadKeyDao
- func (m *MockUploadKeyDao) CreateUploadKey(key string, stream uint, videoType model.VideoType) error
- func (m *MockUploadKeyDao) DeleteUploadKey(key model.UploadKey) error
- func (m *MockUploadKeyDao) EXPECT() *MockUploadKeyDaoMockRecorder
- func (m *MockUploadKeyDao) GetUploadKey(key string) (model.UploadKey, error)
- type MockUploadKeyDaoMockRecorder
- type MockUsersDao
- func (m *MockUsersDao) AddUserSetting(userSetting *model.UserSetting) error
- func (m *MockUsersDao) AddUsersToCourseByTUMIDs(matrNr []string, courseID uint) error
- func (m *MockUsersDao) AreUsersEmpty(ctx context.Context) (bool, error)
- func (m *MockUsersDao) CreateRegisterLink(ctx context.Context, user model.User) (model.RegisterLink, error)
- func (m *MockUsersDao) CreateUser(ctx context.Context, user *model.User) error
- func (m *MockUsersDao) DeleteResetKey(key string)
- func (m *MockUsersDao) DeleteUser(ctx context.Context, uid uint) error
- func (m *MockUsersDao) EXPECT() *MockUsersDaoMockRecorder
- func (m *MockUsersDao) GetAllAdminsAndLecturers(users *[]model.User) error
- func (m *MockUsersDao) GetUserByEmail(ctx context.Context, email string) (model.User, error)
- func (m *MockUsersDao) GetUserByID(ctx context.Context, id uint) (model.User, error)
- func (m *MockUsersDao) GetUserByResetKey(key string) (model.User, error)
- func (m *MockUsersDao) HasPinnedCourse(arg0 model.User, arg1 uint) (bool, error)
- func (m *MockUsersDao) IsUserAdmin(ctx context.Context, uid uint) (bool, error)
- func (m *MockUsersDao) PinCourse(user model.User, course model.Course, pin bool) error
- func (m *MockUsersDao) SearchUser(query string) ([]model.User, error)
- func (m *MockUsersDao) UpdateUser(user model.User) error
- func (m *MockUsersDao) UpsertUser(user *model.User) error
- type MockUsersDaoMockRecorder
- func (mr *MockUsersDaoMockRecorder) AddUserSetting(userSetting interface{}) *gomock.Call
- func (mr *MockUsersDaoMockRecorder) AddUsersToCourseByTUMIDs(matrNr, courseID interface{}) *gomock.Call
- func (mr *MockUsersDaoMockRecorder) AreUsersEmpty(ctx interface{}) *gomock.Call
- func (mr *MockUsersDaoMockRecorder) CreateRegisterLink(ctx, user interface{}) *gomock.Call
- func (mr *MockUsersDaoMockRecorder) CreateUser(ctx, user interface{}) *gomock.Call
- func (mr *MockUsersDaoMockRecorder) DeleteResetKey(key interface{}) *gomock.Call
- func (mr *MockUsersDaoMockRecorder) DeleteUser(ctx, uid interface{}) *gomock.Call
- func (mr *MockUsersDaoMockRecorder) GetAllAdminsAndLecturers(users interface{}) *gomock.Call
- func (mr *MockUsersDaoMockRecorder) GetUserByEmail(ctx, email interface{}) *gomock.Call
- func (mr *MockUsersDaoMockRecorder) GetUserByID(ctx, id interface{}) *gomock.Call
- func (mr *MockUsersDaoMockRecorder) GetUserByResetKey(key interface{}) *gomock.Call
- func (mr *MockUsersDaoMockRecorder) HasPinnedCourse(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUsersDaoMockRecorder) IsUserAdmin(ctx, uid interface{}) *gomock.Call
- func (mr *MockUsersDaoMockRecorder) PinCourse(user, course, pin interface{}) *gomock.Call
- func (mr *MockUsersDaoMockRecorder) SearchUser(query interface{}) *gomock.Call
- func (mr *MockUsersDaoMockRecorder) UpdateUser(user interface{}) *gomock.Call
- func (mr *MockUsersDaoMockRecorder) UpsertUser(user interface{}) *gomock.Call
- type MockVideoSectionDao
- func (m *MockVideoSectionDao) Create(arg0 []model.VideoSection) error
- func (m *MockVideoSectionDao) Delete(arg0 uint) error
- func (m *MockVideoSectionDao) EXPECT() *MockVideoSectionDaoMockRecorder
- func (m *MockVideoSectionDao) Get(arg0 uint) (model.VideoSection, error)
- func (m *MockVideoSectionDao) GetByStreamId(arg0 uint) ([]model.VideoSection, error)
- func (m *MockVideoSectionDao) Update(arg0 *model.VideoSection) error
- type MockVideoSectionDaoMockRecorder
- func (mr *MockVideoSectionDaoMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockVideoSectionDaoMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockVideoSectionDaoMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockVideoSectionDaoMockRecorder) GetByStreamId(arg0 interface{}) *gomock.Call
- func (mr *MockVideoSectionDaoMockRecorder) Update(arg0 interface{}) *gomock.Call
- type MockVideoSeekDao
- type MockVideoSeekDaoMockRecorder
- type MockWorkerDao
- func (m *MockWorkerDao) CreateWorker(worker *model.Worker) error
- func (m *MockWorkerDao) DeleteWorker(workerID string) error
- func (m *MockWorkerDao) EXPECT() *MockWorkerDaoMockRecorder
- func (m *MockWorkerDao) GetAliveWorkers() []model.Worker
- func (m *MockWorkerDao) GetAllWorkers() ([]model.Worker, error)
- func (m *MockWorkerDao) GetWorkerByHostname(ctx context.Context, hostname string) (model.Worker, error)
- func (m *MockWorkerDao) GetWorkerByID(ctx context.Context, workerID string) (model.Worker, error)
- func (m *MockWorkerDao) SaveWorker(worker model.Worker) error
- type MockWorkerDaoMockRecorder
- func (mr *MockWorkerDaoMockRecorder) CreateWorker(worker interface{}) *gomock.Call
- func (mr *MockWorkerDaoMockRecorder) DeleteWorker(workerID interface{}) *gomock.Call
- func (mr *MockWorkerDaoMockRecorder) GetAliveWorkers() *gomock.Call
- func (mr *MockWorkerDaoMockRecorder) GetAllWorkers() *gomock.Call
- func (mr *MockWorkerDaoMockRecorder) GetWorkerByHostname(ctx, hostname interface{}) *gomock.Call
- func (mr *MockWorkerDaoMockRecorder) GetWorkerByID(ctx, workerID interface{}) *gomock.Call
- func (mr *MockWorkerDaoMockRecorder) SaveWorker(worker interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuditDao ¶
type MockAuditDao struct {
// contains filtered or unexported fields
}
MockAuditDao is a mock of AuditDao interface.
func NewMockAuditDao ¶
func NewMockAuditDao(ctrl *gomock.Controller) *MockAuditDao
NewMockAuditDao creates a new mock instance.
func (*MockAuditDao) Create ¶
func (m *MockAuditDao) Create(arg0 *model.Audit) error
Create mocks base method.
func (*MockAuditDao) EXPECT ¶
func (m *MockAuditDao) EXPECT() *MockAuditDaoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockAuditDaoMockRecorder ¶
type MockAuditDaoMockRecorder struct {
// contains filtered or unexported fields
}
MockAuditDaoMockRecorder is the mock recorder for MockAuditDao.
func (*MockAuditDaoMockRecorder) Create ¶
func (mr *MockAuditDaoMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockAuditDaoMockRecorder) Find ¶
func (mr *MockAuditDaoMockRecorder) Find(limit, offset interface{}, types ...interface{}) *gomock.Call
Find indicates an expected call of Find.
type MockBookmarkDao ¶
type MockBookmarkDao struct {
// contains filtered or unexported fields
}
MockBookmarkDao is a mock of BookmarkDao interface.
func NewMockBookmarkDao ¶
func NewMockBookmarkDao(ctrl *gomock.Controller) *MockBookmarkDao
NewMockBookmarkDao creates a new mock instance.
func (*MockBookmarkDao) Add ¶
func (m *MockBookmarkDao) Add(arg0 *model.Bookmark) error
Add mocks base method.
func (*MockBookmarkDao) Delete ¶
func (m *MockBookmarkDao) Delete(arg0 uint) error
Delete mocks base method.
func (*MockBookmarkDao) EXPECT ¶
func (m *MockBookmarkDao) EXPECT() *MockBookmarkDaoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBookmarkDao) GetByID ¶
func (m *MockBookmarkDao) GetByID(arg0 uint) (model.Bookmark, error)
GetByID mocks base method.
func (*MockBookmarkDao) GetByStreamID ¶
func (m *MockBookmarkDao) GetByStreamID(arg0, arg1 uint) ([]model.Bookmark, error)
GetByStreamID mocks base method.
type MockBookmarkDaoMockRecorder ¶
type MockBookmarkDaoMockRecorder struct {
// contains filtered or unexported fields
}
MockBookmarkDaoMockRecorder is the mock recorder for MockBookmarkDao.
func (*MockBookmarkDaoMockRecorder) Add ¶
func (mr *MockBookmarkDaoMockRecorder) Add(arg0 interface{}) *gomock.Call
Add indicates an expected call of Add.
func (*MockBookmarkDaoMockRecorder) Delete ¶
func (mr *MockBookmarkDaoMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockBookmarkDaoMockRecorder) GetByID ¶
func (mr *MockBookmarkDaoMockRecorder) GetByID(arg0 interface{}) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockBookmarkDaoMockRecorder) GetByStreamID ¶
func (mr *MockBookmarkDaoMockRecorder) GetByStreamID(arg0, arg1 interface{}) *gomock.Call
GetByStreamID indicates an expected call of GetByStreamID.
func (*MockBookmarkDaoMockRecorder) Update ¶
func (mr *MockBookmarkDaoMockRecorder) Update(arg0 interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockCameraPresetDao ¶
type MockCameraPresetDao struct {
// contains filtered or unexported fields
}
MockCameraPresetDao is a mock of CameraPresetDao interface.
func NewMockCameraPresetDao ¶
func NewMockCameraPresetDao(ctrl *gomock.Controller) *MockCameraPresetDao
NewMockCameraPresetDao creates a new mock instance.
func (*MockCameraPresetDao) EXPECT ¶
func (m *MockCameraPresetDao) EXPECT() *MockCameraPresetDaoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCameraPresetDao) GetDefaultCameraPreset ¶
func (m *MockCameraPresetDao) GetDefaultCameraPreset(lectureHallID uint) (model.CameraPreset, error)
GetDefaultCameraPreset mocks base method.
type MockCameraPresetDaoMockRecorder ¶
type MockCameraPresetDaoMockRecorder struct {
// contains filtered or unexported fields
}
MockCameraPresetDaoMockRecorder is the mock recorder for MockCameraPresetDao.
func (*MockCameraPresetDaoMockRecorder) GetDefaultCameraPreset ¶
func (mr *MockCameraPresetDaoMockRecorder) GetDefaultCameraPreset(lectureHallID interface{}) *gomock.Call
GetDefaultCameraPreset indicates an expected call of GetDefaultCameraPreset.
type MockChatDao ¶
type MockChatDao struct {
// contains filtered or unexported fields
}
MockChatDao is a mock of ChatDao interface.
func NewMockChatDao ¶
func NewMockChatDao(ctrl *gomock.Controller) *MockChatDao
NewMockChatDao creates a new mock instance.
func (*MockChatDao) AddChatPoll ¶
func (m *MockChatDao) AddChatPoll(poll *model.Poll) error
AddChatPoll mocks base method.
func (*MockChatDao) AddChatPollOptionVote ¶
func (m *MockChatDao) AddChatPollOptionVote(pollOptionId, userId uint) error
AddChatPollOptionVote mocks base method.
func (*MockChatDao) AddMessage ¶
func (m *MockChatDao) AddMessage(chat *model.Chat) error
AddMessage mocks base method.
func (*MockChatDao) ApproveChat ¶
func (m *MockChatDao) ApproveChat(id uint) error
ApproveChat mocks base method.
func (*MockChatDao) CloseActivePoll ¶
func (m *MockChatDao) CloseActivePoll(streamID uint) error
CloseActivePoll mocks base method.
func (*MockChatDao) DeleteChat ¶
func (m *MockChatDao) DeleteChat(id uint) error
DeleteChat mocks base method.
func (*MockChatDao) EXPECT ¶
func (m *MockChatDao) EXPECT() *MockChatDaoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockChatDao) GetActivePoll ¶
func (m *MockChatDao) GetActivePoll(streamID uint) (model.Poll, error)
GetActivePoll mocks base method.
func (*MockChatDao) GetAllChats ¶
func (m *MockChatDao) GetAllChats(userID, streamID uint) ([]model.Chat, error)
GetAllChats mocks base method.
func (*MockChatDao) GetChat ¶
func (m *MockChatDao) GetChat(id, userID uint) (*model.Chat, error)
GetChat mocks base method.
func (*MockChatDao) GetChatUsers ¶
func (m *MockChatDao) GetChatUsers(streamid uint) ([]model.User, error)
GetChatUsers mocks base method.
func (*MockChatDao) GetChatsByUser ¶
func (m *MockChatDao) GetChatsByUser(userID uint) ([]model.Chat, error)
GetChatsByUser mocks base method.
func (*MockChatDao) GetPollOptionVoteCount ¶
func (m *MockChatDao) GetPollOptionVoteCount(pollOptionId uint) (int64, error)
GetPollOptionVoteCount mocks base method.
func (*MockChatDao) GetPollUserVote ¶
func (m *MockChatDao) GetPollUserVote(pollId, userId uint) (uint, error)
GetPollUserVote mocks base method.
func (*MockChatDao) GetPolls ¶
func (m *MockChatDao) GetPolls(streamID uint) ([]model.Poll, error)
GetPolls mocks base method.
func (*MockChatDao) GetReactions ¶
func (m *MockChatDao) GetReactions(chatID uint) ([]model.ChatReaction, error)
GetReactions mocks base method.
func (*MockChatDao) GetVisibleChats ¶
func (m *MockChatDao) GetVisibleChats(userID, streamID uint) ([]model.Chat, error)
GetVisibleChats mocks base method.
func (*MockChatDao) RemoveReactions ¶
func (m *MockChatDao) RemoveReactions(chatID uint) error
RemoveReactions mocks base method.
func (*MockChatDao) ResolveChat ¶
func (m *MockChatDao) ResolveChat(id uint) error
ResolveChat mocks base method.
func (*MockChatDao) RetractChat ¶
func (m *MockChatDao) RetractChat(id uint) error
RetractChat mocks base method.
func (*MockChatDao) ToggleReaction ¶
func (m *MockChatDao) ToggleReaction(userID, chatID uint, username, emoji string) error
ToggleReaction mocks base method.
type MockChatDaoMockRecorder ¶
type MockChatDaoMockRecorder struct {
// contains filtered or unexported fields
}
MockChatDaoMockRecorder is the mock recorder for MockChatDao.
func (*MockChatDaoMockRecorder) AddChatPoll ¶
func (mr *MockChatDaoMockRecorder) AddChatPoll(poll interface{}) *gomock.Call
AddChatPoll indicates an expected call of AddChatPoll.
func (*MockChatDaoMockRecorder) AddChatPollOptionVote ¶
func (mr *MockChatDaoMockRecorder) AddChatPollOptionVote(pollOptionId, userId interface{}) *gomock.Call
AddChatPollOptionVote indicates an expected call of AddChatPollOptionVote.
func (*MockChatDaoMockRecorder) AddMessage ¶
func (mr *MockChatDaoMockRecorder) AddMessage(chat interface{}) *gomock.Call
AddMessage indicates an expected call of AddMessage.
func (*MockChatDaoMockRecorder) ApproveChat ¶
func (mr *MockChatDaoMockRecorder) ApproveChat(id interface{}) *gomock.Call
ApproveChat indicates an expected call of ApproveChat.
func (*MockChatDaoMockRecorder) CloseActivePoll ¶
func (mr *MockChatDaoMockRecorder) CloseActivePoll(streamID interface{}) *gomock.Call
CloseActivePoll indicates an expected call of CloseActivePoll.
func (*MockChatDaoMockRecorder) DeleteChat ¶
func (mr *MockChatDaoMockRecorder) DeleteChat(id interface{}) *gomock.Call
DeleteChat indicates an expected call of DeleteChat.
func (*MockChatDaoMockRecorder) GetActivePoll ¶
func (mr *MockChatDaoMockRecorder) GetActivePoll(streamID interface{}) *gomock.Call
GetActivePoll indicates an expected call of GetActivePoll.
func (*MockChatDaoMockRecorder) GetAllChats ¶
func (mr *MockChatDaoMockRecorder) GetAllChats(userID, streamID interface{}) *gomock.Call
GetAllChats indicates an expected call of GetAllChats.
func (*MockChatDaoMockRecorder) GetChat ¶
func (mr *MockChatDaoMockRecorder) GetChat(id, userID interface{}) *gomock.Call
GetChat indicates an expected call of GetChat.
func (*MockChatDaoMockRecorder) GetChatUsers ¶
func (mr *MockChatDaoMockRecorder) GetChatUsers(streamid interface{}) *gomock.Call
GetChatUsers indicates an expected call of GetChatUsers.
func (*MockChatDaoMockRecorder) GetChatsByUser ¶
func (mr *MockChatDaoMockRecorder) GetChatsByUser(userID interface{}) *gomock.Call
GetChatsByUser indicates an expected call of GetChatsByUser.
func (*MockChatDaoMockRecorder) GetPollOptionVoteCount ¶
func (mr *MockChatDaoMockRecorder) GetPollOptionVoteCount(pollOptionId interface{}) *gomock.Call
GetPollOptionVoteCount indicates an expected call of GetPollOptionVoteCount.
func (*MockChatDaoMockRecorder) GetPollUserVote ¶
func (mr *MockChatDaoMockRecorder) GetPollUserVote(pollId, userId interface{}) *gomock.Call
GetPollUserVote indicates an expected call of GetPollUserVote.
func (*MockChatDaoMockRecorder) GetPolls ¶
func (mr *MockChatDaoMockRecorder) GetPolls(streamID interface{}) *gomock.Call
GetPolls indicates an expected call of GetPolls.
func (*MockChatDaoMockRecorder) GetReactions ¶
func (mr *MockChatDaoMockRecorder) GetReactions(chatID interface{}) *gomock.Call
GetReactions indicates an expected call of GetReactions.
func (*MockChatDaoMockRecorder) GetVisibleChats ¶
func (mr *MockChatDaoMockRecorder) GetVisibleChats(userID, streamID interface{}) *gomock.Call
GetVisibleChats indicates an expected call of GetVisibleChats.
func (*MockChatDaoMockRecorder) RemoveReactions ¶
func (mr *MockChatDaoMockRecorder) RemoveReactions(chatID interface{}) *gomock.Call
RemoveReactions indicates an expected call of RemoveReactions.
func (*MockChatDaoMockRecorder) ResolveChat ¶
func (mr *MockChatDaoMockRecorder) ResolveChat(id interface{}) *gomock.Call
ResolveChat indicates an expected call of ResolveChat.
func (*MockChatDaoMockRecorder) RetractChat ¶
func (mr *MockChatDaoMockRecorder) RetractChat(id interface{}) *gomock.Call
RetractChat indicates an expected call of RetractChat.
func (*MockChatDaoMockRecorder) ToggleReaction ¶
func (mr *MockChatDaoMockRecorder) ToggleReaction(userID, chatID, username, emoji interface{}) *gomock.Call
ToggleReaction indicates an expected call of ToggleReaction.
type MockCoursesDao ¶
type MockCoursesDao struct {
// contains filtered or unexported fields
}
MockCoursesDao is a mock of CoursesDao interface.
func NewMockCoursesDao ¶
func NewMockCoursesDao(ctrl *gomock.Controller) *MockCoursesDao
NewMockCoursesDao creates a new mock instance.
func (*MockCoursesDao) AddAdminToCourse ¶
func (m *MockCoursesDao) AddAdminToCourse(userID, courseID uint) error
AddAdminToCourse mocks base method.
func (*MockCoursesDao) CreateCourse ¶
CreateCourse mocks base method.
func (*MockCoursesDao) DeleteCourse ¶
func (m *MockCoursesDao) DeleteCourse(course model.Course)
DeleteCourse mocks base method.
func (*MockCoursesDao) EXPECT ¶
func (m *MockCoursesDao) EXPECT() *MockCoursesDaoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCoursesDao) ExecAllCourses ¶ added in v1.4.23
func (m *MockCoursesDao) ExecAllCourses(f func([]dao.Course))
ExecAllCourses mocks base method.
func (*MockCoursesDao) GetAdministeredCoursesByUserId ¶
func (m *MockCoursesDao) GetAdministeredCoursesByUserId(ctx context.Context, userid uint, teachingTerm string, year int) ([]model.Course, error)
GetAdministeredCoursesByUserId mocks base method.
func (*MockCoursesDao) GetAllCourses ¶
func (m *MockCoursesDao) GetAllCourses() ([]model.Course, error)
GetAllCourses mocks base method.
func (*MockCoursesDao) GetAllCoursesForSemester ¶
func (m *MockCoursesDao) GetAllCoursesForSemester(year int, term string, ctx context.Context) []model.Course
GetAllCoursesForSemester mocks base method.
func (*MockCoursesDao) GetAllCoursesWithTUMIDFromSemester ¶
func (m *MockCoursesDao) GetAllCoursesWithTUMIDFromSemester(ctx context.Context, year int, term string) ([]model.Course, error)
GetAllCoursesWithTUMIDFromSemester mocks base method.
func (*MockCoursesDao) GetAvailableSemesters ¶
func (m *MockCoursesDao) GetAvailableSemesters(c context.Context) []model.Semester
GetAvailableSemesters mocks base method.
func (*MockCoursesDao) GetCourseAdmins ¶
func (m *MockCoursesDao) GetCourseAdmins(courseID uint) ([]model.User, error)
GetCourseAdmins mocks base method.
func (*MockCoursesDao) GetCourseById ¶
GetCourseById mocks base method.
func (*MockCoursesDao) GetCourseByShortLink ¶
func (m *MockCoursesDao) GetCourseByShortLink(link string) (model.Course, error)
GetCourseByShortLink mocks base method.
func (*MockCoursesDao) GetCourseBySlugYearAndTerm ¶
func (m *MockCoursesDao) GetCourseBySlugYearAndTerm(ctx context.Context, slug, term string, year int) (model.Course, error)
GetCourseBySlugYearAndTerm mocks base method.
func (*MockCoursesDao) GetCourseByToken ¶
func (m *MockCoursesDao) GetCourseByToken(token string) (model.Course, error)
GetCourseByToken mocks base method.
func (*MockCoursesDao) GetCourseForLecturerIdByYearAndTerm ¶
func (m *MockCoursesDao) GetCourseForLecturerIdByYearAndTerm(c context.Context, year int, term string, userId uint) ([]model.Course, error)
GetCourseForLecturerIdByYearAndTerm mocks base method.
func (*MockCoursesDao) GetCurrentOrNextLectureForCourse ¶
func (m *MockCoursesDao) GetCurrentOrNextLectureForCourse(ctx context.Context, courseID uint) (model.Stream, error)
GetCurrentOrNextLectureForCourse mocks base method.
func (*MockCoursesDao) GetInvitedUsersForCourse ¶
func (m *MockCoursesDao) GetInvitedUsersForCourse(course *model.Course) error
GetInvitedUsersForCourse mocks base method.
func (*MockCoursesDao) GetPublicAndLoggedInCourses ¶
GetPublicAndLoggedInCourses mocks base method.
func (*MockCoursesDao) GetPublicCourses ¶
GetPublicCourses mocks base method.
func (*MockCoursesDao) RemoveAdminFromCourse ¶
func (m *MockCoursesDao) RemoveAdminFromCourse(userID, courseID uint) error
RemoveAdminFromCourse mocks base method.
func (*MockCoursesDao) UnDeleteCourse ¶
UnDeleteCourse mocks base method.
func (*MockCoursesDao) UpdateCourse ¶
UpdateCourse mocks base method.
func (*MockCoursesDao) UpdateCourseMetadata ¶
func (m *MockCoursesDao) UpdateCourseMetadata(ctx context.Context, course model.Course)
UpdateCourseMetadata mocks base method.
type MockCoursesDaoMockRecorder ¶
type MockCoursesDaoMockRecorder struct {
// contains filtered or unexported fields
}
MockCoursesDaoMockRecorder is the mock recorder for MockCoursesDao.
func (*MockCoursesDaoMockRecorder) AddAdminToCourse ¶
func (mr *MockCoursesDaoMockRecorder) AddAdminToCourse(userID, courseID interface{}) *gomock.Call
AddAdminToCourse indicates an expected call of AddAdminToCourse.
func (*MockCoursesDaoMockRecorder) CreateCourse ¶
func (mr *MockCoursesDaoMockRecorder) CreateCourse(ctx, course, keep interface{}) *gomock.Call
CreateCourse indicates an expected call of CreateCourse.
func (*MockCoursesDaoMockRecorder) DeleteCourse ¶
func (mr *MockCoursesDaoMockRecorder) DeleteCourse(course interface{}) *gomock.Call
DeleteCourse indicates an expected call of DeleteCourse.
func (*MockCoursesDaoMockRecorder) ExecAllCourses ¶ added in v1.4.23
func (mr *MockCoursesDaoMockRecorder) ExecAllCourses(f interface{}) *gomock.Call
ExecAllCourses indicates an expected call of ExecAllCourses.
func (*MockCoursesDaoMockRecorder) GetAdministeredCoursesByUserId ¶
func (mr *MockCoursesDaoMockRecorder) GetAdministeredCoursesByUserId(ctx, userid, teachingTerm, year interface{}) *gomock.Call
GetAdministeredCoursesByUserId indicates an expected call of GetAdministeredCoursesByUserId.
func (*MockCoursesDaoMockRecorder) GetAllCourses ¶
func (mr *MockCoursesDaoMockRecorder) GetAllCourses() *gomock.Call
GetAllCourses indicates an expected call of GetAllCourses.
func (*MockCoursesDaoMockRecorder) GetAllCoursesForSemester ¶
func (mr *MockCoursesDaoMockRecorder) GetAllCoursesForSemester(year, term, ctx interface{}) *gomock.Call
GetAllCoursesForSemester indicates an expected call of GetAllCoursesForSemester.
func (*MockCoursesDaoMockRecorder) GetAllCoursesWithTUMIDFromSemester ¶
func (mr *MockCoursesDaoMockRecorder) GetAllCoursesWithTUMIDFromSemester(ctx, year, term interface{}) *gomock.Call
GetAllCoursesWithTUMIDFromSemester indicates an expected call of GetAllCoursesWithTUMIDFromSemester.
func (*MockCoursesDaoMockRecorder) GetAvailableSemesters ¶
func (mr *MockCoursesDaoMockRecorder) GetAvailableSemesters(c interface{}) *gomock.Call
GetAvailableSemesters indicates an expected call of GetAvailableSemesters.
func (*MockCoursesDaoMockRecorder) GetCourseAdmins ¶
func (mr *MockCoursesDaoMockRecorder) GetCourseAdmins(courseID interface{}) *gomock.Call
GetCourseAdmins indicates an expected call of GetCourseAdmins.
func (*MockCoursesDaoMockRecorder) GetCourseById ¶
func (mr *MockCoursesDaoMockRecorder) GetCourseById(ctx, id interface{}) *gomock.Call
GetCourseById indicates an expected call of GetCourseById.
func (*MockCoursesDaoMockRecorder) GetCourseByShortLink ¶
func (mr *MockCoursesDaoMockRecorder) GetCourseByShortLink(link interface{}) *gomock.Call
GetCourseByShortLink indicates an expected call of GetCourseByShortLink.
func (*MockCoursesDaoMockRecorder) GetCourseBySlugYearAndTerm ¶
func (mr *MockCoursesDaoMockRecorder) GetCourseBySlugYearAndTerm(ctx, slug, term, year interface{}) *gomock.Call
GetCourseBySlugYearAndTerm indicates an expected call of GetCourseBySlugYearAndTerm.
func (*MockCoursesDaoMockRecorder) GetCourseByToken ¶
func (mr *MockCoursesDaoMockRecorder) GetCourseByToken(token interface{}) *gomock.Call
GetCourseByToken indicates an expected call of GetCourseByToken.
func (*MockCoursesDaoMockRecorder) GetCourseForLecturerIdByYearAndTerm ¶
func (mr *MockCoursesDaoMockRecorder) GetCourseForLecturerIdByYearAndTerm(c, year, term, userId interface{}) *gomock.Call
GetCourseForLecturerIdByYearAndTerm indicates an expected call of GetCourseForLecturerIdByYearAndTerm.
func (*MockCoursesDaoMockRecorder) GetCurrentOrNextLectureForCourse ¶
func (mr *MockCoursesDaoMockRecorder) GetCurrentOrNextLectureForCourse(ctx, courseID interface{}) *gomock.Call
GetCurrentOrNextLectureForCourse indicates an expected call of GetCurrentOrNextLectureForCourse.
func (*MockCoursesDaoMockRecorder) GetInvitedUsersForCourse ¶
func (mr *MockCoursesDaoMockRecorder) GetInvitedUsersForCourse(course interface{}) *gomock.Call
GetInvitedUsersForCourse indicates an expected call of GetInvitedUsersForCourse.
func (*MockCoursesDaoMockRecorder) GetPublicAndLoggedInCourses ¶
func (mr *MockCoursesDaoMockRecorder) GetPublicAndLoggedInCourses(year, term interface{}) *gomock.Call
GetPublicAndLoggedInCourses indicates an expected call of GetPublicAndLoggedInCourses.
func (*MockCoursesDaoMockRecorder) GetPublicCourses ¶
func (mr *MockCoursesDaoMockRecorder) GetPublicCourses(year, term interface{}) *gomock.Call
GetPublicCourses indicates an expected call of GetPublicCourses.
func (*MockCoursesDaoMockRecorder) RemoveAdminFromCourse ¶
func (mr *MockCoursesDaoMockRecorder) RemoveAdminFromCourse(userID, courseID interface{}) *gomock.Call
RemoveAdminFromCourse indicates an expected call of RemoveAdminFromCourse.
func (*MockCoursesDaoMockRecorder) UnDeleteCourse ¶
func (mr *MockCoursesDaoMockRecorder) UnDeleteCourse(ctx, course interface{}) *gomock.Call
UnDeleteCourse indicates an expected call of UnDeleteCourse.
func (*MockCoursesDaoMockRecorder) UpdateCourse ¶
func (mr *MockCoursesDaoMockRecorder) UpdateCourse(ctx, course interface{}) *gomock.Call
UpdateCourse indicates an expected call of UpdateCourse.
func (*MockCoursesDaoMockRecorder) UpdateCourseMetadata ¶
func (mr *MockCoursesDaoMockRecorder) UpdateCourseMetadata(ctx, course interface{}) *gomock.Call
UpdateCourseMetadata indicates an expected call of UpdateCourseMetadata.
type MockEmailDao ¶
type MockEmailDao struct {
// contains filtered or unexported fields
}
MockEmailDao is a mock of EmailDao interface.
func NewMockEmailDao ¶
func NewMockEmailDao(ctrl *gomock.Controller) *MockEmailDao
NewMockEmailDao creates a new mock instance.
func (*MockEmailDao) Delete ¶
func (m *MockEmailDao) Delete(arg0 context.Context, arg1 uint) error
Delete mocks base method.
func (*MockEmailDao) EXPECT ¶
func (m *MockEmailDao) EXPECT() *MockEmailDaoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockEmailDaoMockRecorder ¶
type MockEmailDaoMockRecorder struct {
// contains filtered or unexported fields
}
MockEmailDaoMockRecorder is the mock recorder for MockEmailDao.
func (*MockEmailDaoMockRecorder) Create ¶
func (mr *MockEmailDaoMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockEmailDaoMockRecorder) Delete ¶
func (mr *MockEmailDaoMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockEmailDaoMockRecorder) Get ¶
func (mr *MockEmailDaoMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockEmailDaoMockRecorder) GetDue ¶
func (mr *MockEmailDaoMockRecorder) GetDue(arg0, arg1 interface{}) *gomock.Call
GetDue indicates an expected call of GetDue.
func (*MockEmailDaoMockRecorder) GetFailed ¶
func (mr *MockEmailDaoMockRecorder) GetFailed(arg0 interface{}) *gomock.Call
GetFailed indicates an expected call of GetFailed.
func (*MockEmailDaoMockRecorder) Save ¶
func (mr *MockEmailDaoMockRecorder) Save(arg0, arg1 interface{}) *gomock.Call
Save indicates an expected call of Save.
type MockFileDao ¶
type MockFileDao struct {
// contains filtered or unexported fields
}
MockFileDao is a mock of FileDao interface.
func NewMockFileDao ¶
func NewMockFileDao(ctrl *gomock.Controller) *MockFileDao
NewMockFileDao creates a new mock instance.
func (*MockFileDao) CountVoDFiles ¶
func (m *MockFileDao) CountVoDFiles() (int64, error)
CountVoDFiles mocks base method.
func (*MockFileDao) DeleteFile ¶
func (m *MockFileDao) DeleteFile(id uint) error
DeleteFile mocks base method.
func (*MockFileDao) EXPECT ¶
func (m *MockFileDao) EXPECT() *MockFileDaoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFileDao) GetFileById ¶
func (m *MockFileDao) GetFileById(id string) (model.File, error)
GetFileById mocks base method.
func (*MockFileDao) NewFile ¶
func (m *MockFileDao) NewFile(f *model.File) error
NewFile mocks base method.
func (*MockFileDao) SetThumbnail ¶
func (m *MockFileDao) SetThumbnail(streamId uint, thumb model.File) error
SetThumbnail mocks base method.
func (*MockFileDao) UpdateFile ¶
func (m *MockFileDao) UpdateFile(id string, f *model.File) error
UpdateFile mocks base method.
type MockFileDaoMockRecorder ¶
type MockFileDaoMockRecorder struct {
// contains filtered or unexported fields
}
MockFileDaoMockRecorder is the mock recorder for MockFileDao.
func (*MockFileDaoMockRecorder) CountVoDFiles ¶
func (mr *MockFileDaoMockRecorder) CountVoDFiles() *gomock.Call
CountVoDFiles indicates an expected call of CountVoDFiles.
func (*MockFileDaoMockRecorder) DeleteFile ¶
func (mr *MockFileDaoMockRecorder) DeleteFile(id interface{}) *gomock.Call
DeleteFile indicates an expected call of DeleteFile.
func (*MockFileDaoMockRecorder) GetFileById ¶
func (mr *MockFileDaoMockRecorder) GetFileById(id interface{}) *gomock.Call
GetFileById indicates an expected call of GetFileById.
func (*MockFileDaoMockRecorder) NewFile ¶
func (mr *MockFileDaoMockRecorder) NewFile(f interface{}) *gomock.Call
NewFile indicates an expected call of NewFile.
func (*MockFileDaoMockRecorder) SetThumbnail ¶
func (mr *MockFileDaoMockRecorder) SetThumbnail(streamId, thumb interface{}) *gomock.Call
SetThumbnail indicates an expected call of SetThumbnail.
func (*MockFileDaoMockRecorder) UpdateFile ¶
func (mr *MockFileDaoMockRecorder) UpdateFile(id, f interface{}) *gomock.Call
UpdateFile indicates an expected call of UpdateFile.
type MockInfoPageDao ¶
type MockInfoPageDao struct {
// contains filtered or unexported fields
}
MockInfoPageDao is a mock of InfoPageDao interface.
func NewMockInfoPageDao ¶
func NewMockInfoPageDao(ctrl *gomock.Controller) *MockInfoPageDao
NewMockInfoPageDao creates a new mock instance.
func (*MockInfoPageDao) EXPECT ¶
func (m *MockInfoPageDao) EXPECT() *MockInfoPageDaoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInfoPageDao) GetAll ¶
func (m *MockInfoPageDao) GetAll() ([]model.InfoPage, error)
GetAll mocks base method.
func (*MockInfoPageDao) GetById ¶
func (m *MockInfoPageDao) GetById(arg0 uint) (model.InfoPage, error)
GetById mocks base method.
type MockInfoPageDaoMockRecorder ¶
type MockInfoPageDaoMockRecorder struct {
// contains filtered or unexported fields
}
MockInfoPageDaoMockRecorder is the mock recorder for MockInfoPageDao.
func (*MockInfoPageDaoMockRecorder) GetAll ¶
func (mr *MockInfoPageDaoMockRecorder) GetAll() *gomock.Call
GetAll indicates an expected call of GetAll.
func (*MockInfoPageDaoMockRecorder) GetById ¶
func (mr *MockInfoPageDaoMockRecorder) GetById(arg0 interface{}) *gomock.Call
GetById indicates an expected call of GetById.
func (*MockInfoPageDaoMockRecorder) New ¶
func (mr *MockInfoPageDaoMockRecorder) New(arg0 interface{}) *gomock.Call
New indicates an expected call of New.
func (*MockInfoPageDaoMockRecorder) Update ¶
func (mr *MockInfoPageDaoMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockIngestServerDao ¶
type MockIngestServerDao struct {
// contains filtered or unexported fields
}
MockIngestServerDao is a mock of IngestServerDao interface.
func NewMockIngestServerDao ¶
func NewMockIngestServerDao(ctrl *gomock.Controller) *MockIngestServerDao
NewMockIngestServerDao creates a new mock instance.
func (*MockIngestServerDao) EXPECT ¶
func (m *MockIngestServerDao) EXPECT() *MockIngestServerDaoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIngestServerDao) GetBestIngestServer ¶
func (m *MockIngestServerDao) GetBestIngestServer() (model.IngestServer, error)
GetBestIngestServer mocks base method.
func (*MockIngestServerDao) GetStreamSlot ¶
func (m *MockIngestServerDao) GetStreamSlot(ingestServerID uint) (model.StreamName, error)
GetStreamSlot mocks base method.
func (*MockIngestServerDao) GetTranscodedStreamSlot ¶
func (m *MockIngestServerDao) GetTranscodedStreamSlot(ingestServerID uint) (model.StreamName, error)
GetTranscodedStreamSlot mocks base method.
func (*MockIngestServerDao) RemoveStreamFromSlot ¶
func (m *MockIngestServerDao) RemoveStreamFromSlot(streamID uint) error
RemoveStreamFromSlot mocks base method.
func (*MockIngestServerDao) SaveIngestServer ¶
func (m *MockIngestServerDao) SaveIngestServer(server model.IngestServer)
SaveIngestServer mocks base method.
func (*MockIngestServerDao) SaveSlot ¶
func (m *MockIngestServerDao) SaveSlot(slot model.StreamName)
SaveSlot mocks base method.
type MockIngestServerDaoMockRecorder ¶
type MockIngestServerDaoMockRecorder struct {
// contains filtered or unexported fields
}
MockIngestServerDaoMockRecorder is the mock recorder for MockIngestServerDao.
func (*MockIngestServerDaoMockRecorder) GetBestIngestServer ¶
func (mr *MockIngestServerDaoMockRecorder) GetBestIngestServer() *gomock.Call
GetBestIngestServer indicates an expected call of GetBestIngestServer.
func (*MockIngestServerDaoMockRecorder) GetStreamSlot ¶
func (mr *MockIngestServerDaoMockRecorder) GetStreamSlot(ingestServerID interface{}) *gomock.Call
GetStreamSlot indicates an expected call of GetStreamSlot.
func (*MockIngestServerDaoMockRecorder) GetTranscodedStreamSlot ¶
func (mr *MockIngestServerDaoMockRecorder) GetTranscodedStreamSlot(ingestServerID interface{}) *gomock.Call
GetTranscodedStreamSlot indicates an expected call of GetTranscodedStreamSlot.
func (*MockIngestServerDaoMockRecorder) RemoveStreamFromSlot ¶
func (mr *MockIngestServerDaoMockRecorder) RemoveStreamFromSlot(streamID interface{}) *gomock.Call
RemoveStreamFromSlot indicates an expected call of RemoveStreamFromSlot.
func (*MockIngestServerDaoMockRecorder) SaveIngestServer ¶
func (mr *MockIngestServerDaoMockRecorder) SaveIngestServer(server interface{}) *gomock.Call
SaveIngestServer indicates an expected call of SaveIngestServer.
func (*MockIngestServerDaoMockRecorder) SaveSlot ¶
func (mr *MockIngestServerDaoMockRecorder) SaveSlot(slot interface{}) *gomock.Call
SaveSlot indicates an expected call of SaveSlot.
type MockLectureHallsDao ¶
type MockLectureHallsDao struct {
// contains filtered or unexported fields
}
MockLectureHallsDao is a mock of LectureHallsDao interface.
func NewMockLectureHallsDao ¶
func NewMockLectureHallsDao(ctrl *gomock.Controller) *MockLectureHallsDao
NewMockLectureHallsDao creates a new mock instance.
func (*MockLectureHallsDao) CreateLectureHall ¶
func (m *MockLectureHallsDao) CreateLectureHall(lectureHall model.LectureHall)
CreateLectureHall mocks base method.
func (*MockLectureHallsDao) DeleteLectureHall ¶
func (m *MockLectureHallsDao) DeleteLectureHall(id uint) error
DeleteLectureHall mocks base method.
func (*MockLectureHallsDao) EXPECT ¶
func (m *MockLectureHallsDao) EXPECT() *MockLectureHallsDaoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLectureHallsDao) FindPreset ¶
func (m *MockLectureHallsDao) FindPreset(lectureHallID, presetID string) (model.CameraPreset, error)
FindPreset mocks base method.
func (*MockLectureHallsDao) GetAllLectureHalls ¶
func (m *MockLectureHallsDao) GetAllLectureHalls() []model.LectureHall
GetAllLectureHalls mocks base method.
func (*MockLectureHallsDao) GetLectureHallByID ¶
func (m *MockLectureHallsDao) GetLectureHallByID(id uint) (model.LectureHall, error)
GetLectureHallByID mocks base method.
func (*MockLectureHallsDao) GetLectureHallByPartialName ¶
func (m *MockLectureHallsDao) GetLectureHallByPartialName(name string) (model.LectureHall, error)
GetLectureHallByPartialName mocks base method.
func (*MockLectureHallsDao) GetStreamsForLectureHallIcal ¶
func (m *MockLectureHallsDao) GetStreamsForLectureHallIcal(userId uint, lectureHalls []uint, all bool) ([]dao.CalendarResult, error)
GetStreamsForLectureHallIcal mocks base method.
func (*MockLectureHallsDao) SaveLectureHall ¶
func (m *MockLectureHallsDao) SaveLectureHall(lectureHall model.LectureHall) error
SaveLectureHall mocks base method.
func (*MockLectureHallsDao) SaveLectureHallFullAssoc ¶
func (m *MockLectureHallsDao) SaveLectureHallFullAssoc(lectureHall model.LectureHall)
SaveLectureHallFullAssoc mocks base method.
func (*MockLectureHallsDao) SavePreset ¶
func (m *MockLectureHallsDao) SavePreset(preset model.CameraPreset) error
SavePreset mocks base method.
func (*MockLectureHallsDao) UnsetDefaults ¶
func (m *MockLectureHallsDao) UnsetDefaults(lectureHallID string) error
UnsetDefaults mocks base method.
type MockLectureHallsDaoMockRecorder ¶
type MockLectureHallsDaoMockRecorder struct {
// contains filtered or unexported fields
}
MockLectureHallsDaoMockRecorder is the mock recorder for MockLectureHallsDao.
func (*MockLectureHallsDaoMockRecorder) CreateLectureHall ¶
func (mr *MockLectureHallsDaoMockRecorder) CreateLectureHall(lectureHall interface{}) *gomock.Call
CreateLectureHall indicates an expected call of CreateLectureHall.
func (*MockLectureHallsDaoMockRecorder) DeleteLectureHall ¶
func (mr *MockLectureHallsDaoMockRecorder) DeleteLectureHall(id interface{}) *gomock.Call
DeleteLectureHall indicates an expected call of DeleteLectureHall.
func (*MockLectureHallsDaoMockRecorder) FindPreset ¶
func (mr *MockLectureHallsDaoMockRecorder) FindPreset(lectureHallID, presetID interface{}) *gomock.Call
FindPreset indicates an expected call of FindPreset.
func (*MockLectureHallsDaoMockRecorder) GetAllLectureHalls ¶
func (mr *MockLectureHallsDaoMockRecorder) GetAllLectureHalls() *gomock.Call
GetAllLectureHalls indicates an expected call of GetAllLectureHalls.
func (*MockLectureHallsDaoMockRecorder) GetLectureHallByID ¶
func (mr *MockLectureHallsDaoMockRecorder) GetLectureHallByID(id interface{}) *gomock.Call
GetLectureHallByID indicates an expected call of GetLectureHallByID.
func (*MockLectureHallsDaoMockRecorder) GetLectureHallByPartialName ¶
func (mr *MockLectureHallsDaoMockRecorder) GetLectureHallByPartialName(name interface{}) *gomock.Call
GetLectureHallByPartialName indicates an expected call of GetLectureHallByPartialName.
func (*MockLectureHallsDaoMockRecorder) GetStreamsForLectureHallIcal ¶
func (mr *MockLectureHallsDaoMockRecorder) GetStreamsForLectureHallIcal(userId, lectureHalls, all interface{}) *gomock.Call
GetStreamsForLectureHallIcal indicates an expected call of GetStreamsForLectureHallIcal.
func (*MockLectureHallsDaoMockRecorder) SaveLectureHall ¶
func (mr *MockLectureHallsDaoMockRecorder) SaveLectureHall(lectureHall interface{}) *gomock.Call
SaveLectureHall indicates an expected call of SaveLectureHall.
func (*MockLectureHallsDaoMockRecorder) SaveLectureHallFullAssoc ¶
func (mr *MockLectureHallsDaoMockRecorder) SaveLectureHallFullAssoc(lectureHall interface{}) *gomock.Call
SaveLectureHallFullAssoc indicates an expected call of SaveLectureHallFullAssoc.
func (*MockLectureHallsDaoMockRecorder) SavePreset ¶
func (mr *MockLectureHallsDaoMockRecorder) SavePreset(preset interface{}) *gomock.Call
SavePreset indicates an expected call of SavePreset.
func (*MockLectureHallsDaoMockRecorder) UnsetDefaults ¶
func (mr *MockLectureHallsDaoMockRecorder) UnsetDefaults(lectureHallID interface{}) *gomock.Call
UnsetDefaults indicates an expected call of UnsetDefaults.
type MockNotificationsDao ¶
type MockNotificationsDao struct {
// contains filtered or unexported fields
}
MockNotificationsDao is a mock of NotificationsDao interface.
func NewMockNotificationsDao ¶
func NewMockNotificationsDao(ctrl *gomock.Controller) *MockNotificationsDao
NewMockNotificationsDao creates a new mock instance.
func (*MockNotificationsDao) AddNotification ¶
func (m *MockNotificationsDao) AddNotification(notification *model.Notification) error
AddNotification mocks base method.
func (*MockNotificationsDao) DeleteNotification ¶
func (m *MockNotificationsDao) DeleteNotification(id uint) error
DeleteNotification mocks base method.
func (*MockNotificationsDao) EXPECT ¶
func (m *MockNotificationsDao) EXPECT() *MockNotificationsDaoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNotificationsDao) GetAllNotifications ¶
func (m *MockNotificationsDao) GetAllNotifications() ([]model.Notification, error)
GetAllNotifications mocks base method.
func (*MockNotificationsDao) GetNotifications ¶
func (m *MockNotificationsDao) GetNotifications(target ...model.NotificationTarget) ([]model.Notification, error)
GetNotifications mocks base method.
type MockNotificationsDaoMockRecorder ¶
type MockNotificationsDaoMockRecorder struct {
// contains filtered or unexported fields
}
MockNotificationsDaoMockRecorder is the mock recorder for MockNotificationsDao.
func (*MockNotificationsDaoMockRecorder) AddNotification ¶
func (mr *MockNotificationsDaoMockRecorder) AddNotification(notification interface{}) *gomock.Call
AddNotification indicates an expected call of AddNotification.
func (*MockNotificationsDaoMockRecorder) DeleteNotification ¶
func (mr *MockNotificationsDaoMockRecorder) DeleteNotification(id interface{}) *gomock.Call
DeleteNotification indicates an expected call of DeleteNotification.
func (*MockNotificationsDaoMockRecorder) GetAllNotifications ¶
func (mr *MockNotificationsDaoMockRecorder) GetAllNotifications() *gomock.Call
GetAllNotifications indicates an expected call of GetAllNotifications.
func (*MockNotificationsDaoMockRecorder) GetNotifications ¶
func (mr *MockNotificationsDaoMockRecorder) GetNotifications(target ...interface{}) *gomock.Call
GetNotifications indicates an expected call of GetNotifications.
type MockProgressDao ¶
type MockProgressDao struct {
// contains filtered or unexported fields
}
MockProgressDao is a mock of ProgressDao interface.
func NewMockProgressDao ¶
func NewMockProgressDao(ctrl *gomock.Controller) *MockProgressDao
NewMockProgressDao creates a new mock instance.
func (*MockProgressDao) EXPECT ¶
func (m *MockProgressDao) EXPECT() *MockProgressDaoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProgressDao) GetProgressesForUser ¶
func (m *MockProgressDao) GetProgressesForUser(userID uint) ([]model.StreamProgress, error)
GetProgressesForUser mocks base method.
func (*MockProgressDao) LoadProgress ¶
func (m *MockProgressDao) LoadProgress(userID uint, streamIDs []uint) ([]model.StreamProgress, error)
LoadProgress mocks base method.
func (*MockProgressDao) SaveProgresses ¶
func (m *MockProgressDao) SaveProgresses(progresses []model.StreamProgress) error
SaveProgresses mocks base method.
func (*MockProgressDao) SaveWatchedState ¶
func (m *MockProgressDao) SaveWatchedState(progress *model.StreamProgress) error
SaveWatchedState mocks base method.
type MockProgressDaoMockRecorder ¶
type MockProgressDaoMockRecorder struct {
// contains filtered or unexported fields
}
MockProgressDaoMockRecorder is the mock recorder for MockProgressDao.
func (*MockProgressDaoMockRecorder) GetProgressesForUser ¶
func (mr *MockProgressDaoMockRecorder) GetProgressesForUser(userID interface{}) *gomock.Call
GetProgressesForUser indicates an expected call of GetProgressesForUser.
func (*MockProgressDaoMockRecorder) LoadProgress ¶
func (mr *MockProgressDaoMockRecorder) LoadProgress(userID, streamIDs interface{}) *gomock.Call
LoadProgress indicates an expected call of LoadProgress.
func (*MockProgressDaoMockRecorder) SaveProgresses ¶
func (mr *MockProgressDaoMockRecorder) SaveProgresses(progresses interface{}) *gomock.Call
SaveProgresses indicates an expected call of SaveProgresses.
func (*MockProgressDaoMockRecorder) SaveWatchedState ¶
func (mr *MockProgressDaoMockRecorder) SaveWatchedState(progress interface{}) *gomock.Call
SaveWatchedState indicates an expected call of SaveWatchedState.
type MockRunnerDao ¶
type MockRunnerDao struct {
// contains filtered or unexported fields
}
MockRunnerDao is a mock of RunnerDao interface.
func NewMockRunnerDao ¶
func NewMockRunnerDao(ctrl *gomock.Controller) *MockRunnerDao
NewMockRunnerDao creates a new mock instance.
func (*MockRunnerDao) Delete ¶
func (m *MockRunnerDao) Delete(arg0 context.Context, arg1 string) error
Delete mocks base method.
func (*MockRunnerDao) EXPECT ¶
func (m *MockRunnerDao) EXPECT() *MockRunnerDaoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockRunnerDaoMockRecorder ¶
type MockRunnerDaoMockRecorder struct {
// contains filtered or unexported fields
}
MockRunnerDaoMockRecorder is the mock recorder for MockRunnerDao.
func (*MockRunnerDaoMockRecorder) Create ¶
func (mr *MockRunnerDaoMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockRunnerDaoMockRecorder) Delete ¶
func (mr *MockRunnerDaoMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockRunnerDaoMockRecorder) Get ¶
func (mr *MockRunnerDaoMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
type MockServerNotificationDao ¶
type MockServerNotificationDao struct {
// contains filtered or unexported fields
}
MockServerNotificationDao is a mock of ServerNotificationDao interface.
func NewMockServerNotificationDao ¶
func NewMockServerNotificationDao(ctrl *gomock.Controller) *MockServerNotificationDao
NewMockServerNotificationDao creates a new mock instance.
func (*MockServerNotificationDao) CreateServerNotification ¶
func (m *MockServerNotificationDao) CreateServerNotification(notification model.ServerNotification) error
CreateServerNotification mocks base method.
func (*MockServerNotificationDao) DeleteServerNotification ¶
func (m *MockServerNotificationDao) DeleteServerNotification(notificationId string) error
DeleteServerNotification mocks base method.
func (*MockServerNotificationDao) EXPECT ¶
func (m *MockServerNotificationDao) EXPECT() *MockServerNotificationDaoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockServerNotificationDao) GetAllServerNotifications ¶
func (m *MockServerNotificationDao) GetAllServerNotifications() ([]model.ServerNotification, error)
GetAllServerNotifications mocks base method.
func (*MockServerNotificationDao) GetCurrentServerNotifications ¶
func (m *MockServerNotificationDao) GetCurrentServerNotifications() ([]model.ServerNotification, error)
GetCurrentServerNotifications mocks base method.
func (*MockServerNotificationDao) UpdateServerNotification ¶
func (m *MockServerNotificationDao) UpdateServerNotification(notification model.ServerNotification, id string) error
UpdateServerNotification mocks base method.
type MockServerNotificationDaoMockRecorder ¶
type MockServerNotificationDaoMockRecorder struct {
// contains filtered or unexported fields
}
MockServerNotificationDaoMockRecorder is the mock recorder for MockServerNotificationDao.
func (*MockServerNotificationDaoMockRecorder) CreateServerNotification ¶
func (mr *MockServerNotificationDaoMockRecorder) CreateServerNotification(notification interface{}) *gomock.Call
CreateServerNotification indicates an expected call of CreateServerNotification.
func (*MockServerNotificationDaoMockRecorder) DeleteServerNotification ¶
func (mr *MockServerNotificationDaoMockRecorder) DeleteServerNotification(notificationId interface{}) *gomock.Call
DeleteServerNotification indicates an expected call of DeleteServerNotification.
func (*MockServerNotificationDaoMockRecorder) GetAllServerNotifications ¶
func (mr *MockServerNotificationDaoMockRecorder) GetAllServerNotifications() *gomock.Call
GetAllServerNotifications indicates an expected call of GetAllServerNotifications.
func (*MockServerNotificationDaoMockRecorder) GetCurrentServerNotifications ¶
func (mr *MockServerNotificationDaoMockRecorder) GetCurrentServerNotifications() *gomock.Call
GetCurrentServerNotifications indicates an expected call of GetCurrentServerNotifications.
func (*MockServerNotificationDaoMockRecorder) UpdateServerNotification ¶
func (mr *MockServerNotificationDaoMockRecorder) UpdateServerNotification(notification, id interface{}) *gomock.Call
UpdateServerNotification indicates an expected call of UpdateServerNotification.
type MockStatisticsDao ¶
type MockStatisticsDao struct {
// contains filtered or unexported fields
}
MockStatisticsDao is a mock of StatisticsDao interface.
func NewMockStatisticsDao ¶
func NewMockStatisticsDao(ctrl *gomock.Controller) *MockStatisticsDao
NewMockStatisticsDao creates a new mock instance.
func (*MockStatisticsDao) AddStat ¶
func (m *MockStatisticsDao) AddStat(stat model.Stat) error
AddStat mocks base method.
func (*MockStatisticsDao) EXPECT ¶
func (m *MockStatisticsDao) EXPECT() *MockStatisticsDaoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStatisticsDao) GetCourseNumLiveViews ¶
func (m *MockStatisticsDao) GetCourseNumLiveViews(courseID uint) (int, error)
GetCourseNumLiveViews mocks base method.
func (*MockStatisticsDao) GetCourseNumStudents ¶
func (m *MockStatisticsDao) GetCourseNumStudents(courseID uint) (int64, error)
GetCourseNumStudents mocks base method.
func (*MockStatisticsDao) GetCourseNumVodViews ¶
func (m *MockStatisticsDao) GetCourseNumVodViews(courseID uint) (int, error)
GetCourseNumVodViews mocks base method.
func (*MockStatisticsDao) GetCourseNumVodViewsPerDay ¶
func (m *MockStatisticsDao) GetCourseNumVodViewsPerDay(courseID uint) ([]dao.Stat, error)
GetCourseNumVodViewsPerDay mocks base method.
func (*MockStatisticsDao) GetCourseStatsHourly ¶
func (m *MockStatisticsDao) GetCourseStatsHourly(courseID uint) ([]dao.Stat, error)
GetCourseStatsHourly mocks base method.
func (*MockStatisticsDao) GetCourseStatsWeekdays ¶
func (m *MockStatisticsDao) GetCourseStatsWeekdays(courseID uint) ([]dao.Stat, error)
GetCourseStatsWeekdays mocks base method.
func (*MockStatisticsDao) GetLectureNumLiveViews ¶ added in v1.4.20
func (m *MockStatisticsDao) GetLectureNumLiveViews(streamID uint) (int, error)
GetLectureNumLiveViews mocks base method.
func (*MockStatisticsDao) GetLectureNumVodViews ¶ added in v1.4.20
func (m *MockStatisticsDao) GetLectureNumVodViews(streamID uint) (int, error)
GetLectureNumVodViews mocks base method.
func (*MockStatisticsDao) GetLectureNumVodViewsPerDay ¶ added in v1.4.20
func (m *MockStatisticsDao) GetLectureNumVodViewsPerDay(streamID uint) ([]dao.Stat, error)
GetLectureNumVodViewsPerDay mocks base method.
func (*MockStatisticsDao) GetLectureStats ¶ added in v1.4.20
func (m *MockStatisticsDao) GetLectureStats(courseID, lectureID uint) ([]dao.Stat, error)
GetLectureStats mocks base method.
func (*MockStatisticsDao) GetLectureStatsHourly ¶ added in v1.4.20
func (m *MockStatisticsDao) GetLectureStatsHourly(courseID, streamID uint) ([]dao.Stat, error)
GetLectureStatsHourly mocks base method.
func (*MockStatisticsDao) GetLectureStatsWeekdays ¶ added in v1.4.20
func (m *MockStatisticsDao) GetLectureStatsWeekdays(courseID, streamID uint) ([]dao.Stat, error)
GetLectureStatsWeekdays mocks base method.
func (*MockStatisticsDao) GetStreamNumLiveViews ¶
func (m *MockStatisticsDao) GetStreamNumLiveViews(streamID uint) (int, error)
GetStreamNumLiveViews mocks base method.
func (*MockStatisticsDao) GetStudentActivityCourseStats ¶
func (m *MockStatisticsDao) GetStudentActivityCourseStats(courseID uint, live bool) ([]dao.Stat, error)
GetStudentActivityCourseStats mocks base method.
type MockStatisticsDaoMockRecorder ¶
type MockStatisticsDaoMockRecorder struct {
// contains filtered or unexported fields
}
MockStatisticsDaoMockRecorder is the mock recorder for MockStatisticsDao.
func (*MockStatisticsDaoMockRecorder) AddStat ¶
func (mr *MockStatisticsDaoMockRecorder) AddStat(stat any) *gomock.Call
AddStat indicates an expected call of AddStat.
func (*MockStatisticsDaoMockRecorder) GetCourseNumLiveViews ¶
func (mr *MockStatisticsDaoMockRecorder) GetCourseNumLiveViews(courseID any) *gomock.Call
GetCourseNumLiveViews indicates an expected call of GetCourseNumLiveViews.
func (*MockStatisticsDaoMockRecorder) GetCourseNumStudents ¶
func (mr *MockStatisticsDaoMockRecorder) GetCourseNumStudents(courseID any) *gomock.Call
GetCourseNumStudents indicates an expected call of GetCourseNumStudents.
func (*MockStatisticsDaoMockRecorder) GetCourseNumVodViews ¶
func (mr *MockStatisticsDaoMockRecorder) GetCourseNumVodViews(courseID any) *gomock.Call
GetCourseNumVodViews indicates an expected call of GetCourseNumVodViews.
func (*MockStatisticsDaoMockRecorder) GetCourseNumVodViewsPerDay ¶
func (mr *MockStatisticsDaoMockRecorder) GetCourseNumVodViewsPerDay(courseID any) *gomock.Call
GetCourseNumVodViewsPerDay indicates an expected call of GetCourseNumVodViewsPerDay.
func (*MockStatisticsDaoMockRecorder) GetCourseStatsHourly ¶
func (mr *MockStatisticsDaoMockRecorder) GetCourseStatsHourly(courseID any) *gomock.Call
GetCourseStatsHourly indicates an expected call of GetCourseStatsHourly.
func (*MockStatisticsDaoMockRecorder) GetCourseStatsWeekdays ¶
func (mr *MockStatisticsDaoMockRecorder) GetCourseStatsWeekdays(courseID any) *gomock.Call
GetCourseStatsWeekdays indicates an expected call of GetCourseStatsWeekdays.
func (*MockStatisticsDaoMockRecorder) GetLectureNumLiveViews ¶ added in v1.4.20
func (mr *MockStatisticsDaoMockRecorder) GetLectureNumLiveViews(streamID any) *gomock.Call
GetLectureNumLiveViews indicates an expected call of GetLectureNumLiveViews.
func (*MockStatisticsDaoMockRecorder) GetLectureNumVodViews ¶ added in v1.4.20
func (mr *MockStatisticsDaoMockRecorder) GetLectureNumVodViews(streamID any) *gomock.Call
GetLectureNumVodViews indicates an expected call of GetLectureNumVodViews.
func (*MockStatisticsDaoMockRecorder) GetLectureNumVodViewsPerDay ¶ added in v1.4.20
func (mr *MockStatisticsDaoMockRecorder) GetLectureNumVodViewsPerDay(streamID any) *gomock.Call
GetLectureNumVodViewsPerDay indicates an expected call of GetLectureNumVodViewsPerDay.
func (*MockStatisticsDaoMockRecorder) GetLectureStats ¶ added in v1.4.20
func (mr *MockStatisticsDaoMockRecorder) GetLectureStats(courseID, lectureID any) *gomock.Call
GetLectureStats indicates an expected call of GetLectureStats.
func (*MockStatisticsDaoMockRecorder) GetLectureStatsHourly ¶ added in v1.4.20
func (mr *MockStatisticsDaoMockRecorder) GetLectureStatsHourly(courseID, streamID any) *gomock.Call
GetLectureStatsHourly indicates an expected call of GetLectureStatsHourly.
func (*MockStatisticsDaoMockRecorder) GetLectureStatsWeekdays ¶ added in v1.4.20
func (mr *MockStatisticsDaoMockRecorder) GetLectureStatsWeekdays(courseID, streamID any) *gomock.Call
GetLectureStatsWeekdays indicates an expected call of GetLectureStatsWeekdays.
func (*MockStatisticsDaoMockRecorder) GetStreamNumLiveViews ¶
func (mr *MockStatisticsDaoMockRecorder) GetStreamNumLiveViews(streamID any) *gomock.Call
GetStreamNumLiveViews indicates an expected call of GetStreamNumLiveViews.
func (*MockStatisticsDaoMockRecorder) GetStudentActivityCourseStats ¶
func (mr *MockStatisticsDaoMockRecorder) GetStudentActivityCourseStats(courseID, live any) *gomock.Call
GetStudentActivityCourseStats indicates an expected call of GetStudentActivityCourseStats.
type MockStreamsDao ¶
type MockStreamsDao struct {
// contains filtered or unexported fields
}
MockStreamsDao is a mock of StreamsDao interface.
func NewMockStreamsDao ¶
func NewMockStreamsDao(ctrl *gomock.Controller) *MockStreamsDao
NewMockStreamsDao creates a new mock instance.
func (*MockStreamsDao) AddVodView ¶
func (m *MockStreamsDao) AddVodView(id string) error
AddVodView mocks base method.
func (*MockStreamsDao) ClearWorkersForStream ¶
func (m *MockStreamsDao) ClearWorkersForStream(stream model.Stream) error
ClearWorkersForStream mocks base method.
func (*MockStreamsDao) CreateStream ¶
func (m *MockStreamsDao) CreateStream(stream *model.Stream) error
CreateStream mocks base method.
func (*MockStreamsDao) DeleteLectureSeries ¶
func (m *MockStreamsDao) DeleteLectureSeries(arg0 string) error
DeleteLectureSeries mocks base method.
func (*MockStreamsDao) DeleteSilences ¶
func (m *MockStreamsDao) DeleteSilences(streamID string) error
DeleteSilences mocks base method.
func (*MockStreamsDao) DeleteStream ¶
func (m *MockStreamsDao) DeleteStream(streamID string)
DeleteStream mocks base method.
func (*MockStreamsDao) DeleteStreamsWithTumID ¶
func (m *MockStreamsDao) DeleteStreamsWithTumID(ids []uint)
DeleteStreamsWithTumID mocks base method.
func (*MockStreamsDao) DeleteUnit ¶
func (m *MockStreamsDao) DeleteUnit(id uint)
DeleteUnit mocks base method.
func (*MockStreamsDao) EXPECT ¶
func (m *MockStreamsDao) EXPECT() *MockStreamsDaoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStreamsDao) ExecAllStreamsWithCoursesAndSubtitlesBatched ¶ added in v1.4.23
func (m *MockStreamsDao) ExecAllStreamsWithCoursesAndSubtitlesBatched(f func([]dao.StreamWithCourseAndSubtitles))
ExecAllStreamsWithCoursesAndSubtitlesBatched mocks base method.
func (*MockStreamsDao) GetAllStreams ¶
func (m *MockStreamsDao) GetAllStreams() ([]model.Stream, error)
GetAllStreams mocks base method.
func (*MockStreamsDao) GetCurrentLive ¶
GetCurrentLive mocks base method.
func (*MockStreamsDao) GetCurrentLiveNonHidden ¶
GetCurrentLiveNonHidden mocks base method.
func (*MockStreamsDao) GetDuePremieresForWorkers ¶
func (m *MockStreamsDao) GetDuePremieresForWorkers() []model.Stream
GetDuePremieresForWorkers mocks base method.
func (*MockStreamsDao) GetDueStreamsForWorkers ¶
func (m *MockStreamsDao) GetDueStreamsForWorkers() []model.Stream
GetDueStreamsForWorkers mocks base method.
func (*MockStreamsDao) GetLiveStreamsInLectureHall ¶
func (m *MockStreamsDao) GetLiveStreamsInLectureHall(lectureHallId uint) ([]model.Stream, error)
GetLiveStreamsInLectureHall mocks base method.
func (*MockStreamsDao) GetSoonStartingStreamInfo ¶ added in v1.4.22
func (m *MockStreamsDao) GetSoonStartingStreamInfo(user *model.User, slug string, year int, term string) (string, string, error)
GetSoonStartingStreamInfo mocks base method.
func (*MockStreamsDao) GetStreamByID ¶
GetStreamByID mocks base method.
func (*MockStreamsDao) GetStreamByKey ¶
GetStreamByKey mocks base method.
func (*MockStreamsDao) GetStreamByTumOnlineID ¶
GetStreamByTumOnlineID mocks base method.
func (*MockStreamsDao) GetStreamsByIds ¶
func (m *MockStreamsDao) GetStreamsByIds(ids []uint) ([]model.Stream, error)
GetStreamsByIds mocks base method.
func (*MockStreamsDao) GetStreamsWithWatchState ¶
func (m *MockStreamsDao) GetStreamsWithWatchState(courseID, userID uint) ([]model.Stream, error)
GetStreamsWithWatchState mocks base method.
func (*MockStreamsDao) GetTranscodingProgressByVersion ¶
func (m *MockStreamsDao) GetTranscodingProgressByVersion(streamVersion model.StreamVersion, streamId uint) (model.TranscodingProgress, error)
GetTranscodingProgressByVersion mocks base method.
func (*MockStreamsDao) GetUnitByID ¶
func (m *MockStreamsDao) GetUnitByID(id string) (model.StreamUnit, error)
GetUnitByID mocks base method.
func (*MockStreamsDao) GetWorkersForStream ¶
GetWorkersForStream mocks base method.
func (*MockStreamsDao) RemoveTranscodingProgress ¶
func (m *MockStreamsDao) RemoveTranscodingProgress(streamVersion model.StreamVersion, streamId uint) error
RemoveTranscodingProgress mocks base method.
func (*MockStreamsDao) SaveCAMURL ¶
func (m *MockStreamsDao) SaveCAMURL(stream *model.Stream, url string)
SaveCAMURL mocks base method.
func (*MockStreamsDao) SaveCOMBURL ¶
func (m *MockStreamsDao) SaveCOMBURL(stream *model.Stream, url string)
SaveCOMBURL mocks base method.
func (*MockStreamsDao) SaveEndedState ¶
func (m *MockStreamsDao) SaveEndedState(streamID uint, hasEnded bool) error
SaveEndedState mocks base method.
func (*MockStreamsDao) SavePRESURL ¶
func (m *MockStreamsDao) SavePRESURL(stream *model.Stream, url string)
SavePRESURL mocks base method.
func (*MockStreamsDao) SaveStream ¶
func (m *MockStreamsDao) SaveStream(vod *model.Stream) error
SaveStream mocks base method.
func (*MockStreamsDao) SaveTranscodingProgress ¶
func (m *MockStreamsDao) SaveTranscodingProgress(progress model.TranscodingProgress) error
SaveTranscodingProgress mocks base method.
func (*MockStreamsDao) SaveWorkerForStream ¶
SaveWorkerForStream mocks base method.
func (*MockStreamsDao) SetLectureHall ¶
func (m *MockStreamsDao) SetLectureHall(streamIDs []uint, lectureHallID uint) error
SetLectureHall mocks base method.
func (*MockStreamsDao) SetStreamLiveNowTimestampById ¶
func (m *MockStreamsDao) SetStreamLiveNowTimestampById(streamID uint, liveNowTimestamp time.Time) error
SetStreamLiveNowTimestampById mocks base method.
func (*MockStreamsDao) SetStreamNotLiveById ¶
func (m *MockStreamsDao) SetStreamNotLiveById(streamID uint) error
SetStreamNotLiveById mocks base method.
func (*MockStreamsDao) SetStreamRequested ¶
func (m *MockStreamsDao) SetStreamRequested(stream model.Stream) error
SetStreamRequested mocks base method.
func (*MockStreamsDao) ToggleVisibility ¶
func (m *MockStreamsDao) ToggleVisibility(streamId uint, private bool) error
ToggleVisibility mocks base method.
func (*MockStreamsDao) UnsetLectureHall ¶
func (m *MockStreamsDao) UnsetLectureHall(streamIDs []uint) error
UnsetLectureHall mocks base method.
func (*MockStreamsDao) UpdateLectureSeries ¶
func (m *MockStreamsDao) UpdateLectureSeries(arg0 model.Stream) error
UpdateLectureSeries mocks base method.
func (*MockStreamsDao) UpdateSilences ¶
func (m *MockStreamsDao) UpdateSilences(silences []model.Silence, streamID string) error
UpdateSilences mocks base method.
func (*MockStreamsDao) UpdateStream ¶
func (m *MockStreamsDao) UpdateStream(stream model.Stream) error
UpdateStream mocks base method.
func (*MockStreamsDao) UpdateStreamFullAssoc ¶
func (m *MockStreamsDao) UpdateStreamFullAssoc(vod *model.Stream) error
UpdateStreamFullAssoc mocks base method.
type MockStreamsDaoMockRecorder ¶
type MockStreamsDaoMockRecorder struct {
// contains filtered or unexported fields
}
MockStreamsDaoMockRecorder is the mock recorder for MockStreamsDao.
func (*MockStreamsDaoMockRecorder) AddVodView ¶
func (mr *MockStreamsDaoMockRecorder) AddVodView(id interface{}) *gomock.Call
AddVodView indicates an expected call of AddVodView.
func (*MockStreamsDaoMockRecorder) ClearWorkersForStream ¶
func (mr *MockStreamsDaoMockRecorder) ClearWorkersForStream(stream interface{}) *gomock.Call
ClearWorkersForStream indicates an expected call of ClearWorkersForStream.
func (*MockStreamsDaoMockRecorder) CreateStream ¶
func (mr *MockStreamsDaoMockRecorder) CreateStream(stream interface{}) *gomock.Call
CreateStream indicates an expected call of CreateStream.
func (*MockStreamsDaoMockRecorder) DeleteLectureSeries ¶
func (mr *MockStreamsDaoMockRecorder) DeleteLectureSeries(arg0 interface{}) *gomock.Call
DeleteLectureSeries indicates an expected call of DeleteLectureSeries.
func (*MockStreamsDaoMockRecorder) DeleteSilences ¶
func (mr *MockStreamsDaoMockRecorder) DeleteSilences(streamID interface{}) *gomock.Call
DeleteSilences indicates an expected call of DeleteSilences.
func (*MockStreamsDaoMockRecorder) DeleteStream ¶
func (mr *MockStreamsDaoMockRecorder) DeleteStream(streamID interface{}) *gomock.Call
DeleteStream indicates an expected call of DeleteStream.
func (*MockStreamsDaoMockRecorder) DeleteStreamsWithTumID ¶
func (mr *MockStreamsDaoMockRecorder) DeleteStreamsWithTumID(ids interface{}) *gomock.Call
DeleteStreamsWithTumID indicates an expected call of DeleteStreamsWithTumID.
func (*MockStreamsDaoMockRecorder) DeleteUnit ¶
func (mr *MockStreamsDaoMockRecorder) DeleteUnit(id interface{}) *gomock.Call
DeleteUnit indicates an expected call of DeleteUnit.
func (*MockStreamsDaoMockRecorder) ExecAllStreamsWithCoursesAndSubtitlesBatched ¶ added in v1.4.23
func (mr *MockStreamsDaoMockRecorder) ExecAllStreamsWithCoursesAndSubtitlesBatched(f interface{}) *gomock.Call
ExecAllStreamsWithCoursesAndSubtitlesBatched indicates an expected call of ExecAllStreamsWithCoursesAndSubtitlesBatched.
func (*MockStreamsDaoMockRecorder) GetAllStreams ¶
func (mr *MockStreamsDaoMockRecorder) GetAllStreams() *gomock.Call
GetAllStreams indicates an expected call of GetAllStreams.
func (*MockStreamsDaoMockRecorder) GetCurrentLive ¶
func (mr *MockStreamsDaoMockRecorder) GetCurrentLive(ctx interface{}) *gomock.Call
GetCurrentLive indicates an expected call of GetCurrentLive.
func (*MockStreamsDaoMockRecorder) GetCurrentLiveNonHidden ¶
func (mr *MockStreamsDaoMockRecorder) GetCurrentLiveNonHidden(ctx interface{}) *gomock.Call
GetCurrentLiveNonHidden indicates an expected call of GetCurrentLiveNonHidden.
func (*MockStreamsDaoMockRecorder) GetDuePremieresForWorkers ¶
func (mr *MockStreamsDaoMockRecorder) GetDuePremieresForWorkers() *gomock.Call
GetDuePremieresForWorkers indicates an expected call of GetDuePremieresForWorkers.
func (*MockStreamsDaoMockRecorder) GetDueStreamsForWorkers ¶
func (mr *MockStreamsDaoMockRecorder) GetDueStreamsForWorkers() *gomock.Call
GetDueStreamsForWorkers indicates an expected call of GetDueStreamsForWorkers.
func (*MockStreamsDaoMockRecorder) GetLiveStreamsInLectureHall ¶
func (mr *MockStreamsDaoMockRecorder) GetLiveStreamsInLectureHall(lectureHallId interface{}) *gomock.Call
GetLiveStreamsInLectureHall indicates an expected call of GetLiveStreamsInLectureHall.
func (*MockStreamsDaoMockRecorder) GetSoonStartingStreamInfo ¶ added in v1.4.22
func (mr *MockStreamsDaoMockRecorder) GetSoonStartingStreamInfo(user, slug, year, term interface{}) *gomock.Call
GetSoonStartingStreamInfo indicates an expected call of GetSoonStartingStreamInfo.
func (*MockStreamsDaoMockRecorder) GetStreamByID ¶
func (mr *MockStreamsDaoMockRecorder) GetStreamByID(ctx, id interface{}) *gomock.Call
GetStreamByID indicates an expected call of GetStreamByID.
func (*MockStreamsDaoMockRecorder) GetStreamByKey ¶
func (mr *MockStreamsDaoMockRecorder) GetStreamByKey(ctx, key interface{}) *gomock.Call
GetStreamByKey indicates an expected call of GetStreamByKey.
func (*MockStreamsDaoMockRecorder) GetStreamByTumOnlineID ¶
func (mr *MockStreamsDaoMockRecorder) GetStreamByTumOnlineID(ctx, id interface{}) *gomock.Call
GetStreamByTumOnlineID indicates an expected call of GetStreamByTumOnlineID.
func (*MockStreamsDaoMockRecorder) GetStreamsByIds ¶
func (mr *MockStreamsDaoMockRecorder) GetStreamsByIds(ids interface{}) *gomock.Call
GetStreamsByIds indicates an expected call of GetStreamsByIds.
func (*MockStreamsDaoMockRecorder) GetStreamsWithWatchState ¶
func (mr *MockStreamsDaoMockRecorder) GetStreamsWithWatchState(courseID, userID interface{}) *gomock.Call
GetStreamsWithWatchState indicates an expected call of GetStreamsWithWatchState.
func (*MockStreamsDaoMockRecorder) GetTranscodingProgressByVersion ¶
func (mr *MockStreamsDaoMockRecorder) GetTranscodingProgressByVersion(streamVersion, streamId interface{}) *gomock.Call
GetTranscodingProgressByVersion indicates an expected call of GetTranscodingProgressByVersion.
func (*MockStreamsDaoMockRecorder) GetUnitByID ¶
func (mr *MockStreamsDaoMockRecorder) GetUnitByID(id interface{}) *gomock.Call
GetUnitByID indicates an expected call of GetUnitByID.
func (*MockStreamsDaoMockRecorder) GetWorkersForStream ¶
func (mr *MockStreamsDaoMockRecorder) GetWorkersForStream(stream interface{}) *gomock.Call
GetWorkersForStream indicates an expected call of GetWorkersForStream.
func (*MockStreamsDaoMockRecorder) RemoveTranscodingProgress ¶
func (mr *MockStreamsDaoMockRecorder) RemoveTranscodingProgress(streamVersion, streamId interface{}) *gomock.Call
RemoveTranscodingProgress indicates an expected call of RemoveTranscodingProgress.
func (*MockStreamsDaoMockRecorder) SaveCAMURL ¶
func (mr *MockStreamsDaoMockRecorder) SaveCAMURL(stream, url interface{}) *gomock.Call
SaveCAMURL indicates an expected call of SaveCAMURL.
func (*MockStreamsDaoMockRecorder) SaveCOMBURL ¶
func (mr *MockStreamsDaoMockRecorder) SaveCOMBURL(stream, url interface{}) *gomock.Call
SaveCOMBURL indicates an expected call of SaveCOMBURL.
func (*MockStreamsDaoMockRecorder) SaveEndedState ¶
func (mr *MockStreamsDaoMockRecorder) SaveEndedState(streamID, hasEnded interface{}) *gomock.Call
SaveEndedState indicates an expected call of SaveEndedState.
func (*MockStreamsDaoMockRecorder) SavePRESURL ¶
func (mr *MockStreamsDaoMockRecorder) SavePRESURL(stream, url interface{}) *gomock.Call
SavePRESURL indicates an expected call of SavePRESURL.
func (*MockStreamsDaoMockRecorder) SaveStream ¶
func (mr *MockStreamsDaoMockRecorder) SaveStream(vod interface{}) *gomock.Call
SaveStream indicates an expected call of SaveStream.
func (*MockStreamsDaoMockRecorder) SaveTranscodingProgress ¶
func (mr *MockStreamsDaoMockRecorder) SaveTranscodingProgress(progress interface{}) *gomock.Call
SaveTranscodingProgress indicates an expected call of SaveTranscodingProgress.
func (*MockStreamsDaoMockRecorder) SaveWorkerForStream ¶
func (mr *MockStreamsDaoMockRecorder) SaveWorkerForStream(stream, worker interface{}) *gomock.Call
SaveWorkerForStream indicates an expected call of SaveWorkerForStream.
func (*MockStreamsDaoMockRecorder) SetLectureHall ¶
func (mr *MockStreamsDaoMockRecorder) SetLectureHall(streamIDs, lectureHallID interface{}) *gomock.Call
SetLectureHall indicates an expected call of SetLectureHall.
func (*MockStreamsDaoMockRecorder) SetStreamLiveNowTimestampById ¶
func (mr *MockStreamsDaoMockRecorder) SetStreamLiveNowTimestampById(streamID, liveNowTimestamp interface{}) *gomock.Call
SetStreamLiveNowTimestampById indicates an expected call of SetStreamLiveNowTimestampById.
func (*MockStreamsDaoMockRecorder) SetStreamNotLiveById ¶
func (mr *MockStreamsDaoMockRecorder) SetStreamNotLiveById(streamID interface{}) *gomock.Call
SetStreamNotLiveById indicates an expected call of SetStreamNotLiveById.
func (*MockStreamsDaoMockRecorder) SetStreamRequested ¶
func (mr *MockStreamsDaoMockRecorder) SetStreamRequested(stream interface{}) *gomock.Call
SetStreamRequested indicates an expected call of SetStreamRequested.
func (*MockStreamsDaoMockRecorder) ToggleVisibility ¶
func (mr *MockStreamsDaoMockRecorder) ToggleVisibility(streamId, private interface{}) *gomock.Call
ToggleVisibility indicates an expected call of ToggleVisibility.
func (*MockStreamsDaoMockRecorder) UnsetLectureHall ¶
func (mr *MockStreamsDaoMockRecorder) UnsetLectureHall(streamIDs interface{}) *gomock.Call
UnsetLectureHall indicates an expected call of UnsetLectureHall.
func (*MockStreamsDaoMockRecorder) UpdateLectureSeries ¶
func (mr *MockStreamsDaoMockRecorder) UpdateLectureSeries(arg0 interface{}) *gomock.Call
UpdateLectureSeries indicates an expected call of UpdateLectureSeries.
func (*MockStreamsDaoMockRecorder) UpdateSilences ¶
func (mr *MockStreamsDaoMockRecorder) UpdateSilences(silences, streamID interface{}) *gomock.Call
UpdateSilences indicates an expected call of UpdateSilences.
func (*MockStreamsDaoMockRecorder) UpdateStream ¶
func (mr *MockStreamsDaoMockRecorder) UpdateStream(stream interface{}) *gomock.Call
UpdateStream indicates an expected call of UpdateStream.
func (*MockStreamsDaoMockRecorder) UpdateStreamFullAssoc ¶
func (mr *MockStreamsDaoMockRecorder) UpdateStreamFullAssoc(vod interface{}) *gomock.Call
UpdateStreamFullAssoc indicates an expected call of UpdateStreamFullAssoc.
type MockSubtitlesDao ¶
type MockSubtitlesDao struct {
// contains filtered or unexported fields
}
MockSubtitlesDao is a mock of SubtitlesDao interface.
func NewMockSubtitlesDao ¶
func NewMockSubtitlesDao(ctrl *gomock.Controller) *MockSubtitlesDao
NewMockSubtitlesDao creates a new mock instance.
func (*MockSubtitlesDao) CreateOrUpsert ¶
CreateOrUpsert mocks base method.
func (*MockSubtitlesDao) Delete ¶
func (m *MockSubtitlesDao) Delete(arg0 context.Context, arg1 uint) error
Delete mocks base method.
func (*MockSubtitlesDao) EXPECT ¶
func (m *MockSubtitlesDao) EXPECT() *MockSubtitlesDaoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSubtitlesDao) GetByStreamIDandLang ¶
func (m *MockSubtitlesDao) GetByStreamIDandLang(arg0 context.Context, arg1 uint, arg2 string) (model.Subtitles, error)
GetByStreamIDandLang mocks base method.
type MockSubtitlesDaoMockRecorder ¶
type MockSubtitlesDaoMockRecorder struct {
// contains filtered or unexported fields
}
MockSubtitlesDaoMockRecorder is the mock recorder for MockSubtitlesDao.
func (*MockSubtitlesDaoMockRecorder) Create ¶
func (mr *MockSubtitlesDaoMockRecorder) Create(c, it interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockSubtitlesDaoMockRecorder) CreateOrUpsert ¶
func (mr *MockSubtitlesDaoMockRecorder) CreateOrUpsert(arg0, arg1 interface{}) *gomock.Call
CreateOrUpsert indicates an expected call of CreateOrUpsert.
func (*MockSubtitlesDaoMockRecorder) Delete ¶
func (mr *MockSubtitlesDaoMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockSubtitlesDaoMockRecorder) Get ¶
func (mr *MockSubtitlesDaoMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockSubtitlesDaoMockRecorder) GetByStreamIDandLang ¶
func (mr *MockSubtitlesDaoMockRecorder) GetByStreamIDandLang(arg0, arg1, arg2 interface{}) *gomock.Call
GetByStreamIDandLang indicates an expected call of GetByStreamIDandLang.
type MockTokenDao ¶
type MockTokenDao struct {
// contains filtered or unexported fields
}
MockTokenDao is a mock of TokenDao interface.
func NewMockTokenDao ¶
func NewMockTokenDao(ctrl *gomock.Controller) *MockTokenDao
NewMockTokenDao creates a new mock instance.
func (*MockTokenDao) AddToken ¶
func (m *MockTokenDao) AddToken(token model.Token) error
AddToken mocks base method.
func (*MockTokenDao) DeleteToken ¶
func (m *MockTokenDao) DeleteToken(id string) error
DeleteToken mocks base method.
func (*MockTokenDao) EXPECT ¶
func (m *MockTokenDao) EXPECT() *MockTokenDaoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTokenDao) GetAllTokens ¶
func (m *MockTokenDao) GetAllTokens(user *model.User) ([]dao.AllTokensDto, error)
GetAllTokens mocks base method.
func (*MockTokenDao) GetToken ¶
func (m *MockTokenDao) GetToken(token string) (model.Token, error)
GetToken mocks base method.
func (*MockTokenDao) GetTokenByID ¶ added in v1.4.22
func (m *MockTokenDao) GetTokenByID(id string) (model.Token, error)
GetTokenByID mocks base method.
type MockTokenDaoMockRecorder ¶
type MockTokenDaoMockRecorder struct {
// contains filtered or unexported fields
}
MockTokenDaoMockRecorder is the mock recorder for MockTokenDao.
func (*MockTokenDaoMockRecorder) AddToken ¶
func (mr *MockTokenDaoMockRecorder) AddToken(token interface{}) *gomock.Call
AddToken indicates an expected call of AddToken.
func (*MockTokenDaoMockRecorder) DeleteToken ¶
func (mr *MockTokenDaoMockRecorder) DeleteToken(id interface{}) *gomock.Call
DeleteToken indicates an expected call of DeleteToken.
func (*MockTokenDaoMockRecorder) GetAllTokens ¶
func (mr *MockTokenDaoMockRecorder) GetAllTokens(user interface{}) *gomock.Call
GetAllTokens indicates an expected call of GetAllTokens.
func (*MockTokenDaoMockRecorder) GetToken ¶
func (mr *MockTokenDaoMockRecorder) GetToken(token interface{}) *gomock.Call
GetToken indicates an expected call of GetToken.
func (*MockTokenDaoMockRecorder) GetTokenByID ¶ added in v1.4.22
func (mr *MockTokenDaoMockRecorder) GetTokenByID(id interface{}) *gomock.Call
GetTokenByID indicates an expected call of GetTokenByID.
func (*MockTokenDaoMockRecorder) TokenUsed ¶
func (mr *MockTokenDaoMockRecorder) TokenUsed(token interface{}) *gomock.Call
TokenUsed indicates an expected call of TokenUsed.
type MockTranscodingFailureDao ¶
type MockTranscodingFailureDao struct {
// contains filtered or unexported fields
}
MockTranscodingFailureDao is a mock of TranscodingFailureDao interface.
func NewMockTranscodingFailureDao ¶
func NewMockTranscodingFailureDao(ctrl *gomock.Controller) *MockTranscodingFailureDao
NewMockTranscodingFailureDao creates a new mock instance.
func (*MockTranscodingFailureDao) All ¶
func (m *MockTranscodingFailureDao) All() ([]model.TranscodingFailure, error)
All mocks base method.
func (*MockTranscodingFailureDao) Delete ¶
func (m *MockTranscodingFailureDao) Delete(id uint) error
Delete mocks base method.
func (*MockTranscodingFailureDao) EXPECT ¶
func (m *MockTranscodingFailureDao) EXPECT() *MockTranscodingFailureDaoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTranscodingFailureDao) New ¶
func (m *MockTranscodingFailureDao) New(arg0 *model.TranscodingFailure) error
New mocks base method.
type MockTranscodingFailureDaoMockRecorder ¶
type MockTranscodingFailureDaoMockRecorder struct {
// contains filtered or unexported fields
}
MockTranscodingFailureDaoMockRecorder is the mock recorder for MockTranscodingFailureDao.
func (*MockTranscodingFailureDaoMockRecorder) All ¶
func (mr *MockTranscodingFailureDaoMockRecorder) All() *gomock.Call
All indicates an expected call of All.
func (*MockTranscodingFailureDaoMockRecorder) Delete ¶
func (mr *MockTranscodingFailureDaoMockRecorder) Delete(id interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockTranscodingFailureDaoMockRecorder) New ¶
func (mr *MockTranscodingFailureDaoMockRecorder) New(arg0 interface{}) *gomock.Call
New indicates an expected call of New.
type MockUploadKeyDao ¶
type MockUploadKeyDao struct {
// contains filtered or unexported fields
}
MockUploadKeyDao is a mock of UploadKeyDao interface.
func NewMockUploadKeyDao ¶
func NewMockUploadKeyDao(ctrl *gomock.Controller) *MockUploadKeyDao
NewMockUploadKeyDao creates a new mock instance.
func (*MockUploadKeyDao) CreateUploadKey ¶
func (m *MockUploadKeyDao) CreateUploadKey(key string, stream uint, videoType model.VideoType) error
CreateUploadKey mocks base method.
func (*MockUploadKeyDao) DeleteUploadKey ¶
func (m *MockUploadKeyDao) DeleteUploadKey(key model.UploadKey) error
DeleteUploadKey mocks base method.
func (*MockUploadKeyDao) EXPECT ¶
func (m *MockUploadKeyDao) EXPECT() *MockUploadKeyDaoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUploadKeyDao) GetUploadKey ¶
func (m *MockUploadKeyDao) GetUploadKey(key string) (model.UploadKey, error)
GetUploadKey mocks base method.
type MockUploadKeyDaoMockRecorder ¶
type MockUploadKeyDaoMockRecorder struct {
// contains filtered or unexported fields
}
MockUploadKeyDaoMockRecorder is the mock recorder for MockUploadKeyDao.
func (*MockUploadKeyDaoMockRecorder) CreateUploadKey ¶
func (mr *MockUploadKeyDaoMockRecorder) CreateUploadKey(key, stream, videoType interface{}) *gomock.Call
CreateUploadKey indicates an expected call of CreateUploadKey.
func (*MockUploadKeyDaoMockRecorder) DeleteUploadKey ¶
func (mr *MockUploadKeyDaoMockRecorder) DeleteUploadKey(key interface{}) *gomock.Call
DeleteUploadKey indicates an expected call of DeleteUploadKey.
func (*MockUploadKeyDaoMockRecorder) GetUploadKey ¶
func (mr *MockUploadKeyDaoMockRecorder) GetUploadKey(key interface{}) *gomock.Call
GetUploadKey indicates an expected call of GetUploadKey.
type MockUsersDao ¶
type MockUsersDao struct {
// contains filtered or unexported fields
}
MockUsersDao is a mock of UsersDao interface.
func NewMockUsersDao ¶
func NewMockUsersDao(ctrl *gomock.Controller) *MockUsersDao
NewMockUsersDao creates a new mock instance.
func (*MockUsersDao) AddUserSetting ¶
func (m *MockUsersDao) AddUserSetting(userSetting *model.UserSetting) error
AddUserSetting mocks base method.
func (*MockUsersDao) AddUsersToCourseByTUMIDs ¶
func (m *MockUsersDao) AddUsersToCourseByTUMIDs(matrNr []string, courseID uint) error
AddUsersToCourseByTUMIDs mocks base method.
func (*MockUsersDao) AreUsersEmpty ¶
func (m *MockUsersDao) AreUsersEmpty(ctx context.Context) (bool, error)
AreUsersEmpty mocks base method.
func (*MockUsersDao) CreateRegisterLink ¶
func (m *MockUsersDao) CreateRegisterLink(ctx context.Context, user model.User) (model.RegisterLink, error)
CreateRegisterLink mocks base method.
func (*MockUsersDao) CreateUser ¶
CreateUser mocks base method.
func (*MockUsersDao) DeleteResetKey ¶
func (m *MockUsersDao) DeleteResetKey(key string)
DeleteResetKey mocks base method.
func (*MockUsersDao) DeleteUser ¶
func (m *MockUsersDao) DeleteUser(ctx context.Context, uid uint) error
DeleteUser mocks base method.
func (*MockUsersDao) EXPECT ¶
func (m *MockUsersDao) EXPECT() *MockUsersDaoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUsersDao) GetAllAdminsAndLecturers ¶
func (m *MockUsersDao) GetAllAdminsAndLecturers(users *[]model.User) error
GetAllAdminsAndLecturers mocks base method.
func (*MockUsersDao) GetUserByEmail ¶
GetUserByEmail mocks base method.
func (*MockUsersDao) GetUserByID ¶
GetUserByID mocks base method.
func (*MockUsersDao) GetUserByResetKey ¶
func (m *MockUsersDao) GetUserByResetKey(key string) (model.User, error)
GetUserByResetKey mocks base method.
func (*MockUsersDao) HasPinnedCourse ¶
HasPinnedCourse mocks base method.
func (*MockUsersDao) IsUserAdmin ¶
IsUserAdmin mocks base method.
func (*MockUsersDao) SearchUser ¶
func (m *MockUsersDao) SearchUser(query string) ([]model.User, error)
SearchUser mocks base method.
func (*MockUsersDao) UpdateUser ¶
func (m *MockUsersDao) UpdateUser(user model.User) error
UpdateUser mocks base method.
func (*MockUsersDao) UpsertUser ¶
func (m *MockUsersDao) UpsertUser(user *model.User) error
UpsertUser mocks base method.
type MockUsersDaoMockRecorder ¶
type MockUsersDaoMockRecorder struct {
// contains filtered or unexported fields
}
MockUsersDaoMockRecorder is the mock recorder for MockUsersDao.
func (*MockUsersDaoMockRecorder) AddUserSetting ¶
func (mr *MockUsersDaoMockRecorder) AddUserSetting(userSetting interface{}) *gomock.Call
AddUserSetting indicates an expected call of AddUserSetting.
func (*MockUsersDaoMockRecorder) AddUsersToCourseByTUMIDs ¶
func (mr *MockUsersDaoMockRecorder) AddUsersToCourseByTUMIDs(matrNr, courseID interface{}) *gomock.Call
AddUsersToCourseByTUMIDs indicates an expected call of AddUsersToCourseByTUMIDs.
func (*MockUsersDaoMockRecorder) AreUsersEmpty ¶
func (mr *MockUsersDaoMockRecorder) AreUsersEmpty(ctx interface{}) *gomock.Call
AreUsersEmpty indicates an expected call of AreUsersEmpty.
func (*MockUsersDaoMockRecorder) CreateRegisterLink ¶
func (mr *MockUsersDaoMockRecorder) CreateRegisterLink(ctx, user interface{}) *gomock.Call
CreateRegisterLink indicates an expected call of CreateRegisterLink.
func (*MockUsersDaoMockRecorder) CreateUser ¶
func (mr *MockUsersDaoMockRecorder) CreateUser(ctx, user interface{}) *gomock.Call
CreateUser indicates an expected call of CreateUser.
func (*MockUsersDaoMockRecorder) DeleteResetKey ¶
func (mr *MockUsersDaoMockRecorder) DeleteResetKey(key interface{}) *gomock.Call
DeleteResetKey indicates an expected call of DeleteResetKey.
func (*MockUsersDaoMockRecorder) DeleteUser ¶
func (mr *MockUsersDaoMockRecorder) DeleteUser(ctx, uid interface{}) *gomock.Call
DeleteUser indicates an expected call of DeleteUser.
func (*MockUsersDaoMockRecorder) GetAllAdminsAndLecturers ¶
func (mr *MockUsersDaoMockRecorder) GetAllAdminsAndLecturers(users interface{}) *gomock.Call
GetAllAdminsAndLecturers indicates an expected call of GetAllAdminsAndLecturers.
func (*MockUsersDaoMockRecorder) GetUserByEmail ¶
func (mr *MockUsersDaoMockRecorder) GetUserByEmail(ctx, email interface{}) *gomock.Call
GetUserByEmail indicates an expected call of GetUserByEmail.
func (*MockUsersDaoMockRecorder) GetUserByID ¶
func (mr *MockUsersDaoMockRecorder) GetUserByID(ctx, id interface{}) *gomock.Call
GetUserByID indicates an expected call of GetUserByID.
func (*MockUsersDaoMockRecorder) GetUserByResetKey ¶
func (mr *MockUsersDaoMockRecorder) GetUserByResetKey(key interface{}) *gomock.Call
GetUserByResetKey indicates an expected call of GetUserByResetKey.
func (*MockUsersDaoMockRecorder) HasPinnedCourse ¶
func (mr *MockUsersDaoMockRecorder) HasPinnedCourse(arg0, arg1 interface{}) *gomock.Call
HasPinnedCourse indicates an expected call of HasPinnedCourse.
func (*MockUsersDaoMockRecorder) IsUserAdmin ¶
func (mr *MockUsersDaoMockRecorder) IsUserAdmin(ctx, uid interface{}) *gomock.Call
IsUserAdmin indicates an expected call of IsUserAdmin.
func (*MockUsersDaoMockRecorder) PinCourse ¶
func (mr *MockUsersDaoMockRecorder) PinCourse(user, course, pin interface{}) *gomock.Call
PinCourse indicates an expected call of PinCourse.
func (*MockUsersDaoMockRecorder) SearchUser ¶
func (mr *MockUsersDaoMockRecorder) SearchUser(query interface{}) *gomock.Call
SearchUser indicates an expected call of SearchUser.
func (*MockUsersDaoMockRecorder) UpdateUser ¶
func (mr *MockUsersDaoMockRecorder) UpdateUser(user interface{}) *gomock.Call
UpdateUser indicates an expected call of UpdateUser.
func (*MockUsersDaoMockRecorder) UpsertUser ¶
func (mr *MockUsersDaoMockRecorder) UpsertUser(user interface{}) *gomock.Call
UpsertUser indicates an expected call of UpsertUser.
type MockVideoSectionDao ¶
type MockVideoSectionDao struct {
// contains filtered or unexported fields
}
MockVideoSectionDao is a mock of VideoSectionDao interface.
func NewMockVideoSectionDao ¶
func NewMockVideoSectionDao(ctrl *gomock.Controller) *MockVideoSectionDao
NewMockVideoSectionDao creates a new mock instance.
func (*MockVideoSectionDao) Create ¶
func (m *MockVideoSectionDao) Create(arg0 []model.VideoSection) error
Create mocks base method.
func (*MockVideoSectionDao) Delete ¶
func (m *MockVideoSectionDao) Delete(arg0 uint) error
Delete mocks base method.
func (*MockVideoSectionDao) EXPECT ¶
func (m *MockVideoSectionDao) EXPECT() *MockVideoSectionDaoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVideoSectionDao) Get ¶
func (m *MockVideoSectionDao) Get(arg0 uint) (model.VideoSection, error)
Get mocks base method.
func (*MockVideoSectionDao) GetByStreamId ¶
func (m *MockVideoSectionDao) GetByStreamId(arg0 uint) ([]model.VideoSection, error)
GetByStreamId mocks base method.
func (*MockVideoSectionDao) Update ¶
func (m *MockVideoSectionDao) Update(arg0 *model.VideoSection) error
Update mocks base method.
type MockVideoSectionDaoMockRecorder ¶
type MockVideoSectionDaoMockRecorder struct {
// contains filtered or unexported fields
}
MockVideoSectionDaoMockRecorder is the mock recorder for MockVideoSectionDao.
func (*MockVideoSectionDaoMockRecorder) Create ¶
func (mr *MockVideoSectionDaoMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockVideoSectionDaoMockRecorder) Delete ¶
func (mr *MockVideoSectionDaoMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockVideoSectionDaoMockRecorder) Get ¶
func (mr *MockVideoSectionDaoMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockVideoSectionDaoMockRecorder) GetByStreamId ¶
func (mr *MockVideoSectionDaoMockRecorder) GetByStreamId(arg0 interface{}) *gomock.Call
GetByStreamId indicates an expected call of GetByStreamId.
func (*MockVideoSectionDaoMockRecorder) Update ¶
func (mr *MockVideoSectionDaoMockRecorder) Update(arg0 interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockVideoSeekDao ¶
type MockVideoSeekDao struct {
// contains filtered or unexported fields
}
MockVideoSeekDao is a mock of VideoSeekDao interface.
func NewMockVideoSeekDao ¶
func NewMockVideoSeekDao(ctrl *gomock.Controller) *MockVideoSeekDao
NewMockVideoSeekDao creates a new mock instance.
func (*MockVideoSeekDao) Add ¶
func (m *MockVideoSeekDao) Add(streamID string, pos float64) error
Add mocks base method.
func (*MockVideoSeekDao) EXPECT ¶
func (m *MockVideoSeekDao) EXPECT() *MockVideoSeekDaoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVideoSeekDao) Get ¶
func (m *MockVideoSeekDao) Get(streamID string) ([]model.VideoSeekChunk, error)
Get mocks base method.
type MockVideoSeekDaoMockRecorder ¶
type MockVideoSeekDaoMockRecorder struct {
// contains filtered or unexported fields
}
MockVideoSeekDaoMockRecorder is the mock recorder for MockVideoSeekDao.
func (*MockVideoSeekDaoMockRecorder) Add ¶
func (mr *MockVideoSeekDaoMockRecorder) Add(streamID, pos interface{}) *gomock.Call
Add indicates an expected call of Add.
func (*MockVideoSeekDaoMockRecorder) Get ¶
func (mr *MockVideoSeekDaoMockRecorder) Get(streamID interface{}) *gomock.Call
Get indicates an expected call of Get.
type MockWorkerDao ¶
type MockWorkerDao struct {
// contains filtered or unexported fields
}
MockWorkerDao is a mock of WorkerDao interface.
func NewMockWorkerDao ¶
func NewMockWorkerDao(ctrl *gomock.Controller) *MockWorkerDao
NewMockWorkerDao creates a new mock instance.
func (*MockWorkerDao) CreateWorker ¶
func (m *MockWorkerDao) CreateWorker(worker *model.Worker) error
CreateWorker mocks base method.
func (*MockWorkerDao) DeleteWorker ¶
func (m *MockWorkerDao) DeleteWorker(workerID string) error
DeleteWorker mocks base method.
func (*MockWorkerDao) EXPECT ¶
func (m *MockWorkerDao) EXPECT() *MockWorkerDaoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWorkerDao) GetAliveWorkers ¶
func (m *MockWorkerDao) GetAliveWorkers() []model.Worker
GetAliveWorkers mocks base method.
func (*MockWorkerDao) GetAllWorkers ¶
func (m *MockWorkerDao) GetAllWorkers() ([]model.Worker, error)
GetAllWorkers mocks base method.
func (*MockWorkerDao) GetWorkerByHostname ¶
func (m *MockWorkerDao) GetWorkerByHostname(ctx context.Context, hostname string) (model.Worker, error)
GetWorkerByHostname mocks base method.
func (*MockWorkerDao) GetWorkerByID ¶
GetWorkerByID mocks base method.
func (*MockWorkerDao) SaveWorker ¶
func (m *MockWorkerDao) SaveWorker(worker model.Worker) error
SaveWorker mocks base method.
type MockWorkerDaoMockRecorder ¶
type MockWorkerDaoMockRecorder struct {
// contains filtered or unexported fields
}
MockWorkerDaoMockRecorder is the mock recorder for MockWorkerDao.
func (*MockWorkerDaoMockRecorder) CreateWorker ¶
func (mr *MockWorkerDaoMockRecorder) CreateWorker(worker interface{}) *gomock.Call
CreateWorker indicates an expected call of CreateWorker.
func (*MockWorkerDaoMockRecorder) DeleteWorker ¶
func (mr *MockWorkerDaoMockRecorder) DeleteWorker(workerID interface{}) *gomock.Call
DeleteWorker indicates an expected call of DeleteWorker.
func (*MockWorkerDaoMockRecorder) GetAliveWorkers ¶
func (mr *MockWorkerDaoMockRecorder) GetAliveWorkers() *gomock.Call
GetAliveWorkers indicates an expected call of GetAliveWorkers.
func (*MockWorkerDaoMockRecorder) GetAllWorkers ¶
func (mr *MockWorkerDaoMockRecorder) GetAllWorkers() *gomock.Call
GetAllWorkers indicates an expected call of GetAllWorkers.
func (*MockWorkerDaoMockRecorder) GetWorkerByHostname ¶
func (mr *MockWorkerDaoMockRecorder) GetWorkerByHostname(ctx, hostname interface{}) *gomock.Call
GetWorkerByHostname indicates an expected call of GetWorkerByHostname.
func (*MockWorkerDaoMockRecorder) GetWorkerByID ¶
func (mr *MockWorkerDaoMockRecorder) GetWorkerByID(ctx, workerID interface{}) *gomock.Call
GetWorkerByID indicates an expected call of GetWorkerByID.
func (*MockWorkerDaoMockRecorder) SaveWorker ¶
func (mr *MockWorkerDaoMockRecorder) SaveWorker(worker interface{}) *gomock.Call
SaveWorker indicates an expected call of SaveWorker.
Source Files ¶
- audit.go
- bookmark.go
- camera-preset.go
- chat.go
- courses.go
- email.go
- file.go
- info-page.go
- ingest_server.go
- lecture_halls.go
- notifications.go
- progress.go
- runner.go
- server-notification.go
- statistics.go
- streams.go
- subtitles.go
- token.go
- transcoding-failure.go
- upload_key.go
- users.go
- video-section.go
- video-seek.go
- worker.go