Versions in this module Expand all Collapse all v1 v1.2.4 Apr 22, 2021 Changes in this version + func MimeTypeByPath(filePath string) (ret mimeType, err error) + type Cache interface + Get func(key interface{}) (value interface{}, ok bool) + Set func(key interface{}, value interface{}) + type FfprobeCacheItem struct + Key ffmpegInfoCacheKey + Value *ffprobe.Info + type Icon struct + Depth int + Height int + Mimetype string + Width int + type Server struct + AllowedIpNets []*net.IPNet + FFProbeCache Cache + ForceTranscodeTo string + FriendlyName string + HTTPConn net.Listener + Icons []Icon + IgnoreHidden bool + IgnoreUnreadable bool + Interfaces []net.Interface + LogHeaders bool + NoProbe bool + NoTranscode bool + NotifyInterval time.Duration + RootObjectPath string + Services map[string]UPnPService + StallEventSubscribe bool + func (server *Server) IgnorePath(path string) (bool, error) + func (srv *Server) Close() (err error) + func (srv *Server) Init() (err error) + func (srv *Server) Run() (err error) + func (srv *Server) Serve() (err error) + type UPnPService interface + Handle func(action string, argsXML []byte, r *http.Request) (respArgs map[string]string, err error) + Subscribe func(callback []*url.URL, timeoutSeconds int) (sid string, actualTimeout int, err error) + Unsubscribe func(sid string) error