aerospike

package
v0.0.0-...-05a0e05 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Namespace = "rtb"
	SetName   = "subscribers"
)

Variables

This section is empty.

Functions

func Client

func Client() (*aerospike.Client, error)

func Generate

func Generate(shift, workerCount, timezoneCount int, startNotifyAfter uint32, limit int) []aerospike.Subscriber

func Index

func Index(client *aerospike.Client) error

func Match

func Match(client *aerospike.Client, workerID, timezone uint8, notifyAfter uint32, limit int) ([]models.Subscriber, error)

func Store

func Store(client *aerospike.Client, subscriber models.Subscriber) error

func StoreBatch

func StoreBatch(client *aerospike.Client, subscribers []models.Subscriber) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL