|
|
c2cc60dbfb
|
Makefile adding coverage target
|
2022-10-03 16:37:51 +02:00 |
|
|
|
f77edfe321
|
src/parse_request.go: linter does not like capitalized error strings.
|
2022-10-03 16:37:34 +02:00 |
|
|
|
bc6f857c1e
|
Adding src/api/debug_test.go
|
2022-10-03 16:32:17 +02:00 |
|
|
|
0349999540
|
src/parse_request_test.go: adding test for debug api.
|
2022-10-03 16:15:47 +02:00 |
|
|
|
edb063722b
|
src/api/test.go: rename from TestApi to DebugApi
|
2022-10-03 16:15:25 +02:00 |
|
|
|
bda40bf1d5
|
src/parse_request_test.go: add test for invalid api type.
|
2022-10-03 16:13:32 +02:00 |
|
|
|
11c1e8afcd
|
Version 1.2.3
|
2022-08-22 18:19:55 +02:00 |
|
|
|
566071c997
|
Makefile: for dpkg-buildpackage skip building source and only build binary package.
|
2022-08-22 18:19:46 +02:00 |
|
|
|
ad5830ed34
|
scripts/install_freebsd.sh: pass description correctly to rc.conf
|
2022-08-22 17:44:37 +02:00 |
|
|
|
0f4f4ad994
|
scripts/templates/rc.conf: prefix DESCRIPTION
|
2022-08-22 17:44:37 +02:00 |
|
|
|
d0d32ed740
|
scripts/install_linux.sh: Pass description correctly to sysunit service file.
|
2022-08-22 17:44:36 +02:00 |
|
|
|
6de7ca549f
|
scripts/templates/sysunit.service: prefix DESCRIPTION variable.
|
2022-08-22 17:44:36 +02:00 |
|
|
|
22255b9758
|
.github/workflows/release.yml: Remove ubuntu-18.04 as github will drop support on 2022-12-01
|
2022-08-22 17:44:33 +02:00 |
|
|
|
843d30bb3d
|
set-version.sh: handle spaces for Makefile variable.
|
2022-08-22 15:43:13 +02:00 |
|
|
|
c94f274da3
|
debian/changelog: Update v1.2.3 with a real changelog.
|
2022-08-22 14:19:30 +02:00 |
|
|
|
47077aa84c
|
.github/workflows/release.yml: Update to work with the new buildsystem.
|
2022-08-22 14:19:30 +02:00 |
|
|
|
da4694eb6b
|
debian/control: description to long :)
|
2022-08-22 14:19:30 +02:00 |
|
|
|
e2d3e3e59f
|
debian/rules pass $DEB_VERSION as VersionString to linker.
|
2022-08-22 14:19:29 +02:00 |
|
|
|
189b4f2207
|
scripts/info.sh: remove program version, defined in Makefile.
|
2022-08-22 14:19:29 +02:00 |
|
|
|
d2db6ea4b3
|
set-version.sh: Update to handle debian/changes and PROGRAM_VERSION in Makefile.
|
2022-08-22 14:19:29 +02:00 |
|
|
|
4b3ae5431c
|
Makefile: Set VersionString variable when linking.
|
2022-08-21 23:52:26 +02:00 |
|
|
|
b67b5d6b7e
|
src/main.go: use a global variable to display version number, this should be set by the linker during build.
|
2022-08-21 20:46:40 +02:00 |
|
|
|
53bc1cfbd8
|
debian/control: Add extended description
|
2022-08-21 20:26:09 +02:00 |
|
|
|
83edcac967
|
debian/rules: pass PREFIX=/usr to INSTALL_FLAGS as debian packages should not install anything in /usr/local
|
2022-08-21 20:17:13 +02:00 |
|
|
|
08e7041246
|
debian/rules: pass "--buildmode=pie" in GOBUILDFLAGS to install.
|
2022-08-21 20:09:12 +02:00 |
|
|
|
d33abd05f6
|
debian/control: Should have Standards-Version = 4.5.0
|
2022-08-21 20:08:25 +02:00 |
|
|
|
e44a5ab86e
|
Makefile: in build target, skip creating build/.buildinfo. its not needed.
|
2022-08-21 20:08:01 +02:00 |
|
|
|
fe1beaa616
|
Makefile: remove GOCCFLAGS and GOLDFLAGS in favor for GOBUILDFLAGS
|
2022-08-21 20:03:03 +02:00 |
|
|
|
c2e0bef26e
|
src/main.go: in eventLoop() combine SIGINT and SIGTERM handling, they have the same functionality.
|
2022-08-21 15:02:27 +02:00 |
|
|
|
bd412bb0eb
|
src/main.go: in eventLoop() create a child logger with a signal parameter and use that to log messages.
|
2022-08-21 15:02:26 +02:00 |
|
|
|
8b86a5d34b
|
src/main.go: Fix a comment.
|
2022-08-21 15:02:26 +02:00 |
|
|
|
44c1d690ef
|
src/main.go: indentation fix.
|
2022-08-21 14:31:31 +02:00 |
|
|
|
2832b50fe7
|
src/main.go: in event loop, also listen for SIGTERM and gracefully shutdown the program.
|
2022-08-21 14:28:22 +02:00 |
|
|
|
b2c6589408
|
src/main.go: Log return from spawnTcpServer()
|
2022-08-21 14:15:06 +02:00 |
|
|
|
14d833e174
|
src/main.go: Only start event loop if server started correctly.
|
2022-08-21 14:12:03 +02:00 |
|
|
|
0e7ed54c1a
|
src/server.go: make spawnTcpServer() return error and remove log calls.
|
2022-08-21 14:09:17 +02:00 |
|
|
|
4653790df4
|
src/main.go: do graceful shutdown on interrupt signal.
|
2022-08-21 14:01:17 +02:00 |
|
|
|
d4cb1a92f9
|
src/main.go: switch go routine/main thread order. run spawnTcpServer() in go routine and run event loop in main thread.
|
2022-08-21 13:46:45 +02:00 |
|
|
|
6907b3ce75
|
src/main.go: skip logging "TCP Server started" its done in spawnTcpServer()
|
2022-08-21 13:35:31 +02:00 |
|
|
|
def3b41842
|
src/server.go: in SpawnTcpServer, do server.Connect() and then server.Listen()
|
2022-08-21 13:34:56 +02:00 |
|
|
|
4dd19df65b
|
.gitignore: ignore *.swp files.
|
2022-08-21 13:33:58 +02:00 |
|
|
|
1577707b7d
|
go.mod: update eosswedenorg/tcp_server to v0.1.1
|
2022-08-21 13:27:21 +02:00 |
|
|
|
7043d67945
|
Build debian packages using specification files instead of shell script.
|
2022-08-19 17:07:26 +02:00 |
|
|
|
6f8a3db85e
|
scripts/install_linux.sh: install systemd service file in /lib/systemd/system and create a symlink to it in /etc/systemd/system
|
2022-08-19 15:36:57 +02:00 |
|
|
|
792632d0e5
|
scripts/templates/config: prefix OPTS variable so it wont collide so easy with other environment variables.
|
2022-08-19 13:53:28 +02:00 |
|
|
|
fd04b3364f
|
scripts/install_linux.sh install systemd/init.d config file in /etc/default/eosio-api-healthcheck instead of /etc/eosio-api-healthcheck/env
Its the standard way for init.d but alot of systemd services uses it also.
|
2022-08-19 13:48:38 +02:00 |
|
|
|
0001c28ca7
|
scripts/install_freebsd.sh: call log_install for each file.
|
2022-08-19 13:31:24 +02:00 |
|
|
|
1f2252b2b5
|
scripts/install_linux.sh: call log_install for each file.
|
2022-08-19 13:31:15 +02:00 |
|
|
|
787adca5bd
|
Adding scripts/functions/log_install.sh
|
2022-08-19 13:30:37 +02:00 |
|
|
|
4a7d74594e
|
set-version.sh: update version in pkg_info.sh instead of Makefile
|
2022-08-19 13:26:02 +02:00 |
|