Documentation ¶
Index ¶
Constants ¶
View Source
const ( VersionTLSDefaultMin = tls.VersionTLS12 VersionTLSDefaultMax = tls.VersionTLS13 )
View Source
const DefaultIPv4 = "127.0.0.1"
View Source
const DefaultPort = 3000
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AerospikeConfig ¶
type AerospikeConfig struct { Seeds HostTLSPortSlice User string Password string AuthMode as.AuthMode RootCA [][]byte Cert []byte Key []byte KeyPass []byte TLSProtocolsMinVersion TLSProtocol TLSProtocolsMaxVersion TLSProtocol }
AerospikeConfig represents the intermediate configuration for an Aerospike client. This can be constructed directly using flags.AerospikeFlags or
func NewDefaultAerospikeConfig ¶
func NewDefaultAerospikeConfig() *AerospikeConfig
NewDefaultAerospikeConfig creates a new default AerospikeConfig instance.
func (*AerospikeConfig) NewClientPolicy ¶
func (ac *AerospikeConfig) NewClientPolicy() (*as.ClientPolicy, error)
func (*AerospikeConfig) NewHosts ¶
func (ac *AerospikeConfig) NewHosts() []*as.Host
type HostTLSPort ¶
func NewDefaultHostTLSPort ¶
func NewDefaultHostTLSPort() *HostTLSPort
func NewHostTLSPort ¶
func NewHostTLSPort() *HostTLSPort
func (*HostTLSPort) String ¶
func (addr *HostTLSPort) String() string
type HostTLSPortSlice ¶
type HostTLSPortSlice []*HostTLSPort
func (*HostTLSPortSlice) String ¶
func (slice *HostTLSPortSlice) String() string
type TLSProtocol ¶
type TLSProtocol uint16
func (TLSProtocol) String ¶
func (p TLSProtocol) String() string
Click to show internal directories.
Click to hide internal directories.