ovh

package
v0.0.0-...-2448ec3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UploadFileToPrivateObjectStorage

func UploadFileToPrivateObjectStorage(fileDescriptor string, file io.Reader) error

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 PartialMe

type PartialMe struct {
	Firstname string `json:"firstname"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL