feat: improve driver
This commit is contained in:
@ -6,9 +6,10 @@ import (
|
||||
)
|
||||
|
||||
type FileInfo interface {
|
||||
GetSize() uint64
|
||||
GetName() string
|
||||
GetModTime() time.Time
|
||||
GetSize() int64
|
||||
ModTime() time.Time
|
||||
IsDir() bool
|
||||
}
|
||||
|
||||
type FileStream interface {
|
||||
@ -16,3 +17,11 @@ type FileStream interface {
|
||||
FileInfo
|
||||
GetMimetype() string
|
||||
}
|
||||
|
||||
type URL interface {
|
||||
URL() string
|
||||
}
|
||||
|
||||
type Thumbnail interface {
|
||||
Thumbnail() string
|
||||
}
|
||||
|
Reference in New Issue
Block a user