Versions in this module Expand all Collapse all v0 v0.0.1 Feb 21, 2025 Changes in this version + const GsFileScheme + type StorageFS struct + func (storageFs *StorageFS) Create(u *url.URL) (file vfs.VFile, err error) + func (storageFs *StorageFS) Mkdir(u *url.URL) (file vfs.VFile, err error) + func (storageFs *StorageFS) MkdirAll(u *url.URL) (file vfs.VFile, err error) + func (storageFs *StorageFS) Open(u *url.URL) (file vfs.VFile, err error) + func (storageFs *StorageFS) Schemes() []string + type StorageFile struct + func (storageFile *StorageFile) AddProperty(name, value string) (err error) + func (storageFile *StorageFile) Close() (err error) + func (storageFile *StorageFile) Delete() (err error) + func (storageFile *StorageFile) GetProperty(name string) (value string, err error) + func (storageFile *StorageFile) Info() (file vfs.VFileInfo, err error) + func (storageFile *StorageFile) ListAll() (files []vfs.VFile, err error) + func (storageFile *StorageFile) Read(b []byte) (numBytes int, err error) + func (storageFile *StorageFile) String() string + func (storageFile *StorageFile) Url() *url.URL + func (storageFile *StorageFile) Write(b []byte) (numBytes int, err error) + type StorageFileInfo struct + func (f *StorageFileInfo) IsDir() bool + func (f *StorageFileInfo) ModTime() time.Time + func (f *StorageFileInfo) Mode() os.FileMode + func (f *StorageFileInfo) Name() string + func (f *StorageFileInfo) Size() int64 + func (f *StorageFileInfo) String() string + func (f *StorageFileInfo) Sys() interface{} + type UrlOpts struct + Bucket string + Host string + Key string + func (urlOpts *UrlOpts) CreateStorageClient() (client *storage.Client, err error)