|
|
0e19f6d146
|
internal/redis/channel.go: Change delimiter to "/"
|
2023-01-12 15:37:29 +01:00 |
|
|
|
dd9bd85801
|
internal/redis/namespace.go: Change delimiter to "::"
|
2023-01-12 15:37:14 +01:00 |
|
|
|
fb3ed0f976
|
Makefile: add test target.
|
2023-01-06 17:18:25 +01:00 |
|
|
|
83a4c9f70f
|
ship_processor.go: encodeQueue should accept and redis.ChannelInterface instead of redis.Channel to make it more generic.
|
2023-01-06 17:17:01 +01:00 |
|
|
|
723b0786cb
|
ship_processor.go: make queueMessage() accept an redis.ChannelInterface instead of redis.Key so we can call redisNs.NewKey() as late as possible.
|
2023-01-06 17:15:31 +01:00 |
|
|
|
93300f01ea
|
ship_processor.go: in processTraces() make a slice of redis.ChannelInterface instead of redis.Key so we don't have to repeat our self.
|
2023-01-06 17:12:55 +01:00 |
|
|
|
4b41718c78
|
ship_processor.go: Use redis.Namespace.NewKey()
|
2023-01-06 17:09:41 +01:00 |
|
|
|
1bc43cc87b
|
internal/redis/namespace.go: Adding Namespace.NewKey() helper function.
|
2023-01-06 17:07:22 +01:00 |
|
|
|
13c8ed7692
|
Refactor to use the new redis.Key,redis.Namespace and redis.Channel types.
|
2023-01-06 17:06:27 +01:00 |
|
|
|
61beca435c
|
Adding internal/redis/key.go
|
2023-01-06 17:05:44 +01:00 |
|
|
|
15b9a9804f
|
Adding internal/redis/namespace.go
|
2023-01-06 16:55:36 +01:00 |
|
|
|
e91951d7ed
|
Adding internal/redis/channel.go
|
2023-01-06 16:53:04 +01:00 |
|
|
|
177b715ba4
|
ship_processor.go: typo fix. hearthbeat should be heartbeat.
|
2023-01-06 16:39:14 +01:00 |
|
|
|
73f0ba0555
|
ship_processor.go: improve channel names for actions.
|
2023-01-06 15:39:13 +01:00 |
|
|
|
42da179c74
|
internal/redis/wrapper.go: in Key() used "::" as a separator between namespace and channel.
|
2023-01-06 15:38:21 +01:00 |
|
|
|
dcb1e173a2
|
Adding LICENSE file.
|
2023-01-05 17:09:55 +01:00 |
|
|
|
8ebcf70ba1
|
main.go: minor style fixes.
|
2023-01-05 17:08:47 +01:00 |
|
|
|
a9c8bd3a04
|
go.mod: change github.com/eosswedenorg-go/eos-ship-client to github.com/eosswedenorg-go/antelope-ship-client v0.2.0
|
2022-12-01 10:56:46 +01:00 |
|
|
|
433b23b77b
|
main.go: in readerLoop() bail out of function if error returned from shClient.Read is "socket closed".
|
2022-11-29 16:46:34 +01:00 |
|
|
|
7a24e9d684
|
go.mod: Upgrade github.com/eosswedenorg-go/eos-ship-client to v0.1.4
|
2022-11-29 16:39:48 +01:00 |
|
|
|
becd50da9c
|
go.mod: remove unneeded packages.
|
2022-11-29 16:39:11 +01:00 |
|
|
|
6d8c63f958
|
Remove internal/telegram/wrapper.go
|
2022-11-29 16:38:54 +01:00 |
|
|
|
9f1b2f3026
|
main.go: use github.com/nikoksr/notify as notification system instead of calling telegram directly.
|
2022-11-29 16:38:06 +01:00 |
|
|
|
1d350fc5f1
|
Adding docs/messages.md
|
2022-11-29 15:08:57 +01:00 |
|
|
|
ddd5d67901
|
Move internal packages into internal subdirectory
|
2022-11-29 15:08:23 +01:00 |
|
|
|
770f0a48ef
|
ship_processor.go: Send hearthbeat every 10'th block.
|
2022-11-29 15:04:50 +01:00 |
|
|
|
3694bc1c42
|
types.go: adding HearthBeat struct
|
2022-11-29 15:04:29 +01:00 |
|
|
|
3ecf4c7c42
|
ship_processor.go: move some repetitive code into helper functions.
|
2022-11-29 14:51:51 +01:00 |
|
|
|
6c9350136c
|
ship_processor.go: Include hex data in action traces.
|
2022-11-29 14:50:24 +01:00 |
|
|
|
0c91290afb
|
types.go: Adding ActionTrace.HexData field.
|
2022-11-29 14:49:56 +01:00 |
|
|
|
61d9836275
|
config.example.json: Adding redis.prefix
|
2022-11-29 13:45:48 +01:00 |
|
|
|
186983d54f
|
main.go: Pass config.Redis.Prefix to redis.SetPrefix()
|
2022-11-29 13:45:13 +01:00 |
|
|
|
ab7a8f0433
|
config/config.go: Adding RedisConfig.Prefix
|
2022-11-29 13:44:29 +01:00 |
|
|
|
cd9dd6468a
|
redis/wrapper.go: make "prefix" variable internal and provide SetPrefix() function
|
2022-11-29 05:55:13 +01:00 |
|
|
|
c1cdf50975
|
abi_cache/cache_test.go: change require.Error() to assert.Error() and remove the import.
|
2022-11-29 05:41:28 +01:00 |
|
|
|
9d3d5bbafd
|
abi_cache/cache_test.go: Minor code niceness fix.
|
2022-11-29 05:40:50 +01:00 |
|
|
|
f00b755e00
|
ship_processor.go: include TransactionID in action traces.
|
2022-11-29 05:37:11 +01:00 |
|
|
|
4aa929ff16
|
types.go: Add ActionTrace.TxID field.
|
2022-11-29 05:36:39 +01:00 |
|
|
|
4f722342bb
|
main.go: remove unreachable code
|
2022-11-28 17:31:58 +01:00 |
|
|
|
d8c198c24d
|
main.go: in readerLoop() also switch to RS_CONNECT state on shipclient.ErrNotConnected error.
|
2022-11-28 17:29:11 +01:00 |
|
|
|
58d4538159
|
go.mod: Require a minimum version of go 1.8 as we have dependencies that require it.
|
2022-11-28 17:22:37 +01:00 |
|
|
|
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 |
|