chore: add presign background service

This commit is contained in:
Steven
2024-05-02 22:08:45 +08:00
parent 05f73a2236
commit 74145157a0
7 changed files with 144 additions and 0 deletions

View File

@ -15,6 +15,8 @@ import (
storepb "github.com/usememos/memos/proto/gen/store"
)
// presignLifetimeSecs is the lifetime of a presigned URL in seconds.
// The presigned URL is valid for 7 days.
const presignLifetimeSecs = 7 * 24 * 60 * 60
type Client struct {