Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct { ListenerPort string `mapstructure:"LISTENER_PORT"` ListenerHost string `mapstructure:"LISTENER_HOST"` LoggerOutputFile string `mapstructure:"LOGGER_OUTPUT_FILE"` PeerCommunication PeerCommunicationConfig `mapstructure:"PEER_COMMUNICATION"` TikiDBConfig DBConfig `mapstructure:"DB_CONFIG"` TikiSTSConfig STSConfig `mapstructure:"STS_CONFIG"` TikiOpenSearchConfig OpenSearchConfig `mapstructure:"OPEN_SEARCH_CONFIG"` TikiAuthenticationProviderConfig AuthenticationProvider `mapstructure:"AUTHENTICATION_PROVIDER"` LogLevel string `mapstructure:"LOG_LEVEL"` Deployment string `mapstructure:"TIKI_DEPLOYMENT"` DeveloperEmail string `mapstructure:"DEVELOPER_EMAIL"` IMONetPort int `mapstructure:"IMO_NET_PORT"` IMOInitialWaitPeriod int `mapstructure:"IMO_INITIAL_WAIT_PERIOD"` SessionMaxLength int64 `mapstructure:"SESSION_MAX_LENGTH"` SessionMaxSimultaneousUsers int `mapstructure:"SESSION_MAX_SIMULTANEOUS_USERS"` SessionKeepExpiredSessionsFor int `mapstructure:"SESSION_KEEP_EXPIRED_SESSIONS_FOR"` }
func GetAppConfig ¶
func GetAppConfig() *AppConfig
type AuthenticationProvider ¶
type AuthenticationProvider struct { Name string `mapstructure:"NAME"` ClientId string `mapstructure:"GOOGLE_CLIENT_ID"` ClientSecret string `mapstructure:"GOOGLE_CLIENT_SECRET"` RedirectUri string `mapstructure:"REDIRECT_URI"` Scopes []string `mapstructure:"SCOPES"` GtIss []string `mapstructure:"GT_ISS"` GtHd string `mapstructure:"GT_HD"` }
type OpenSearchConfig ¶
type PeerCommunicationConfig ¶ added in v0.1.2
type TableNames ¶
type TableNames struct { GroupTableName string DomainTableName string SessTableName string TicketTableName string RegisterTableName string BannedTableName string }
var TNames TableNames
func (*TableNames) GetTableNames ¶
func (tnames *TableNames) GetTableNames() *TableNames
func (*TableNames) SetTableNames ¶
func (tnames *TableNames) SetTableNames(names map[string]string)
Click to show internal directories.
Click to hide internal directories.