Files
OpenList/internal/model/stream.go

16 lines
165 B
Go
Raw Normal View History

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