Documentation ¶
Index ¶
- Constants
- Variables
- type Minio
- func (r *Minio) AllDirectories(path string) ([]string, error)
- func (r *Minio) AllFiles(path string) ([]string, error)
- func (r *Minio) Copy(originFile, targetFile string) error
- func (r *Minio) Delete(files ...string) error
- func (r *Minio) DeleteDirectory(directory string) error
- func (r *Minio) Directories(path string) ([]string, error)
- func (r *Minio) Exists(file string) bool
- func (r *Minio) Files(path string) ([]string, error)
- func (r *Minio) Get(file string) (string, error)
- func (r *Minio) GetBytes(file string) ([]byte, error)
- func (r *Minio) LastModified(file string) (time.Time, error)
- func (r *Minio) MakeDirectory(directory string) error
- func (r *Minio) MimeType(file string) (string, error)
- func (r *Minio) Missing(file string) bool
- func (r *Minio) Move(oldFile, newFile string) error
- func (r *Minio) Path(file string) string
- func (r *Minio) Put(file string, content string) error
- func (r *Minio) PutFile(filePath string, source filesystem.File) (string, error)
- func (r *Minio) PutFileAs(filePath string, source filesystem.File, name string) (string, error)
- func (r *Minio) Size(file string) (int64, error)
- func (r *Minio) TemporaryUrl(file string, time time.Time) (string, error)
- func (r *Minio) Url(file string) string
- func (r *Minio) WithContext(ctx context.Context) filesystem.Driver
- type ServiceProvider
Constants ¶
View Source
const Binding = "goravel.minio"
Variables ¶
View Source
var App foundation.Application
Functions ¶
This section is empty.
Types ¶
type Minio ¶
type Minio struct {
// contains filtered or unexported fields
}
func (*Minio) DeleteDirectory ¶
func (*Minio) MakeDirectory ¶
func (*Minio) TemporaryUrl ¶
func (*Minio) WithContext ¶
func (r *Minio) WithContext(ctx context.Context) filesystem.Driver
type ServiceProvider ¶
type ServiceProvider struct { }
func (*ServiceProvider) Boot ¶
func (receiver *ServiceProvider) Boot(app foundation.Application)
func (*ServiceProvider) Register ¶
func (receiver *ServiceProvider) Register(app foundation.Application)
Click to show internal directories.
Click to hide internal directories.