mirror of
https://github.com/eosswedenorg/antelope-api-healthcheck
synced 2026-08-26 20:48:13 +02:00
move internal/*.go files into internal/server
This commit is contained in:
parent
e9976fbbee
commit
1b1f601678
4 changed files with 7 additions and 7 deletions
|
|
@ -7,7 +7,7 @@ import (
|
|||
"syscall"
|
||||
|
||||
"github.com/eosswedenorg-go/pid"
|
||||
"github.com/eosswedenorg/eosio-api-healthcheck/internal"
|
||||
"github.com/eosswedenorg/eosio-api-healthcheck/internal/server"
|
||||
"github.com/eosswedenorg/eosio-api-healthcheck/internal/utils"
|
||||
log "github.com/inconshreveable/log15"
|
||||
"github.com/pborman/getopt/v2"
|
||||
|
|
@ -176,7 +176,7 @@ func main() {
|
|||
addr = argv_listen_addr()
|
||||
|
||||
// Start listening to TCP Connections
|
||||
err := internal.SpawnTcpServer(addr)
|
||||
err := server.Start(addr)
|
||||
if err == nil {
|
||||
logger.Info("TCP Server started", "addr", addr)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue