alist/internal/model/stream.go

16 lines
167 B
Go
Raw Normal View History

2022-06-15 10:06:42 +00:00
package model
import (
"io"
)
type FileStream struct {
FileInfo
io.ReadCloser
Mimetype string
}
func (f FileStream) GetMimetype() string {
return f.Mimetype
}