mirror of https://github.com/Xhofe/alist
16 lines
167 B
Go
16 lines
167 B
Go
![]() |
package model
|
||
|
|
||
|
import (
|
||
|
"io"
|
||
|
)
|
||
|
|
||
|
type FileStream struct {
|
||
|
FileInfo
|
||
|
io.ReadCloser
|
||
|
Mimetype string
|
||
|
}
|
||
|
|
||
|
func (f FileStream) GetMimetype() string {
|
||
|
return f.Mimetype
|
||
|
}
|