|
|
d8cdcfd11b
|
go.mod: upgrade packages.
|
2022-11-28 17:15:35 +01:00 |
|
|
|
10e40bbcc3
|
go.mod: Upgrade github.com/eosswedenorg-go/eos-ship-client to v0.1.3
|
2022-11-28 17:13:43 +01:00 |
|
|
|
46b0db2ff2
|
Switch logging from standard log package to logrus.
|
2022-11-28 17:04:44 +01:00 |
|
|
|
a4caf6c003
|
go.mod: require github.com/sirupsen/logrus
|
2022-11-28 17:04:22 +01:00 |
|
|
|
bcc0fcd7d7
|
main.go: Simplify boolean expression because the linter says so.
|
2022-11-28 15:39:59 +01:00 |
|
|
|
b24d8d1e2c
|
main.go: check return error from shClient.SendCloseMessage()
|
2022-11-28 15:38:59 +01:00 |
|
|
|
462f4c388c
|
abi.go: Use fmt.Errorf() instead of errors.New()
|
2022-11-28 15:27:42 +01:00 |
|
|
|
621aeedbd0
|
config/config.go: fix RedisConfig.DB json tag.
|
2022-11-28 15:26:36 +01:00 |
|
|
|
1e2dda54c8
|
Formatting fix.
|
2022-11-28 15:25:54 +01:00 |
|
|
|
953113b456
|
main.go: give a more descriptive error message when initializing telegram.
|
2022-06-26 21:49:20 +02:00 |
|
|
|
72e1be8944
|
main.go: in readerLoop() add a counter and sent to telegram if we try connecting more than 3 times.
|
2022-06-23 14:36:54 +02:00 |
|
|
|
9a3dac391e
|
main.go: initialize telegram
|
2022-06-23 14:36:54 +02:00 |
|
|
|
d883a8d446
|
Adding telegram/wrapper.go
|
2022-06-23 14:36:54 +02:00 |
|
|
|
f2006dc174
|
require github.com/go-telegram-bot-api/telegram-bot-api/v5
|
2022-06-23 14:36:54 +02:00 |
|
|
|
dbe01ad7ca
|
config/config.go: Adding telegram.
|
2022-06-23 11:32:57 +02:00 |
|
|
|
fdc18e30cb
|
config/config.go: Adding name field
|
2022-06-23 11:26:54 +02:00 |
|
|
|
d05a8c0e03
|
tidy go mod files.
|
2022-03-11 11:41:52 +01:00 |
|
|
|
231b467dbe
|
Also move "redis wrapper" into it's own package.
|
2022-03-11 11:35:33 +01:00 |
|
|
|
8df93439c3
|
convert abi_cache into a proper package.
|
2022-03-11 11:28:16 +01:00 |
|
|
|
97a3f0e2f3
|
Move config into it's own package.
|
2022-03-11 11:26:26 +01:00 |
|
|
|
545474be4e
|
Update github.com/eosswedenorg-go/eos-ship-client to v0.1.0
|
2022-02-02 17:10:16 +01:00 |
|
|
|
0c876cea72
|
abi.go: in GetAbi: wrap error message so we know if api or redis failed.
|
2022-02-02 16:28:31 +01:00 |
|
|
|
c13b2d49c6
|
Merge branch 'performance-fix'
# Conflicts:
# go.mod
# go.sum
# redis.go
|
2022-02-02 16:10:27 +01:00 |
|
|
|
50e3dfd0ce
|
main.go: check redis connection.
|
2022-02-02 15:58:18 +01:00 |
|
|
|
3eaa1f42fe
|
redis.go: in RedisConnect() do a ping and return any errors. So we know that the connection is up or not.
|
2022-02-02 15:58:06 +01:00 |
|
|
|
c1264b2dc1
|
main.go: refactor read loop to do connect (and reconnect indefinitely if connection drops)
|
2022-02-02 15:25:50 +01:00 |
|
|
|
107f3c384c
|
main.go: call shClient.IsOpen() and exit early if closed in interrupt handler.
|
2022-02-02 15:14:56 +01:00 |
|
|
|
54e8bcf17d
|
go modules: update github.com/eosswedenorg-go/eos-ship-client
|
2022-02-02 15:14:13 +01:00 |
|
|
|
f2e222e058
|
main.go: log a message when getting chain info.
|
2022-02-02 15:10:22 +01:00 |
|
|
|
ed82bb9aec
|
scripts/stop.sh: pass "-s INT" to kill.
|
2022-02-02 15:08:33 +01:00 |
|
|
|
875304066e
|
Update github.com/eoscanada/eos-go to v0.10.2
|
2022-01-20 15:24:02 +01:00 |
|
|
|
e079a896cf
|
main.go: call InitAbiCache()
|
2022-01-20 15:22:21 +01:00 |
|
|
|
b8f667ac10
|
abi.go: use the new internal/abi_cache
|
2022-01-20 15:22:07 +01:00 |
|
|
|
5f0f62d2a1
|
Update github.com/eoscanada/eos-go to v0.10.2
|
2022-01-20 15:19:36 +01:00 |
|
|
|
896711ecb1
|
config.go: Adding CacheID to RedisConfig
|
2022-01-20 15:10:01 +01:00 |
|
|
|
301e51b3ef
|
Adding internal/abi_cache
|
2022-01-20 15:08:05 +01:00 |
|
|
|
ad37945951
|
ship_processor.go: use redis pipelines for publishing.
|
2022-01-20 11:52:31 +01:00 |
|
|
|
90df18562c
|
redis.go: implement functions for pipeline.
|
2022-01-20 11:49:13 +01:00 |
|
|
|
6cdb596b41
|
ship_processor.go: also publish transactions to redis.
|
2022-01-20 11:24:18 +01:00 |
|
|
|
93c9f8a721
|
install.sh: only copy config.example.json if $INSTALL_DIR/config.json does not exist.
|
2022-01-20 11:23:42 +01:00 |
|
|
|
bfaaacc3ad
|
ship_processor.go: Print error when encoding fails.
|
2022-01-20 11:22:54 +01:00 |
|
|
|
cd8eae6331
|
types.go: Add json tags
|
2022-01-17 15:33:03 +01:00 |
|
|
|
a975275a08
|
Adding install.sh
|
2022-01-17 14:50:54 +01:00 |
|
|
|
68426a8b5f
|
Adding start/stop scripts.
|
2022-01-17 14:50:39 +01:00 |
|
|
|
925db35646
|
Add cli option and functionality to write PID file.
|
2022-01-17 13:56:32 +01:00 |
|
|
|
2b55546e5e
|
Adding getopt and some cli flags.
|
2022-01-17 13:46:14 +01:00 |
|
|
|
164d0a4153
|
Initial commit
|
2022-01-17 13:45:25 +01:00 |
|