rclone: github.com/ncw/rclone/cmd/serve/dlna/data Index | Files

package data

import "github.com/ncw/rclone/cmd/serve/dlna/data"

Index

Package Files

assets_vfsdata.go data.go

Variables

var Assets = func() http.FileSystem {
    fs := vfsgen۰FS{
        "/": &vfsgen۰DirInfo{
            name:    "/",
            modTime: time.Date(2019, 9, 15, 16, 40, 10, 576397038, time.UTC),
        },
        "/ConnectionManager.xml": &vfsgen۰CompressedFileInfo{
            name:             "ConnectionManager.xml",
            modTime:          time.Date(2019, 5, 27, 15, 4, 10, 117829131, time.UTC),
            uncompressedSize: 5505,

            compressedContent: []byte("" /* 2766 byte string literal not displayed */),
        },
        "/ContentDirectory.xml": &vfsgen۰CompressedFileInfo{
            name:             "ContentDirectory.xml",
            modTime:          time.Date(2019, 5, 27, 15, 4, 10, 118094855, time.UTC),
            uncompressedSize: 14527,

            compressedContent: []byte("" /* 4646 byte string literal not displayed */),
        },
        "/X_MS_MediaReceiverRegistrar.xml": &vfsgen۰CompressedFileInfo{
            name:             "X_MS_MediaReceiverRegistrar.xml",
            modTime:          time.Date(2019, 5, 27, 15, 4, 10, 118232995, time.UTC),
            uncompressedSize: 2485,

            compressedContent: []byte("" /* 1886 byte string literal not displayed */),
        },
        "/rclone-120x120.png": &vfsgen۰FileInfo{
            name:    "rclone-120x120.png",
            modTime: time.Date(2019, 5, 27, 15, 4, 10, 118634349, time.UTC),
            content: []byte("" /* 83682 byte string literal not displayed */),
        },
        "/rclone-48x48.png": &vfsgen۰FileInfo{
            name:    "rclone-48x48.png",
            modTime: time.Date(2019, 5, 27, 15, 4, 10, 118821186, time.UTC),
            content: []byte("" /* 22974 byte string literal not displayed */),
        },
        "/rootDesc.xml.tmpl": &vfsgen۰CompressedFileInfo{
            name:             "rootDesc.xml.tmpl",
            modTime:          time.Date(2019, 9, 15, 16, 40, 10, 576918038, time.UTC),
            uncompressedSize: 2521,

            compressedContent: []byte("" /* 2962 byte string literal not displayed */),
        },
    }
    fs["/"].(*vfsgen۰DirInfo).entries = []os.FileInfo{
        fs["/ConnectionManager.xml"].(os.FileInfo),
        fs["/ContentDirectory.xml"].(os.FileInfo),
        fs["/X_MS_MediaReceiverRegistrar.xml"].(os.FileInfo),
        fs["/rclone-120x120.png"].(os.FileInfo),
        fs["/rclone-48x48.png"].(os.FileInfo),
        fs["/rootDesc.xml.tmpl"].(os.FileInfo),
    }

    return fs
}()

Assets statically implements the virtual filesystem provided to vfsgen.

func GetTemplate Uses

func GetTemplate() (tpl *template.Template, err error)

GetTemplate returns the rootDesc XML template

Package data imports 12 packages (graph). Updated 2019-11-15. Refresh now. Tools for package owners.