Categorygithub.com/gouniverse/filesystem
modulepackage
0.3.1
Repository: https://github.com/gouniverse/filesystem.git
Documentation: pkg.go.dev

# README

File System

Open in Gitpod

tests Go Report Card PkgGoDev

Usage

storage, err = filesystem.NewStorage(filesystem.Disk{
  DiskName:             "S3",
  Driver:               filesystem.DRIVER_S3,
  Url:                  config.MediaUrl,
  Region:               config.MediaRegion,
  Key:                  config.MediaKey,
  Secret:               config.MediaSecret,
  Bucket:               config.MediaBucket,
  UsePathStyleEndpoint: true,
})

if err != nil {
  return err.Error()
}

# Functions

No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
S3Storage implements the StorageInterface for an S3 compliant file storage, i.e.
No description provided by the author
No description provided by the author
StaticStorage implements StorageInterface it represents a static (read only) storage, i.e.

# Interfaces

No description provided by the author