18 lines
300 B
Go
18 lines
300 B
Go
|
|
package configs
|
||
|
|
|
||
|
|
type HoustonClientConfig struct {
|
||
|
|
baseUrl string
|
||
|
|
realmId string
|
||
|
|
}
|
||
|
|
|
||
|
|
func NewHoustonConfig() *HoustonClientConfig {
|
||
|
|
|
||
|
|
return &HoustonClientConfig{
|
||
|
|
baseUrl: getString("houston.service.url", true),
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (p *HoustonClientConfig) GetHoustonBaseUrl() string {
|
||
|
|
return p.baseUrl
|
||
|
|
}
|