xroleupload

package
v0.0.0-...-139d814 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const BehaviorName = `upload`

Variables

This section is empty.

Functions

func ParseSizeBytes

func ParseSizeBytes(val string) uint64

Types

type CustomerUpload

type CustomerUpload struct {
	MaxTotalNum     uint64 `json:"maxTotalNum" xml:"maxTotalNum"`         // 最大总数量
	MaxTotalSize    string `json:"maxTotalSize" xml:"maxTotalSize"`       // 最大总尺寸
	CanUploadSVG    bool   `json:"canUploadSVG" xml:"canUploadSVG"`       // 可否上传SVG图片
	CanUploadAvatar bool   `json:"canUploadAvatar" xml:"canUploadAvatar"` // 可否上传头像
	// contains filtered or unexported fields
}

func (*CustomerUpload) Combine

func (c *CustomerUpload) Combine(source interface{}) interface{}

func (*CustomerUpload) MaxTotalSizeBytes

func (c *CustomerUpload) MaxTotalSizeBytes() uint64

Jump to

Keyboard shortcuts

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