repo_description: 🗂️A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs. / 一个支持多存储的文件列表/WebDAV程序，使用 Gin 和 Solidjs。
repo_topics: file-server gin golang onedrive solidjs webdav
code: package model
  
  import "io"
  
  // File is basic file level accessing interface
  type File interface {
  	io.Reader
  	io.ReaderAt
  	io.Seeker
  	io.Closer
  }
  
  type NopMFileIF interface {
  	io.Reader
  	io.ReaderAt
  	io.Seeker
  }
  type NopMFile struct {
  	NopMFileIF
  }
  
  func (NopMFile) Close() error { return nil }
  func NewNopMFile(r NopMFileIF) File {
  	return NopMFile{r}
  }
  