Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MimeTypeByPath ¶
func MimeTypeByPath(path_ string) (ret mimeType)
Used to determine the MIME-type for the given path
Types ¶
type Cache ¶
type Cache interface { Set(key interface{}, value interface{}) Get(key interface{}) (value interface{}, ok bool) }
type FfprobeCacheItem ¶
Public definition so that external modules can persist cache contents.
type Server ¶
type Server struct { HTTPConn net.Listener FriendlyName string Interfaces []net.Interface RootObjectPath string FFProbeCache Cache LogHeaders bool // Disable transcoding, and the resource elements implied in the CDS. NoTranscode bool Icons []Icon // Stall event subscription requests until they drop. A workaround for // some bad clients. StallEventSubscribe bool // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.