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:
parent
d05a8c0e03
commit
fdc18e30cb
2 changed files with 2 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ type RedisConfig struct {
|
|||
}
|
||||
|
||||
type Config struct {
|
||||
Name string `json:"name"`
|
||||
ShipApi string `json:"ship_api"`
|
||||
Api string `json:"api"`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue