mirror of
https://github.com/shadow1ng/fscan.git
synced 2026-09-25 04:31:52 +08:00
合并dev。变动太大吗,又得重新优化输出,进度50%。rpc服务冲突,暂时删除
This commit is contained in:
@@ -6,7 +6,6 @@ import (
|
||||
|
||||
"github.com/shadow1ng/fscan/Common"
|
||||
"github.com/shadow1ng/fscan/Core"
|
||||
rpc "github.com/shadow1ng/fscan/RPC"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -15,10 +14,6 @@ func main() {
|
||||
var Info Common.HostInfo
|
||||
Common.Flag(&Info)
|
||||
|
||||
// 启动 gRPC + HTTP Gateway 服务
|
||||
if err := rpc.StartApiServer(); err != nil {
|
||||
os.Exit(1)
|
||||
}
|
||||
// 解析 CLI 参数
|
||||
if err := Common.Parse(&Info); err != nil {
|
||||
os.Exit(1)
|
||||
|
||||
Reference in New Issue
Block a user