mirror of
https://github.com/eosswedenorg/antelope-api-healthcheck
synced 2026-08-27 20:58:13 +02:00
Convert to go module
This commit is contained in:
parent
9781ee6a55
commit
b8b11b1d66
9 changed files with 75 additions and 6 deletions
8
src/eosapi/go.mod
Normal file
8
src/eosapi/go.mod
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
module internal/eosapi
|
||||
|
||||
go 1.14
|
||||
|
||||
require (
|
||||
github.com/imroc/req v0.3.2
|
||||
github.com/liamylian/jsontime/v2 v2.0.0
|
||||
)
|
||||
3
src/haproxy/go.mod
Normal file
3
src/haproxy/go.mod
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
module internal/haproxy
|
||||
|
||||
go 1.14
|
||||
3
src/log/go.mod
Normal file
3
src/log/go.mod
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
module internal/log
|
||||
|
||||
go 1.14
|
||||
|
|
@ -3,8 +3,8 @@ package main
|
|||
|
||||
import (
|
||||
"os"
|
||||
"./log"
|
||||
"./pid"
|
||||
"internal/pid"
|
||||
"internal/log"
|
||||
"github.com/pborman/getopt/v2"
|
||||
)
|
||||
|
||||
|
|
|
|||
3
src/pid/go.mod
Normal file
3
src/pid/go.mod
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
module internal/pid
|
||||
|
||||
go 1.14
|
||||
|
|
@ -5,10 +5,10 @@ import (
|
|||
"time"
|
||||
"strings"
|
||||
"strconv"
|
||||
"./log"
|
||||
"./haproxy"
|
||||
"./eosapi"
|
||||
"./utils"
|
||||
"internal/log"
|
||||
"internal/haproxy"
|
||||
"internal/eosapi"
|
||||
"internal/utils"
|
||||
"github.com/firstrow/tcp_server"
|
||||
)
|
||||
|
||||
|
|
|
|||
3
src/utils/go.mod
Normal file
3
src/utils/go.mod
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
module internal/utils
|
||||
|
||||
go 1.14
|
||||
Loading…
Add table
Add a link
Reference in a new issue