Documentation
¶
Overview ¶
cleaner包,用于程序退出时,执行清理操作
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExitCleaner ¶
type ExitCleaner interface {
ExitClean() error // 清理方法签名,清理器实际执行的逻辑在该方法中实现
}
定义清理器接口
Click to show internal directories.
Click to hide internal directories.