package
1.4.22-beta.4
Repository: https://github.com/tum-dev/gocast.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package timing provides time calculation functions used in TUM Live.
No description provided by the author

# Functions

No description provided by the author
AdminOfCourse checks if the user is an admin of the course or admin.
No description provided by the author
No description provided by the author
CourseListContains checks whether courses contain a course with a given courseId.
No description provided by the author
GetCacheItem returns the value of the key if it exists in the cache.
InitBranding initializes the global branding configuration variable `BrandingCfg`.
No description provided by the author
No description provided by the author
InitCronService creates an instance of CronService.
No description provided by the author
No description provided by the author
No description provided by the author
LoggedIn is a middleware that checks if the user is logged in and redirects to the login page if not.
No description provided by the author
MaskLogin masks lrzIds by replacing digits with *.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RenderErrorPage renders the error page with the given error code and message.
No description provided by the author
SetCacheItem adds the key and value to the cache with the given expiration time.
SetSignedPlaylists adds a signed jwt to all available playlist urls that indicates that the user is allowed to consume the playlist.
SetTemplateExecutor sets the templates and template executor for the middlewares to execute error pages.
No description provided by the author
ToMeiliCourses converts slice of model.Course to slice of MeiliCourse.
ToMeiliStreams converts slice of model.Stream to slice of MeiliStream.
Truncate strips an input that can contain html to length.
TruncateHtml will truncate a given byte slice to a maximum of maxlen visible characters and optionally append ellipsis.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
CookieSecure sets whether to use secure cookies or not, defaults to false in dev mode, true in production.
Cron is the global CronService.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrorPageData is the required data for the error page.
No description provided by the author
No description provided by the author
JWTClaims are the claims contained in a session.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author