file

package
v0.0.0-...-ced861c Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Image 图片,图片最大1MB。支持上传jpg、gif、png、bmp格式
	Image = Genre("image")

	// Voice 语音,语音文件最大2MB。支持上传amr、mp3、wav格式
	Voice = Genre("voice")

	// Video 视频,视频最大10MB。支持上传mp4格式
	Video = Genre("video")

	// File 普通文件,最大10MB。支持上传doc、docx、xls、xlsx、ppt、pptx、zip、pdf、rar格式
	File = Genre("file")

	// Folder 文件夹
	Folder = Genre("folder")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Genre

type Genre string

Jump to

Keyboard shortcuts

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