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 DiskFS fs.Filesystem MemFS MemFSConfig IPLimiter net.IPLimiter Profiling bool Cors CorsConfig RTMP rtmp.Server JWT jwt.JWT Config config.Store Cache cache.Cacher Sessions session.Registry Router router.Router ReadOnly bool }
type CorsConfig ¶
type CorsConfig struct {
Origins []string
}
type MemFSConfig ¶
type MemFSConfig struct { EnableAuth bool Username string Password string Filesystem fs.Filesystem }
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
|
|
bodysize
Package bodysize is an echo middleware that fixes the final number of body bytes sent on the wire
|
Package bodysize is an echo middleware that fixes the final number of body bytes sent on the wire |
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.