Documentation
¶
Index ¶
- type Local
- func (l *Local) Init(cfg config.StorageConfig) error
- func (l *Local) JoinStoragePath(task types.Task) string
- func (l *Local) Name() string
- func (l *Local) NewUploadStream(ctx context.Context, path string) (io.WriteCloser, error)
- func (l *Local) Save(ctx context.Context, filePath, storagePath string) error
- func (l *Local) Type() types.StorageType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Local ¶
type Local struct {
// contains filtered or unexported fields
}
func (*Local) JoinStoragePath ¶ added in v0.11.0
func (*Local) NewUploadStream ¶ added in v0.15.0
func (*Local) Type ¶ added in v0.11.0
func (l *Local) Type() types.StorageType
Click to show internal directories.
Click to hide internal directories.