add events
This commit is contained in:
@@ -5,8 +5,9 @@ import (
|
||||
)
|
||||
|
||||
type MSHostsConfig struct {
|
||||
UsersHost string
|
||||
StoreHost string
|
||||
UsersHost string
|
||||
StoreHost string
|
||||
EventsHost string
|
||||
}
|
||||
|
||||
type ServerConfig struct {
|
||||
@@ -22,8 +23,9 @@ type Config struct {
|
||||
func New() *Config {
|
||||
return &Config{
|
||||
MSHosts: MSHostsConfig{
|
||||
UsersHost: getEnv("ASTRA-USERS", "http://localhost:8082"),
|
||||
StoreHost: getEnv("ASTRA-FILE-STORAGE", "http://localhost:8081"),
|
||||
UsersHost: getEnv("ASTRA-USERS", "http://localhost:8082"),
|
||||
StoreHost: getEnv("ASTRA-FILE-STORAGE", "http://localhost:8081"),
|
||||
EventsHost: getEnv("ASTRA-EVENTS", "http://localhost:8083"),
|
||||
},
|
||||
Server: ServerConfig{
|
||||
Port: getEnv("PORT", "8080"),
|
||||
|
||||
Reference in New Issue
Block a user