|
|
074c089679
|
WIP
|
2023-03-08 15:52:10 +01:00 |
|
|
|
bc5a351853
|
config/config.go: Refactor Load() into Parse() and Load() functions.
|
2023-03-08 10:04:12 +01:00 |
|
|
|
7358bebc76
|
main.go: Minor fix.
|
2023-03-07 11:55:02 +01:00 |
|
|
|
19b93495ee
|
transport/redis_pubsub/redis.go rename to publisher.go
|
2023-03-07 11:33:53 +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 |
|
|
|
2bec1f09c5
|
app/ship_processor.go: remove ns from struct. should not be used here.
|
2023-01-19 17:47:13 +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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
eec834a338
|
main.go: setup redis pubsub publisher.
|
2023-01-13 13:32:23 +01:00 |
|
|
|
3251c94416
|
move internal/config to config
|
2023-01-12 16:49:27 +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 |
|
|
|
13c8ed7692
|
Refactor to use the new redis.Key,redis.Namespace and redis.Channel types.
|
2023-01-06 17:06:27 +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 |
|
|
|
9f1b2f3026
|
main.go: use github.com/nikoksr/notify as notification system instead of calling telegram directly.
|
2022-11-29 16:38:06 +01:00 |
|
|
|
ddd5d67901
|
Move internal packages into internal subdirectory
|
2022-11-29 15:08:23 +01:00 |
|
|
|
186983d54f
|
main.go: Pass config.Redis.Prefix to redis.SetPrefix()
|
2022-11-29 13:45:13 +01:00 |
|
|
|
cd9dd6468a
|
redis/wrapper.go: make "prefix" variable internal and provide SetPrefix() function
|
2022-11-29 05:55:13 +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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
231b467dbe
|
Also move "redis wrapper" into it's own package.
|
2022-03-11 11:35:33 +01:00 |
|
|
|
97a3f0e2f3
|
Move config into it's own package.
|
2022-03-11 11:26:26 +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 |
|
|
|
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 |
|
|
|
f2e222e058
|
main.go: log a message when getting chain info.
|
2022-02-02 15:10:22 +01:00 |
|
|
|
e079a896cf
|
main.go: call InitAbiCache()
|
2022-01-20 15:22:21 +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 |
|