-
Notifications
You must be signed in to change notification settings - Fork 199
/
externalConfig.go
36 lines (32 loc) · 1011 Bytes
/
externalConfig.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package config
// ExternalConfig will hold the configurations for external tools, such as Explorer or Elastic Search
type ExternalConfig struct {
ElasticSearchConnector ElasticSearchConfig
EventNotifierConnector EventNotifierConfig
CovalentConnector CovalentConfig
}
// ElasticSearchConfig will hold the configuration for the elastic search
type ElasticSearchConfig struct {
Enabled bool
IndexerCacheSize int
URL string
UseKibana bool
Username string
Password string
EnabledIndexes []string
}
// EventNotifierConfig will hold the configuration for the events notifier driver
type EventNotifierConfig struct {
Enabled bool
UseAuthorization bool
ProxyUrl string
Username string
Password string
}
// CovalentConfig will hold the configurations for covalent indexer
type CovalentConfig struct {
Enabled bool
URL string
RouteSendData string
RouteAcknowledgeData string
}