refactor(config): move syslogconf to config/syslog package (#1865)

This commit is contained in:
MaineK00n
2024-03-05 18:11:45 +09:00
committed by GitHub
parent 54dae08f54
commit dc496468b9
10 changed files with 131 additions and 431 deletions

View File

@@ -9,13 +9,13 @@ import (
"golang.org/x/xerrors"
"github.com/future-architect/vuls/config"
syslogConf "github.com/future-architect/vuls/config/syslog"
"github.com/future-architect/vuls/models"
)
// SyslogWriter send report to syslog
type SyslogWriter struct {
Cnf config.SyslogConf
Cnf syslogConf.Conf
}
// Write results to syslog

View File

@@ -1,3 +1,5 @@
//go:build !windows
package reporter
import (