Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Attachment ¶
type Attachment struct { FilePath string // 文件绝对路径 FileName string // 附件名 Data *[]byte // 文件字节数组 // contains filtered or unexported fields }
Attachment 附件数据结构, 在下列模式中二选一, 同时存在时 1 文件路径模式 : FilePath 存在, 默认附件显示名字为路径中的文件名, 可指定 FileName 为附件显示名字 2 文件名+文件内容模式 : FileName 和 Data 同时存在
Click to show internal directories.
Click to hide internal directories.