Reworking in module definition
This commit is contained in:
@@ -4,6 +4,8 @@ import (
|
||||
"fmt"
|
||||
"net/url"
|
||||
"strconv"
|
||||
|
||||
"github.com/BBVA/kapow/internal/server/control"
|
||||
)
|
||||
|
||||
// StartServer Starts one instance of each server in a goroutine and remains listening on a channel for trace events generated by them
|
||||
@@ -24,7 +26,7 @@ func StartServer(bindAddr, certfile, keyfile string, interactive bool) error {
|
||||
dataBindAddr := fmt.Sprintf("%s:%d", userBindAddr.Host, userPort+2)
|
||||
|
||||
fmt.Printf("User server bind address: %s, Control server bind address: %s, Data server bind address: %s", bindAddr, ctrlBindAddr, dataBindAddr)
|
||||
//go ctrlServer.Start(traceChannel)
|
||||
go control.Run(ctrlBindAddr)
|
||||
//go dataServer.Start(traceChannel)
|
||||
//go ctrlServer.Start(traceChannel)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user