Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ObjectTempPublicUrl ¶
type ObjectTempPublicUrl struct {
URL string `json:"getURL"`
ExpirationDate string `json:"expirationDate"`
}
func GetFileTemporaryAccess ¶
func GetFileTemporaryAccess(fileDescriptor string, duration time.Duration) (ObjectTempPublicUrl, error)
type StorageAccess ¶
type StorageAccess struct {
Token string `json:"token"`
}
https://eu.api.ovh.com/console/#/cloud/project/%7BserviceName%7D/storage/access#POST
Click to show internal directories.
Click to hide internal directories.