|
|
d5adb71bf2
|
.github/workflows/test.yml: also test api module.
|
2023-04-25 17:02:50 +02:00 |
|
|
|
b832697419
|
cmd/main/main.go: support msgpack as message encoder
|
2023-04-25 16:59:20 +02:00 |
|
|
|
2e8c228076
|
Adding api/message/msgpack
|
2023-04-25 16:58:31 +02:00 |
|
|
|
f3900bc262
|
api/message/types.go: add msgpack tags
|
2023-04-25 16:57:28 +02:00 |
|
|
|
9533e3499a
|
go.mod: downgrade go.uber.org/multierr to v1.6.0 as newer versions requires go v1.19
|
2023-04-24 18:27:05 +02:00 |
|
|
|
e4c852c99e
|
app/config/config.go: Move from json format to yaml.
|
2023-04-24 17:45:31 +02:00 |
|
|
|
bbf63e447d
|
cmd/main/main.go: Load message codec from config and pass to SpawnProccessor
|
2023-04-24 16:08:47 +02:00 |
|
|
|
f8f1d0399f
|
app/ship_processor.go: make SpawnProccessor() take in a message.Codec
|
2023-04-24 16:07:31 +02:00 |
|
|
|
3e8712c0c0
|
Adding api/message/json/codec.go
|
2023-04-24 16:06:56 +02:00 |
|
|
|
0d1b0f4310
|
Adding api/message/codec_manager.go to manager message codecs.
|
2023-04-24 16:06:23 +02:00 |
|
|
|
b5eb602e7d
|
app/config/config.go: Adding MessageCodec field.
|
2023-04-24 16:02:58 +02:00 |
|
|
|
b221b0415a
|
Typo fix. should be Heartbeat and not Hearthbeat
|
2023-04-21 15:23:13 +02:00 |
|
|
|
967de3260f
|
api/channel.go: Change Action struct name to ActionChannel
|
2023-04-21 12:28:21 +02:00 |
|
|
|
220f1976f0
|
api/redis/subscriber.go: remove client field from Subscriber struct
|
2023-04-21 11:58:16 +02:00 |
|
|
|
8881b2a529
|
api/writer.go: add documentation about low-level interface
|
2023-04-20 16:52:48 +02:00 |
|
|
|
8b981a0bc0
|
api/reader.go: improve documentation abit
|
2023-04-20 16:52:21 +02:00 |
|
|
|
c774cbf3ca
|
move config directory to app/config
|
2023-04-20 16:45:47 +02:00 |
|
|
|
a8183a6766
|
move abi directory to app/abi
|
2023-04-20 16:44:38 +02:00 |
|
|
|
da7056b2da
|
go.mod: update dependancies
|
2023-04-19 18:23:04 +02:00 |
|
|
|
ad0d4f4c28
|
make a module of the "api" packages.
|
2023-04-19 17:57:39 +02:00 |
|
|
|
b6aabef7f3
|
Adding .github/workflows/test.yml
|
2023-04-19 17:55:48 +02:00 |
|
|
|
9c4aa79c11
|
go.mod: update module name to github.com/eosswedenorg/thalos
|
2023-04-19 17:50:06 +02:00 |
|
|
|
a8bac16aa9
|
merge api/redis_common and api/redis_pubsub to api/redis
|
2023-04-19 09:56:52 +02:00 |
|
|
|
102045e47e
|
rename transport to api
|
2023-04-19 09:52:29 +02:00 |
|
|
|
044ed4e891
|
app/ship_processor.go: do not send newline in log message.
|
2023-04-18 17:31:09 +02:00 |
|
|
|
c4167d2b92
|
cmd/main/main.go: simplify ship (re)connection by removing the statemachine and using a simple bool instead.
|
2023-04-17 15:36:39 +02:00 |
|
|
|
93479506b6
|
Upgrade to github.com/eosswedenorg-go/antelope-ship-client v0.2.3
|
2023-04-17 15:28:32 +02:00 |
|
|
|
5fa1dbb504
|
config/config.go: put Ship stuff into its own struct/section and also provide a shorthand "string" value for "ship" field (only url)
|
2023-04-17 15:17:46 +02:00 |
|
|
|
e860c81601
|
transport/redis_common/key.go: use Channel.Format() instead of Channel.String()
|
2023-03-30 03:37:35 +02:00 |
|
|
|
e45259603b
|
transport/channel_test.go: dont test Action Channel with String() method. just compare Channel objects.
|
2023-03-30 03:36:43 +02:00 |
|
|
|
f76290f299
|
transport/channel.go: Add Format()
|
2023-03-30 03:35:44 +02:00 |
|
|
|
08c84d81ca
|
transport/channel_test.go: Add test for Channel.Is()
|
2023-03-30 03:35:03 +02:00 |
|
|
|
70bc689736
|
transport/reader.go: Add Close() method
|
2023-03-29 15:41:01 +02:00 |
|
|
|
65173425a6
|
transport/redis_pubsub/subscriber.go: make Close() return an error.
|
2023-03-29 15:40:37 +02:00 |
|
|
|
a23661e088
|
Change project name to "thalos" (working name).
|
2023-03-29 15:28:40 +02:00 |
|
|
|
f174863a17
|
transport/redis_pubsub/subscriber.go: implement Close()
|
2023-03-29 11:57:51 +02:00 |
|
|
|
834adb6ca8
|
cmd/main/main.go: close processor when application is done.
|
2023-03-29 11:55:42 +02:00 |
|
|
|
0034225e7a
|
move main.go to cmd/main/main.go
|
2023-03-29 11:55:13 +02:00 |
|
|
|
1f09993925
|
app/ship_processor.go: Add Close() method that closes the writer.
|
2023-03-29 11:53:11 +02:00 |
|
|
|
c225505143
|
transport/writer.go: Add Close() method.
|
2023-03-29 11:52:31 +02:00 |
|
|
|
1de6cd9432
|
transport/redis_pubsub/publisher.go: Adding Close() method.
|
2023-03-29 11:51:15 +02:00 |
|
|
|
6a5292da5e
|
app/ship_processor.go: Return ShipProcessor object from SpawnProcessor()
|
2023-03-29 11:50:14 +02:00 |
|
|
|
bbda49ab90
|
transport/reader.go: document concurrency requirement of Read()
|
2023-03-29 11:38:54 +02:00 |
|
|
|
531a2d3d17
|
Move Key and Namespace from transport/redis_pubsub to transport/redis_common
|
2023-03-08 16:28:52 +01:00 |
|
|
|
acdf827223
|
config/config.go: use shipclient.NULL_BLOCK_NUMBER instead of defining our own.
|
2023-03-08 15:56:45 +01:00 |
|
|
|
bd5037b044
|
Adding transport/redis_pubsub/subscriber.go
|
2023-03-08 11:32:37 +01:00 |
|
|
|
7843dda6d9
|
app/ship_processor.go: Support ActionTraceV1
|
2023-03-08 10:49:55 +01:00 |
|
|
|
454c8f7197
|
Adding config/config_test.go
|
2023-03-08 10:04:50 +01:00 |
|
|
|
bc5a351853
|
config/config.go: Refactor Load() into Parse() and Load() functions.
|
2023-03-08 10:04:12 +01:00 |
|
|
|
edaf662d50
|
transport/redis_pubsub/publisher_test.go: Change Publish to Write in test name.
|
2023-03-08 10:01:56 +01:00 |
|