mirror of
https://github.com/eosswedenorg/thalos
synced 2026-07-04 12:03:41 +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",
|
"api": "http://127.0.0.1:8080",
|
||||||
"ship_api": "127.0.0.1:8089",
|
"ship_api": "127.0.0.1:8089",
|
||||||
"irreversible_only": false,
|
"irreversible_only": false,
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@ type RedisConfig struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type Config struct {
|
type Config struct {
|
||||||
|
Name string `json:"name"`
|
||||||
ShipApi string `json:"ship_api"`
|
ShipApi string `json:"ship_api"`
|
||||||
Api string `json:"api"`
|
Api string `json:"api"`
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue