Documentation ¶ Index ¶ func GetFile(md5 string) (data []byte, err error) func GetFileStat(md5 string) (fs.FileInfo, error) func SetFile(md5 string, data []byte) type FileInfo func Put(data []byte) (info FileInfo, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetFile ¶ func GetFile(md5 string) (data []byte, err error) func GetFileStat ¶ func GetFileStat(md5 string) (fs.FileInfo, error) func SetFile ¶ func SetFile(md5 string, data []byte) Types ¶ type FileInfo ¶ type FileInfo struct { Md5 string FilePath string Info fs.FileInfo } func Put ¶ func Put(data []byte) (info FileInfo, err error) Source Files ¶ View all Source files backup.go Click to show internal directories. Click to hide internal directories.