fileloader

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2019 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileLoader

type FileLoader interface {
	Load(formField string, opt Options) echo.MiddlewareFunc
}

FileLoader is a service for managing file uploads

func New

New returns a new fileloader service

type Options

type Options struct {
	ContextField string
	SizeField    string
	MimeType     []string
}

Options represent the options to load the file

Jump to

Keyboard shortcuts

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