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:
parent
bbf63e447d
commit
e4c852c99e
7 changed files with 83 additions and 86 deletions
20
config.example.yml
Normal file
20
config.example.yml
Normal 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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue