implementations

package
v0.0.0-...-4cce589 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2017 License: MIT Imports: 3 Imported by: 3

Documentation

Overview

Package implementations contains helpers to help implementing a filestorage

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteIfNotExist

func WriteIfNotExist(ctx context.Context, s filestorage.FileStorage, src io.Reader, destPath string) (new bool, url string, err error)

WriteIfNotExist is an helper to implements FileStorage.WriteIfNotExist Since this function is the same for all provider, let's not rewrite it

Types

This section is empty.

Directories

Path Synopsis
Package cloudinary is an implementation of filestorage for Cloudinary
Package cloudinary is an implementation of filestorage for Cloudinary
Package fsstorage is an implementation of filestorage using the filesystem
Package fsstorage is an implementation of filestorage using the filesystem
Package gcstorage is an implementation of filestorage for Google Cloud
Package gcstorage is an implementation of filestorage for Google Cloud
Package mockfilestorage is a generated GoMock package.
Package mockfilestorage is a generated GoMock package.

Jump to

Keyboard shortcuts

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