formfile

package
v0.0.0-...-b7dc2fe Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2019 License: MIT Imports: 1 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileHolder

type FileHolder interface {
	FormFile(key string) (multipart.File, *multipart.FileHeader, error)
}

FileHolder represents an interface to fetch files from a key

type FormFile

type FormFile struct {
	File   multipart.File
	Header *multipart.FileHeader
	Mime   string
}

FormFile represents a file sent

Directories

Path Synopsis
Package mockformfile is a generated GoMock package.
Package mockformfile is a generated GoMock package.

Jump to

Keyboard shortcuts

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