Documentation
¶
Index ¶
Constants ¶
View Source
const (
V1RecordLevel = "1"
)
Variables ¶
This section is empty.
Functions ¶
func GetVersion ¶
GetVersion - returns version as a string. Empty if version not found.
Types ¶
type ASClient ¶
type ASClient struct { Logger *logrus.Logger Client *aerospike.Client WritePolicy *aerospike.WritePolicy ReadPolicy *aerospike.BasePolicy AccountNamespace config.AerospikeNamespace }
type AerospikeClient ¶
type AerospikeReader ¶
type AerospikeReader struct {
// contains filtered or unexported fields
}
func (*AerospikeReader) KeyExists ¶
func (a *AerospikeReader) KeyExists(keyStr string) (bool, *aerospike.Key, error)
KeyExists - Returns true if key exists, with aerospike key and any error that occurs
func (*AerospikeReader) ReadRecord ¶
func (a *AerospikeReader) ReadRecord(key *aerospike.Key) (record.Record, error)
type AerospikeWriter ¶
type AerospikeWriter struct {
// contains filtered or unexported fields
}
func (*AerospikeWriter) WriteRecord ¶
func (a *AerospikeWriter) WriteRecord(key string, record record.Record) error
Writes record with specified key in the account namespace under the account set. Returns error if one is found
func (*AerospikeWriter) WriteRecordWithASKey ¶
func (a *AerospikeWriter) WriteRecordWithASKey(asKey *aerospike.Key, record record.Record) error
Click to show internal directories.
Click to hide internal directories.