Documentation ¶
Index ¶
Constants ¶
View Source
const ( EnvEnableApplicationAdminEnv = "HORUSEC_ENABLE_APPLICATION_ADMIN" EnvApplicationAdminDataEnv = "HORUSEC_APPLICATION_ADMIN_DATA" EnvAuthType = "HORUSEC_AUTH_TYPE" EnvHorusecAPIURL = "HORUSEC_API_URL" DisabledBrokerEnv = "HORUSEC_DISABLED_BROKER" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { HorusecAPIURL string EnableApplicationAdmin bool ApplicationAdminData string AuthType authEnums.AuthorizationType DisabledBroker bool }
func (*Config) GetApplicationAdminData ¶
func (a *Config) GetApplicationAdminData() (entity *dto.CreateAccount, err error)
func (*Config) GetAuthType ¶
func (a *Config) GetAuthType() authEnums.AuthorizationType
func (*Config) GetEnableApplicationAdmin ¶
func (*Config) GetHorusecAPIURL ¶ added in v1.4.0
func (*Config) IsDisabledBroker ¶ added in v1.3.0
Click to show internal directories.
Click to hide internal directories.