fs

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(root, home string) (uploader.Store, error)

New new file-system uploader store

Types

type Store

type Store struct {
	// contains filtered or unexported fields
}

Store file-system storage

func (*Store) Remove

func (p *Store) Remove(url string) error

Remove remove file

func (*Store) Save

func (p *Store) Save(fh *multipart.FileHeader) (string, int64, error)

Save save file to file-system

Jump to

Keyboard shortcuts

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