filestore

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2013 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetList

func GetList() []string

Types

type FileStore

type FileStore struct {
	Chksum string
	Data   *[]byte
}

func Get

func Get(chksum string) (*FileStore, error)

func New

func New(chksum string, data io.ReadCloser, data_length int64) (*FileStore, error)

func (*FileStore) Delete

func (f *FileStore) Delete() error

func (*FileStore) Save

func (f *FileStore) Save() error

Jump to

Keyboard shortcuts

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