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) Check(*multipart.FileHeader) bool
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 }
Click to show internal directories.
Click to hide internal directories.