style: 去除Impl接口声明层聚焦服务函数
This commit is contained in:
@@ -11,19 +11,16 @@ import (
|
||||
)
|
||||
|
||||
var NewProcessor = &NeConfigBackupProcessor{
|
||||
neConfigBackupService: neService.NewNeConfigBackupImpl,
|
||||
neInfoService: neService.NewNeInfoImpl,
|
||||
neConfigBackupService: neService.NewNeConfigBackup,
|
||||
neInfoService: neService.NewNeInfo,
|
||||
count: 0,
|
||||
}
|
||||
|
||||
// NeConfigBackupProcessor 网元配置文件定期备份
|
||||
type NeConfigBackupProcessor struct {
|
||||
// 网元配置文件备份记录服务
|
||||
neConfigBackupService neService.INeConfigBackup
|
||||
// 网元信息服务
|
||||
neInfoService neService.INeInfo
|
||||
// 执行次数
|
||||
count int
|
||||
neConfigBackupService *neService.NeConfigBackup // 网元配置文件备份记录服务
|
||||
neInfoService *neService.NeInfo // 网元信息服务
|
||||
count int // 执行次数
|
||||
}
|
||||
|
||||
func (s *NeConfigBackupProcessor) Execute(data any) (any, error) {
|
||||
|
||||
Reference in New Issue
Block a user