forked from beyondstorage/go-service-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstorage.go
36 lines (27 loc) · 1001 Bytes
/
storage.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package example
import (
"context"
"io"
. "github.com/beyondstorage/go-storage/v4/types"
)
func (s *Storage) create(path string, opt pairStorageCreate) (o *Object) {
panic("not implemented")
}
func (s *Storage) delete(ctx context.Context, path string, opt pairStorageDelete) (err error) {
panic("not implemented")
}
func (s *Storage) list(ctx context.Context, path string, opt pairStorageList) (oi *ObjectIterator, err error) {
panic("not implemented")
}
func (s *Storage) metadata(opt pairStorageMetadata) (meta *StorageMeta) {
panic("not implemented")
}
func (s *Storage) read(ctx context.Context, path string, w io.Writer, opt pairStorageRead) (n int64, err error) {
panic("not implemented")
}
func (s *Storage) stat(ctx context.Context, path string, opt pairStorageStat) (o *Object, err error) {
panic("not implemented")
}
func (s *Storage) write(ctx context.Context, path string, r io.Reader, size int64, opt pairStorageWrite) (n int64, err error) {
panic("not implemented")
}