peerStore

package
v0.0.0-...-640c710 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2017 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PeerStore

type PeerStore interface {
	SetKeyIfNotExists(string, string) bool
	SetKV(string, string)
	RemoveKV(string, string)
	KeyExists(string) bool
	GetKeyVal(string) []string
	GetAllPeers(string) []string
	SetIPMember(string, string) int
	CreateNewTorrentKey(string)
}

PeerStore Represents the base implementation of how we store peers. We currently use Redis for storing peers, but this interface allows for extensions to other third-party systems.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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