1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-16 04:24:56 +02:00
Commit graph

143 commits

Author SHA1 Message Date
074c089679 WIP 2023-03-08 15:52:10 +01:00
764db98417 config/config.go: Use redis and telegram config from app/serivce packages. 2023-03-08 14:04:20 +01:00
a2ab62afa0 Adding app/service/telegram/config.go 2023-03-08 14:03:40 +01:00
48f2b2dff1 Adding app/service/redis/config.go 2023-03-08 14:03:26 +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
347de718af transport/channel.go: rename Action.Action to Action.Name 2023-03-07 18:53:52 +01:00
7637b6e16b transport/message/types.go: Rename Action field to Name in ActionTrace struct 2023-03-07 18:47:58 +01:00
68c21c8ed8 transport/channel.go: Rewrite to not use a interface. Action struct has a Channel() method that returns a channel instead. 2023-03-07 18:35:58 +01:00
8e99146cc2 transport/channel.go: Adding Channel.Is() 2023-03-07 11:58:40 +01:00
7358bebc76 main.go: Minor fix. 2023-03-07 11:55:02 +01:00
f9fc88b0fb transport/publisher.go: rename to writer.go 2023-03-07 11:41:22 +01:00
b3f773655d Adding transport/reader.go 2023-03-07 11:35:13 +01:00
19b93495ee transport/redis_pubsub/redis.go rename to publisher.go 2023-03-07 11:33:53 +01:00
b46c070948 transport/message/encoding.go: make Decoder type match common Unmarshal interface. 2023-02-21 10:56:36 +01:00
6ca9f408f9 app/ship_processor.go: in encodeQueue() should check for err == nil, not err != nil. 2023-02-21 10:45:17 +01:00
315d7e19c9 transport/message/encoding.go: Add Decoder and Codec 2023-02-10 16:54:57 +01:00
027ba0b1ff transport/message/encoder.go: rename to encoding.go 2023-02-10 16:54:08 +01:00
a20295ee88 transport/message/encoder.go: remove Encode() function. 2023-02-10 16:50:59 +01:00
55f013a386 app/ship_processor.go: Use an message.Encoder function instead of directly calling massage.Encode() 2023-02-10 16:48:16 +01:00
2c3af6e4c5 transport/message/encoder.go: Define the Encoder type 2023-02-10 16:43:23 +01:00
38ae3a4630 transport/redis_pubsub/redis.go: No need to alias redis import. 2023-02-10 16:32:56 +01:00
82dce9b190 Update github.com/eosswedenorg-go/antelope-ship-client to v0.2.2 2023-02-10 16:05:43 +01:00
788cc2621e main.go: os.Interrupt can be changed to syscall.SIGINT 2023-01-20 12:15:24 +01:00
1d6c05b402 main.go: modify signal handling to also check syscall.SIGTERM 2023-01-20 12:14:54 +01:00
c6a2c49f9a main.go: simplify go routines and signal handling. 2023-01-20 12:02:32 +01:00
af0a4d2714 transport: move key and namespace into redis_pubsub as it is redis specific. 2023-01-19 19:07:35 +01:00
e0bf53496a transport/message/types.go: get rid of eos-go here. 2023-01-19 19:04:34 +01:00
2bec1f09c5 app/ship_processor.go: remove ns from struct. should not be used here. 2023-01-19 17:47:13 +01:00
69a9e9f47d transport/publisher.go: pass ChannelInterface instead of string to Publish() 2023-01-19 17:42:26 +01:00
5202247200 move app/types.go to transport/message/types.go 2023-01-19 16:28:54 +01:00
0027a80af0 Move ship_processor.go and types.go into app package. 2023-01-19 14:07:54 +01:00
a9c512d0b0 ship_processor.go: rename struct to ShipProcessor 2023-01-17 21:44:56 +01:00
5c5d7e57a9 ship_processor.go: move encodeMessage to transport/message/encoding.go 2023-01-17 21:03:48 +01:00
f589f5c0ed ship_processor.go: Move decodeAction() to abi/helpers.go 2023-01-17 21:01:09 +01:00
2d369adabf ship_processor.go: refactor to a struct to get rid of global state. 2023-01-17 20:57:09 +01:00
30e3d0e012 main.go: Remove some global variables that does not need to be global. 2023-01-17 19:24:19 +01:00
d825f3bc50 abi/cache_test.go: use redismock. 2023-01-13 14:39:07 +01:00
bcf55f1c12 Remove internal/redis/wrapper.go 2023-01-13 13:45:41 +01:00
b22118898d move channel stuffs from internal/redis to transport. 2023-01-13 13:38:04 +01:00
d0782c3c7c ship_processor.go: Use publisher instead of redis directly. 2023-01-13 13:36:09 +01:00
eec834a338 main.go: setup redis pubsub publisher. 2023-01-13 13:32:23 +01:00
45bf043d8a Adding transport/redis_pubsub publisher 2023-01-13 13:31:05 +01:00
6b6a375228 Adding transport/publisher.go 2023-01-13 13:30:11 +01:00
3251c94416 move internal/config to config 2023-01-12 16:49:27 +01:00
92c605c7fa move internal/abi_cache to abi 2023-01-12 16:48:04 +01:00
c05b789269 move abi.go to abi/manager.go 2023-01-12 16:46:09 +01:00