Add HTTP /v1 MVC, TCP send path, groups with server-side member-avatar collage, object-storage upload, and friends/favorites around the architecture-v3 layout. Co-authored-by: Cursor <cursoragent@cursor.com>
18 lines
558 B
Go
18 lines
558 B
Go
// Package entity holds upload credential types. Message content stores the object key only.
|
|
package entity
|
|
|
|
type Credential struct {
|
|
ObjectKey string `json:"object_key"`
|
|
UploadURL string `json:"upload_url"`
|
|
Method string `json:"method"`
|
|
Headers map[string]string `json:"headers"`
|
|
ExpiresIn int64 `json:"expires_in"`
|
|
}
|
|
|
|
type Download struct {
|
|
ObjectKey string `json:"object_key"`
|
|
DownloadURL string `json:"download_url"`
|
|
Method string `json:"method"`
|
|
ExpiresIn int64 `json:"expires_in"`
|
|
}
|