Documentation ¶
Index ¶
- type Storage
- func (s *Storage) Close()
- func (s *Storage) Delete(ctx context.Context, dirs []string, fileName string) error
- func (s *Storage) DisableVersioning(ctx context.Context) error
- func (s *Storage) FileExist(ctx context.Context, dirs []string, fileName string) (bool, error)
- func (s *Storage) Object(dirs []string, fileName string) *storage.ObjectHandle
- func (s *Storage) ReadFile(ctx context.Context, dirs []string, fileName string) ([]byte, string, error)
- func (s *Storage) WriteFile(ctx context.Context, dirs []string, fileName string, body io.Reader, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func (*Storage) DisableVersioning ¶
disable to versioning.
func (*Storage) Object ¶
func (s *Storage) Object(dirs []string, fileName string) *storage.ObjectHandle
Create Storage object. Returns an ObjectHandle that looks like a directory and file to manipulate.
Click to show internal directories.
Click to hide internal directories.