alist/internal/model/stream.go

16 lines
165 B
Go
Raw Normal View History

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