mockuploads

package
v0.0.0-...-98cd694 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: Unlicense Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockUploadManager

type MockUploadManager struct {
	mock.Mock
}

MockUploadManager is a mock MockUploadManager.

func (*MockUploadManager) ReadFile

func (m *MockUploadManager) ReadFile(ctx context.Context, path string) ([]byte, error)

ReadFile satisfies the MockUploadManager interface.

func (*MockUploadManager) SaveFile

func (m *MockUploadManager) SaveFile(ctx context.Context, path string, content []byte) error

SaveFile satisfies the MockUploadManager interface.

func (*MockUploadManager) ServeFiles

func (m *MockUploadManager) ServeFiles(res http.ResponseWriter, req *http.Request)

ServeFiles satisfies the MockUploadManager interface.

Jump to

Keyboard shortcuts

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