Documentation ¶ Index ¶ type File type FileInfo func FetchFile(r *http.Request) (*FileInfo, error) func (f *FileInfo) IsDir() bool func (f *FileInfo) ModTime() time.Time func (f *FileInfo) Mode() fs.FileMode func (f *FileInfo) Name() string func (f *FileInfo) Size() int64 func (f *FileInfo) Sys() any type FileInterface Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type File ¶ type File struct { File http.File Name string } type FileInfo ¶ type FileInfo struct { Binary []byte // contains filtered or unexported fields } func FetchFile ¶ func FetchFile(r *http.Request) (*FileInfo, error) func (*FileInfo) IsDir ¶ func (f *FileInfo) IsDir() bool func (*FileInfo) ModTime ¶ func (f *FileInfo) ModTime() time.Time func (*FileInfo) Mode ¶ func (f *FileInfo) Mode() fs.FileMode func (*FileInfo) Name ¶ func (f *FileInfo) Name() string func (*FileInfo) Size ¶ func (f *FileInfo) Size() int64 func (*FileInfo) Sys ¶ func (f *FileInfo) Sys() any type FileInterface ¶ type FileInterface interface { io.Reader Name() string } Source Files ¶ View all Source files download.gofile.goget.go Directories ¶ Show internal Expand all Path Synopsis watch Click to show internal directories. Click to hide internal directories.