You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
344 B
Go
30 lines
344 B
Go
3 years ago
|
package swampfile
|
||
|
|
||
|
import (
|
||
|
"io"
|
||
|
"time"
|
||
|
)
|
||
|
|
||
|
type SwampOutFile interface {
|
||
|
Path() string
|
||
|
Size() int64
|
||
|
Modified() time.Time
|
||
|
io.Reader
|
||
|
io.Seeker
|
||
|
io.Closer
|
||
|
}
|
||
|
|
||
|
type SwampInFile interface {
|
||
|
Path() string
|
||
|
Size() int64
|
||
|
Modified() time.Time
|
||
|
io.Writer
|
||
|
io.Seeker
|
||
|
io.Closer
|
||
|
}
|
||
|
|
||
|
type FileReference struct {
|
||
|
Path string
|
||
|
UserAgent string
|
||
|
}
|