peer

package
v0.0.0-...-d441946 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2022 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(addr string) transport.Peer

Types

type Peer

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

func (Peer) Get

func (peer Peer) Get(key string) ([]byte, error)

func (Peer) Put

func (peer Peer) Put(key string, value []byte) error

func (Peer) String

func (peer Peer) String() string

Jump to

Keyboard shortcuts

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