Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClient ¶
type FakeClient struct { GetPath string GetContents io.ReadCloser GetErr error PutPath string PutContents string PutContentLength int64 PutErr error }
func NewFakeClient ¶
func NewFakeClient() *FakeClient
func (*FakeClient) Get ¶
func (c *FakeClient) Get(path string) (io.ReadCloser, error)
func (*FakeClient) Put ¶
func (c *FakeClient) Put(path string, content io.ReadCloser, contentLength int64) error
Click to show internal directories.
Click to hide internal directories.