fakes

package
v0.0.0-...-4036868 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2015 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeClient

type FakeClient struct {
	GetReaderReadCloser io.ReadCloser
	GetReaderError      error
	GetReaderPath       string

	PutReaderPath        string
	PutReaderReader      io.Reader
	PutReaderLength      int64
	PutReaderContentType string
	PutReaderPerm        amzs3.ACL
}

func (*FakeClient) GetReader

func (client *FakeClient) GetReader(path string) (rc io.ReadCloser, err error)

func (*FakeClient) PutReader

func (client *FakeClient) PutReader(path string, r io.Reader, length int64, contType string, perm amzs3.ACL) error

Jump to

Keyboard shortcuts

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