The highest tagged major version is
v7.
package
Version:
v4.0.0-beta.2
Opens a new window with list of versions in this module.
Published: Apr 1, 2022
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Package writers 提供了一组实现 io.Writer 接口的结构
SMTP 实现 io.Writer 接口的邮件发送
NewSMTP 新建 SMTP 对象
username 为smtp 的账号;
password 为 smtp 对应的密码;
subject 为发送邮件的主题;
host 为 smtp 的主机地址,需要带上端口号;
sendTo 为接收者的地址。
Source Files
¶
Directories
¶
Package rotate 提供一个可以按文件大小进行分割的 io.Writer 实例
|
Package rotate 提供一个可以按文件大小进行分割的 io.Writer 实例 |
Click to show internal directories.
Click to hide internal directories.