mirror of
https://github.com/AlistGo/alist.git
synced 2025-04-28 16:24:03 +08:00
16 lines
162 B
Go
16 lines
162 B
Go
package model
|
|
|
|
import (
|
|
"io"
|
|
)
|
|
|
|
type FileStream struct {
|
|
Obj
|
|
io.ReadCloser
|
|
Mimetype string
|
|
}
|
|
|
|
func (f FileStream) GetMimetype() string {
|
|
return f.Mimetype
|
|
}
|