update events
This commit is contained in:
@@ -10,7 +10,8 @@ type ServerConfig struct {
|
||||
}
|
||||
|
||||
type MSHosts struct {
|
||||
UsersHost string
|
||||
UsersHost string
|
||||
PersonsHost string
|
||||
}
|
||||
|
||||
type Config struct {
|
||||
@@ -25,7 +26,8 @@ func New() *Config {
|
||||
ConnectionString: getEnv("CONNECTION_STRING", "host=localhost user=astra_events password=password dbname=astra_events_db port=5432 sslmode=disable TimeZone=Europe/Moscow"),
|
||||
},
|
||||
MSHosts: MSHosts{
|
||||
UsersHost: getEnv("ASTRA-USERS", "http://localhost:8081"),
|
||||
UsersHost: getEnv("ASTRA-USERS", "http://localhost:8083"),
|
||||
PersonsHost: getEnv("ASTRA-PESONAL-INFORMATION", "http://localhost:8082"),
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user