Documentation
¶
Index ¶
- Variables
- func LoadConfigs()
- func LoadGApiConfig()
- func LoadURLConstants()
- type GApiAuthenticationConfig
- type GApiConfig
- type GApiCorsConfig
- type GApiHealthCheckConfig
- type GApiLogsConfig
- type GApiNotificationsConfig
- type GApiServiceDiscoveryConfig
- type GApiSlackNotificationsConfig
- type UrlsConstants
Constants ¶
This section is empty.
Variables ¶
View Source
var ANALYTICS_GROUP = "/analytics"
View Source
var AUTHENTICATION_CONFIG_FILE = "oauth.json"
View Source
var CONFIGS_LOCATION = "./configs/"
View Source
var DELETE = "DELETE"
View Source
var ELASTICSEARCH_URL = "http://localhost:9200"
View Source
var GAPI_CONFIG_FILE = "gAPI.json"
View Source
var GET = "GET"
View Source
var PATCH = "PATCH"
View Source
var POST = "POST"
View Source
var PUT = "PUT"
View Source
var SERVICE_DISCOVERY_CONFIG_FILE = "services.json"
View Source
var SERVICE_DISCOVERY_GROUP = "/service-discovery"
View Source
var SERVICE_DISCOVERY_URL = "http://localhost:8080"
Functions ¶
func LoadConfigs ¶
func LoadConfigs()
func LoadGApiConfig ¶
func LoadGApiConfig()
func LoadURLConstants ¶
func LoadURLConstants()
Types ¶
type GApiConfig ¶
type GApiConfig struct {
Authentication GApiAuthenticationConfig
Logs GApiLogsConfig
Cors GApiCorsConfig
ServiceDiscovery GApiServiceDiscoveryConfig
Urls UrlsConstants
Healthcheck GApiHealthCheckConfig
Notifications GApiNotificationsConfig
}
var GApiConfiguration GApiConfig
type GApiCorsConfig ¶
type GApiHealthCheckConfig ¶
type GApiLogsConfig ¶
type GApiNotificationsConfig ¶
type GApiNotificationsConfig struct {
Type string
Slack GApiSlackNotificationsConfig
}
type GApiServiceDiscoveryConfig ¶
type GApiServiceDiscoveryConfig struct {
Type string
}
type GApiSlackNotificationsConfig ¶
type GApiSlackNotificationsConfig struct {
WebhookUrl string
}
type UrlsConstants ¶
Click to show internal directories.
Click to hide internal directories.