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

config/config.go: Adding name field

This commit is contained in:
Henrik Hautakoski 2022-06-23 11:26:42 +02:00
parent d05a8c0e03
commit fdc18e30cb
2 changed files with 2 additions and 0 deletions

View file

@ -1,4 +1,5 @@
{
"name": "ship-reader-1",
"api": "http://127.0.0.1:8080",
"ship_api": "127.0.0.1:8089",
"irreversible_only": false,

View file

@ -16,6 +16,7 @@ type RedisConfig struct {
}
type Config struct {
Name string `json:"name"`
ShipApi string `json:"ship_api"`
Api string `json:"api"`