mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-18 04:40:03 +02:00
config/config.go: put Ship stuff into its own struct/section and also provide a shorthand "string" value for "ship" field (only url)
This commit is contained in:
parent
e860c81601
commit
5fa1dbb504
4 changed files with 115 additions and 44 deletions
|
|
@ -1,11 +1,13 @@
|
|||
{
|
||||
"name": "ship-reader-1",
|
||||
"api": "http://127.0.0.1:8080",
|
||||
"ship_api": "127.0.0.1:8089",
|
||||
"irreversible_only": false,
|
||||
"max_messages_in_flight": 10,
|
||||
"start_block_num": 4294967295,
|
||||
"end_block_num": 4294967295,
|
||||
"ship": {
|
||||
"url": "127.0.0.1:8089",
|
||||
"irreversible_only": false,
|
||||
"max_messages_in_flight": 10,
|
||||
"start_block_num": 4294967295,
|
||||
"end_block_num": 4294967295
|
||||
},
|
||||
"telegram": {
|
||||
"id": "110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw",
|
||||
"channel": -123456789
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue