forked from edgexfoundry/go-mod-messaging
-
Notifications
You must be signed in to change notification settings - Fork 0
/
constants.go
42 lines (35 loc) · 1.05 KB
/
constants.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
package pkg
const (
// common constant names for messagebus.Optional properties
// Client identifier configurations
Username = "Username"
Password = "Password"
ClientId = "ClientId"
// Connection configuration names
ConnectTimeout = "ConnectTimeout"
AutoReconnect = "AutoReconnect"
// TLS configuration names
SkipCertVerify = "SkipCertVerify"
CertFile = "CertFile"
KeyFile = "KeyFile"
CaFile = "CaFile"
KeyPEMBlock = "KeyPEMBlock"
CertPEMBlock = "CertPEMBlock"
CaPEMBlock = "CaPEMBlock"
// MQTT Specifics
Qos = "Qos"
KeepAlive = "KeepAlive"
Retained = "Retained"
CleanSession = "CleanSession"
// NATS specifics
RetryOnFailedConnect = "RetryOnFailedConnect"
Format = "Format"
QueueGroup = "QueueGroup"
ExactlyOnce = "ExactlyOnce"
// NATS JetStream specifics
Durable = "Durable"
Subject = "Subject"
AutoProvision = "AutoProvision"
Deliver = "Deliver"
DefaultPubRetryAttempts = "DefaultPubRetryAttempts"
)