*fiddles*

This commit is contained in:
tsmethurst 2021-03-31 18:54:37 +02:00
commit 48ab34f71a
12 changed files with 221 additions and 74 deletions

21
internal/storage/local.go Normal file
View file

@ -0,0 +1,21 @@
package storage
import (
"github.com/sirupsen/logrus"
"github.com/superseriousbusiness/gotosocial/internal/config"
)
func NewLocal(c *config.Config, log *logrus.Logger) (Storage, error) {
return &localStorage{}, nil
}
type localStorage struct {
}
func (s *localStorage) StoreFileAt(path string, data []byte) error {
return nil
}
func (s *localStorage) RetrieveFileFrom(path string) ([]byte, error) {
return nil, nil
}