test

package
v0.0.0-...-9af0977 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCloser

type MockCloser struct {
	io.Reader
}

func (MockCloser) Close

func (m MockCloser) Close() error

type Store

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

func NewStore

func NewStore() *Store

func (*Store) GetReader

func (s *Store) GetReader(bucket, path string) (io.ReadCloser, error)

func (*Store) Head

func (s *Store) Head(bucket, path string) (*http.Response, error)

func (*Store) Put

func (s *Store) Put(bucket, path string, data []byte, content string) error

func (*Store) PutReader

func (s *Store) PutReader(bucket, path string, data io.Reader, length int64, content string) error

Jump to

Keyboard shortcuts

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