-
Notifications
You must be signed in to change notification settings - Fork 0
/
const.go
68 lines (56 loc) · 1.3 KB
/
const.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
// nolint:gosec
package config
const (
envPrefix = "AD"
)
const (
BlueprintPath = "blueprint_path"
)
const (
PG_User = "postgres.user"
PG_Passwd = "postgres.password"
PG_Host = "postgres.host"
PG_Port = "postgres.port"
PG_DB = "postgres.database"
PG_SSLMode = "postgres.sslmode"
)
const (
Cluster_Name = "cluster.name"
Node_Host = "cluster.node.host"
Node_Port = "cluster.node.port"
)
const (
HTTP_Address = "http.address"
HTTP_Port = "http.port"
)
const (
ETCD_Endpoints = "etcd.endpoints"
ETCD_Root = "etcd.root"
ETCD_User = "etcd.user"
ETCD_Passwd = "etcd.password"
)
const (
NATS_Host = "nats.host"
NATS_Port = "nats.port"
NATS_User = "nats.user"
NATS_Password = "nats.password"
)
const (
Logging_Level = "logging.level"
Logging_Path = "logging.path"
)
const (
Persistence_Encoding = "persistence.encoding"
EncodingGob = "gob"
EncodingJson = "json"
)
const (
Instrumentation_Traces_Endpoint = "instrumentation.traces.endpoint"
Instrumentation_Traces_Insecure = "instrumentation.traces.insecure"
)
const (
Authenticator_Domain = "authenticator.domain"
Authenticator_Client_ID = "authenticator.client_id"
Authenticator_Client_Secret = "authenticator.client_secret"
Authenticator_Audience = "authenticator.audience"
)