1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-api-healthcheck synced 2026-06-18 05:00:03 +02:00
Commit graph

108 commits

Author SHA1 Message Date
f522146fbf Version 1.1 2021-12-30 19:08:39 +01:00
caf86bc797 compile.sh: add "-t" flag to usage string. 2021-12-30 19:07:37 +01:00
c552551348 compile.sh: remove "-p" flag from getopt. 2021-12-30 19:07:17 +01:00
26369545af .github/workflows/release.yml: Build FreeBSD packages for more architectures. 2021-12-30 19:01:39 +01:00
ed1341a72b scripts/build_freebsd.sh: add $GOARCH to tar filename. 2021-12-30 18:56:02 +01:00
4c5c74be31 scripts/build.sh: read and export variables from build/.buildinfo 2021-12-30 18:55:23 +01:00
f91e45e5ff package.sh: read target os from build/.buildinfo instead of binary. 2021-12-30 18:54:56 +01:00
55e149ddd6 Makefile: output data from "go env" to build/.buildinfo 2021-12-30 18:52:19 +01:00
a757c0dde5 Rename generated package info file from scrtips/info to scripts/pkg_info 2021-12-30 18:49:25 +01:00
8085eaa81d Add .github/workflows/release.yml 2021-12-30 18:05:15 +01:00
91bad080ee Modify package scripts to use build/ directory to store tmp directory and output files. 2021-12-30 17:35:18 +01:00
6ffc6f66c5 Merge branch 'freebsd-newsyslog-signal-on-rotate'
# Conflicts:
#	src/main.go
2021-12-24 11:09:17 +01:00
0ddbf6dea0 src/main.go: newsyslog actually sends SIGHUP, not SIGUSR1 2021-12-24 11:06:30 +01:00
8be4466d66 src/main.go: in setLogFile() check for null when closing old FD and also check error from Close() 2021-12-24 11:05:47 +01:00
2470062c3d scripts/templates/rc.conf: use "LOG_FILE" variable. 2021-12-24 11:04:19 +01:00
9532a8d5ef scripts/templates/rc.conf: pass logfile as "-l" flag 2021-12-24 11:03:18 +01:00
b8b11b1d66 Convert to go module 2021-12-23 16:47:15 +01:00
9781ee6a55 src/eosapi/functions.go: "github.com/liamylian/jsontime/v2" should be "github.com/liamylian/jsontime/v2/v2" 2021-12-23 16:46:55 +01:00
5907d96176 src/eosapi/functions.go: import jsontime with a more descriptive name than "v2" 2021-12-23 16:25:53 +01:00
82c32d7901 Version 1.0 2021-12-02 13:23:19 +01:00
4375afa4fe Adding set-version.sh 2021-12-02 13:23:03 +01:00
6cef421a34 README.md: Add more documentation for compiling and packaging 2021-12-02 12:56:57 +01:00
15a4566b3b src/main.go: add -v and --version flag. 2021-12-02 12:56:09 +01:00
de78a7c622 Makefile: get rid of package target (make get confused by package.sh file) 2021-12-02 12:55:29 +01:00
9cf1c84ae2 compile.sh: move package stuff to package.sh 2021-12-02 12:54:42 +01:00
f782177bec scripts/build.sh: Adding some information output. 2021-12-02 12:46:44 +01:00
90c06e7d9f Makefile: don't require build for package target. 2021-12-02 12:41:54 +01:00
324356f9f4 Merge branch 'master' into devel 2020-11-04 13:59:58 +01:00
d6cc9ac185 Version 0.3.5 2020-11-04 13:59:23 +01:00
69253eaab3 Minor indentation fixes. 2020-11-02 10:43:07 +01:00
xebb
2a521ab333 Adding check for HTTPStatusCode to support varnish 2020-10-11 11:51:06 +02:00
823832c94e src/main.go: act on the SIGUSR1 signal (sent by logrotate daemon) and reopen log file. 2020-06-26 18:10:05 +02:00
c4e404f873 src/main.go: rewrite openlog() to a more specific setLogFile() function. 2020-06-26 18:04:46 +02:00
184302b9e4 freebsd: tell newsyslog where the pid file is. 2020-06-26 14:02:07 +02:00
9e8ee93983 src/main.go: adding "--log,-l" command line flag to enable file logging. 2020-06-26 14:01:52 +02:00
fe8724aae5 move some "non server" code from src/server.go to src/main.go 2020-06-26 13:47:48 +02:00
dc28fbd762 scripts/templates/newsyslog.conf: rotate at 10:00 instead of 00:00 2020-06-26 03:41:30 +02:00
d7e643fd73 Version 0.3.4 2020-06-24 17:51:36 +02:00
1abb1c8249 Merge remote-tracking branch 'origin/bugfix/json-float64-parse-error' into devel 2020-06-24 17:51:21 +02:00
d1c1447758 README.md: Document go-lang version. 2020-06-24 17:51:04 +02:00
c214908c0c Rewrite the log module.
It is now cleaner and acts as a wrapper around the standard go log module.
2020-06-24 17:45:14 +02:00
5d5d7bb5be Makefile: make "scripts/info" rule a phony one. so that it's always generated. 2020-06-24 14:45:05 +02:00
ba6b79ae0e src/server.go: in check_api_v2() use utils.JsonGetInt64() to safely get a int64 value from json.
If json contains "nil" value, the type assertion will fail. JsonGetInt64() will in that case return "0"
2020-06-24 14:44:14 +02:00
32faaaf418 Adding src/utils/json.go 2020-06-24 14:44:14 +02:00
aaf0b35b93 compile.sh: hack freebsd package abit. 2020-06-23 17:01:08 +02:00
23f8a09320 Makefile: compile without debug info per default. 2020-06-23 16:53:35 +02:00
dd6d636a43 Version 0.3.3 2020-06-23 13:36:56 +02:00
1a7ee2e148 README.md: document the 'host' request paramter. 2020-06-23 13:35:28 +02:00
5481dd7d32 README.md: Correcting+Cleanup request parameters documentation. 2020-06-23 13:30:03 +02:00
a310cb041d src/server.go: make tcp message function a "real" function instead of a inline one. 2020-06-23 13:07:08 +02:00