shared

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2015 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Client *as.Client
View Source
var Host = flag.String("h", "127.0.0.1", "Aerospike server seed hostnames or IP addresses")
View Source
var Namespace = flag.String("n", "test", "Aerospike namespace.")
View Source
var Policy = as.NewPolicy()
View Source
var Port = flag.Int("p", 3000, "Aerospike server seed hostname or IP address port number.")
View Source
var Set = flag.String("s", "testset", "Aerospike set name.")
View Source
var WritePolicy = as.NewWritePolicy(0, 0)

Functions

func PanicOnError

func PanicOnError(err error)

func Round

func Round(val float64, roundOn float64, places int) (newVal float64)

func ValidateBin

func ValidateBin(key *as.Key, bin *as.Bin, record *as.Record)

Types

This section is empty.

Jump to

Keyboard shortcuts

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