client와 server 빌드를 분리하고 client에는 node_exporter 통합
This commit is contained in:
15
main_server.go
Normal file
15
main_server.go
Normal file
@ -0,0 +1,15 @@
|
||||
//go:build !client && server
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
"repositories.action2quare.com/ayo/gocommon/flagx"
|
||||
"repositories.action2quare.com/ayo/houston/server"
|
||||
)
|
||||
|
||||
func main() {
|
||||
flagx.Parse()
|
||||
|
||||
svr := server.NewServer()
|
||||
svr.Start()
|
||||
}
|
||||
Reference in New Issue
Block a user