There was an error while loading. Please reload this page.
1 parent 4b51291 commit 690bad4Copy full SHA for 690bad4
1 file changed
database/aerospike.go
@@ -14,13 +14,13 @@ type AerospikeError struct {
14
15
// Aerospike is our primary struct
16
type Aerospike struct {
17
- Client *aerospike.Client
18
- Hostname string
19
- Port int
20
- TLSName string
21
- Policy *aerospike.ClientPolicy
22
- GlobalNamespace string
23
- GlobalSetName string
+ Client *aerospike.Client `json:"-"`
+ Hostname string `json:"hostname,omitempty"`
+ Port int `json:"port,omitempty"`
+ TLSName string `json:"TLSName,omitempty"`
+ Policy *aerospike.ClientPolicy `json:"-"`
+ GlobalNamespace string `json:"globalNamespace,omitempty"`
+ GlobalSetName string `json:"globalSetName,omitempty"`
24
}
25
26
// Default creates a default config based on given parameters
0 commit comments