Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEmptyImageLink ¶
func GetEmptyImageLink() string
Types ¶
type Cloudinary ¶
func (*Cloudinary) Check ¶
func (cldSystem *Cloudinary) Check()
func (*Cloudinary) GetHostURL ¶
func (cldSystem *Cloudinary) GetHostURL() string
func (*Cloudinary) GetPath ¶
func (cldSystem *Cloudinary) GetPath() string
func (*Cloudinary) GetSystem ¶
func (cldSystem *Cloudinary) GetSystem() string
func (*Cloudinary) Upload ¶
func (cldSystem *Cloudinary) Upload(ctx context.Context, originFileName string, uploadFile io.Reader) *StaticFile
type FileSystem ¶
type FileSystem interface { Check() GetSystem() string GetPath() string Upload(context.Context, string, io.Reader) *StaticFile GetHostURL() string }
func Create ¶
func Create(system string) FileSystem
type Local ¶
func (*Local) GetHostURL ¶
Click to show internal directories.
Click to hide internal directories.