|
|
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 |
|
|
|
45d1a468e8
|
abi.go: Get rid of global state by defining an AbiManager struct.
|
2023-01-12 16:44:20 +01:00 |
|
|
|
0ded3ee6fe
|
abi.go: move DecodeAction to ship_processor.
|
2023-01-12 16:33:06 +01:00 |
|
|
|
9c3bd1e879
|
internal/abi_cache/cache.go: change "this" variable to "cache".
|
2023-01-12 16:31:51 +01:00 |
|
|
|
caf7460875
|
internal/redis/channel.go: Don't need to use fmt.Sprintf() anymore.
|
2023-01-12 15:37:29 +01:00 |
|
|
|
51af80d3aa
|
internal/redis/channel.go: Make Append() accept a variadic number of parameters.
|
2023-01-12 15:37:29 +01:00 |
|
|
|
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 |
|