Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface {
GetLastListedObj(ctx context.Context, task tasks.MigrateBucketListObjectsPayload) (string, error)
SetLastListedObj(ctx context.Context, task tasks.MigrateBucketListObjectsPayload, val string) error
DelLastListedObj(ctx context.Context, task tasks.MigrateBucketListObjectsPayload) error
CleanLastListedObj(ctx context.Context, fromStor, toStor, fromBucket string, toBucket string) error
StoreUploadID(ctx context.Context, user, bucket, object, uploadID string, ttl time.Duration) error
DeleteUploadID(ctx context.Context, user, bucket, object, uploadID string) error
ExistsUploadID(ctx context.Context, user, bucket, object, uploadID string) (bool, error)
ExistsUploadsForUser(ctx context.Context, user string) (bool, error)
ExistsUploads(ctx context.Context, user, bucket string) (bool, error)
}
func New ¶
func New(client redis.UniversalClient) Service
Click to show internal directories.
Click to hide internal directories.