request_file_parse

package
v0.14.9 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name = "request_file_parse"
)

Variables

View Source
var (
	MultipartForm = "multipart/form-data"
)

Functions

func Create

func Create(id, name string, conf *Config, workers map[eosc.RequireId]eosc.IWorker) (eosc.IWorker, error)

func NewFactory

func NewFactory() eosc.IExtenderDriverFactory

func Register

func Register(register eosc.IExtenderDriverRegister)

Types

type Config

type Config struct {
	FileKey       string   `json:"file_key" label:"文件Key"`
	FileSuffix    []string `json:"file_suffix" label:"文件有效后缀列表"`
	LargeWarn     int64    `json:"large_warn" label:"文件大小警告阈值"`
	LargeWarnText string   `json:"large_warn_text" label:"文件大小警告标签值"`
}

Jump to

Keyboard shortcuts

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