Versions in this module Expand all Collapse all v1 v1.3.0 Oct 23, 2023 Changes in this version + type FS struct + func New(endpoint string, secure bool, id, secret, bucket, location string) (*FS, error) + func (fs *FS) Check() error + func (fs *FS) Open(name string) (fs.File, error) + func (fs *FS) OpenUUID(id uuid.UUID) (fs.File, error) + func (fs *FS) RemoveUUID(id uuid.UUID) error + func (fs *FS) Store(id uuid.UUID, name, contentType string, data io.Reader) error + type File struct + func (f File) Stat() (fs.FileInfo, error) + type FileInfo struct + func (fi FileInfo) ContentType() string + func (fi FileInfo) ID() uuid.UUID + func (fi FileInfo) IsDir() bool + func (fi FileInfo) ModTime() time.Time + func (fi FileInfo) Mode() fs.FileMode + func (fi FileInfo) Name() string + func (fi FileInfo) Size() int64 + func (fi FileInfo) Sys() interface{}