storage

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2016 License: MIT Imports: 8 Imported by: 0

README

Storage provider

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalProvider

type LocalProvider struct {
	Root string
	Url  string
}

func (*LocalProvider) Delete

func (p *LocalProvider) Delete(url string) error

func (*LocalProvider) Store

func (p *LocalProvider) Store(name string, reader io.Reader) (string, uint, error)

type Provider

type Provider interface {
	Delete(url string) error
	Store(name string, reader io.Reader) (string, uint, error)
}

type S3Provider

type S3Provider struct {
}

Jump to

Keyboard shortcuts

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