entity

package
v0.0.0-...-6b8b621 Latest Latest
Warning

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

Go to latest
Published: May 2, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAWSFile

func NewAWSFile(uri string) domain.File

NewAWSFile ......

Types

type AWSStoredFile

type AWSStoredFile struct {
	Key string
}

AWSStoredFile ......

func (*AWSStoredFile) AsFileOutput

func (f *AWSStoredFile) AsFileOutput() (*domain.FileOutput, error)

func (*AWSStoredFile) DownloadURL

func (f *AWSStoredFile) DownloadURL() (string, error)

DownloadURL ......

func (*AWSStoredFile) PublicURL

func (f *AWSStoredFile) PublicURL() string

PublicURL ......

func (*AWSStoredFile) UploadURL

func (f *AWSStoredFile) UploadURL() (string, error)

UploadURL .......

type AWSUnStoredFile

type AWSUnStoredFile struct {
	URL string
}

AWSUnStoredFile ....

func (*AWSUnStoredFile) AsFileOutput

func (f *AWSUnStoredFile) AsFileOutput() (*domain.FileOutput, error)

func (*AWSUnStoredFile) DownloadURL

func (f *AWSUnStoredFile) DownloadURL() (string, error)

DownloadURL .....

func (*AWSUnStoredFile) PublicURL

func (f *AWSUnStoredFile) PublicURL() string

PublicURL ....

func (*AWSUnStoredFile) UploadURL

func (f *AWSUnStoredFile) UploadURL() (string, error)

UploadURL .....

Jump to

Keyboard shortcuts

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