add store service

This commit is contained in:
kandrusyak
2023-06-30 17:13:46 +03:00
parent 7f4122360f
commit 8f904217f2
5 changed files with 39 additions and 7 deletions

View File

@@ -6,6 +6,7 @@ import (
type MSHostsConfig struct {
UsersHost string
StoreHost string
}
type ServerConfig struct {
@@ -22,6 +23,7 @@ func New() *Config {
return &Config{
MSHosts: MSHostsConfig{
UsersHost: getEnv("USERS_HOST", ""),
StoreHost: getEnv("STORE_HOST", ""),
},
Server: ServerConfig{
Port: getEnv("PORT", ""),