snitcher

package
v0.0.0-...-90805a3 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger = log.New(os.Stderr, "", log.LstdFlags)

Functions

This section is empty.

Types

type AerospikeSnitcher

type AerospikeSnitcher struct {
	// contains filtered or unexported fields
}

func NewAerospikeSnitcher

func NewAerospikeSnitcher(client *aerospike.Client, namespace string) *AerospikeSnitcher

func (*AerospikeSnitcher) CheckOwnership

func (ae *AerospikeSnitcher) CheckOwnership(key string) bool

func (*AerospikeSnitcher) RegisterKey

func (ae *AerospikeSnitcher) RegisterKey(key string)

type Snitcher

type Snitcher interface {
	RegisterKey(key string)
	CheckOwnership(key string) bool
}

Jump to

Keyboard shortcuts

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