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

app/config/config.go: Move from json format to yaml.

This commit is contained in:
Henrik Hautakoski 2023-04-24 17:44:31 +02:00
parent bbf63e447d
commit e4c852c99e
7 changed files with 83 additions and 86 deletions

20
config.example.yml Normal file
View file

@ -0,0 +1,20 @@
name: "ship-reader-1"
api: "http://127.0.0.1:8080"
message_codec: "json"
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
redis:
addr: "localhost:6379"
pasword: ""
db: 0
prefix: "ship"