Documentation
¶
Index ¶
Constants ¶
View Source
const (
SetUserInsight = "user_insight"
)
Variables ¶
This section is empty.
Functions ¶
func EnsureIndexes ¶
func EnsureIndexes(client *aerospike.Client, descriptions []IndexDescription) error
This helper launches indexes creation tasks and processes their results
func ProcessIndexTask ¶
func ProcessIndexTask(provider func() (*aerospike.IndexTask, error), errorIfAlreadyExists bool) error
This helper waits until the index creation task is completed and processes the returned error if there is one
Types ¶
type DataServiceAerospike ¶
type DataServiceAerospike interface {
IsConnected() bool
}
func NewDataServiceAerospike ¶
func NewDataServiceAerospike(client *aerospike.Client, namespace string) (DataServiceAerospike, error)
type IndexDescription ¶
Click to show internal directories.
Click to hide internal directories.