mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-13 21:07:28 -06:00
*fiddles*
This commit is contained in:
parent
11b18f986c
commit
48ab34f71a
12 changed files with 221 additions and 74 deletions
|
|
@ -18,16 +18,7 @@
|
|||
|
||||
package storage
|
||||
|
||||
import "time"
|
||||
|
||||
type Storage interface {
|
||||
StoreFileAt(path string, data []byte) error
|
||||
RetrieveFileFrom(path string) ([]byte, error)
|
||||
}
|
||||
|
||||
type FileInfo struct {
|
||||
Data []byte
|
||||
StorePath string
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue