Added the blob storage file struct
This commit is contained in:
parent
5824e47c1f
commit
09db7d6c31
6
main.go
6
main.go
|
@ -12,3 +12,9 @@ type OAuthResponse struct {
|
||||||
AppID string `json:"appId"`
|
AppID string `json:"appId"`
|
||||||
SecretKey string `json:"secretKey"`
|
SecretKey string `json:"secretKey"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type File struct {
|
||||||
|
Name string `validate:"required"`
|
||||||
|
User uuid.UUID `validate:"required"`
|
||||||
|
Bytes []byte // Only used in write operations
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue