upload

package
v0.0.0-...-5b4efa0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Services = map[string]UploadService{}

Functions

This section is empty.

Types

type DefaultUploadService

type DefaultUploadService struct {
}

func (DefaultUploadService) Check

func (DefaultUploadService) SaveFile

func (_ DefaultUploadService) SaveFile(fh *multipart.FileHeader, filePath string) string

type UploadService

type UploadService interface {
	Check(*multipart.FileHeader) bool
	SaveFile(*multipart.FileHeader, string) string
}

Jump to

Keyboard shortcuts

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