Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ListenAndServe = http.ListenAndServe
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Logger log.Logger LogBuffer log.BufferWriter Restream restream.Restreamer Metrics monitor.HistoryReader Prometheus prometheus.Reader MimeTypesFile string Filesystems []fs.FS IPLimiter net.IPLimiter Profiling bool Cors CorsConfig RTMP rtmp.Server SRT srt.Server JWT jwt.JWT Config cfgstore.Store Cache cache.Cacher Sessions session.RegistryReader Router router.Router ReadOnly bool }
type CorsConfig ¶
type CorsConfig struct {
Origins []string
}
Directories ¶
Path | Synopsis |
---|---|
Package api provides types for communicating with the REST API
|
Package api provides types for communicating with the REST API |
Package cors implements a validator for CORS origins
|
Package cors implements a validator for CORS origins |
api
Package api implements various handlers for the API routes
|
Package api implements various handlers for the API routes |
jwks
Package jwks implements a JSON Web Key Set Based on https://github.com/MicahParks/keyfunc without implementing the KeyFunc
|
Package jwks implements a JSON Web Key Set Based on https://github.com/MicahParks/keyfunc without implementing the KeyFunc |
middleware
|
|
cache
Package cache is an in-memory LRU cache middleware
|
Package cache is an in-memory LRU cache middleware |
log
Package log implements a logging middleware
|
Package log implements a logging middleware |
mime
mime-type middleware
|
mime-type middleware |
redirect
Package redirect is an echo middleware that applies defined redirects
|
Package redirect is an echo middleware that applies defined redirects |
session
Package session is a HLS session middleware for Gin
|
Package session is a HLS session middleware for Gin |
Click to show internal directories.
Click to hide internal directories.