chore: aria2 notifier
This commit is contained in:
@ -50,7 +50,7 @@ type Writer interface {
|
||||
// Remove remove `object`
|
||||
Remove(ctx context.Context, obj model.Obj) error
|
||||
// Put upload `stream` to `parentDir`
|
||||
Put(ctx context.Context, parentDir model.Obj, stream model.FileStreamer, up UpdateProgress) error
|
||||
Put(ctx context.Context, dstDir model.Obj, stream model.FileStreamer, up UpdateProgress) error
|
||||
}
|
||||
|
||||
type UpdateProgress func(percentage int)
|
||||
|
Reference in New Issue
Block a user