pair

package
v3.4.2 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: Apache-2.0 Imports: 2 Imported by: 11

Documentation

Overview

Package pair implements the PAIR protocol. This protocol is a 1:1 peering protocol.

Index

Constants

View Source
const (
	Self     = protocol.ProtoPair
	Peer     = protocol.ProtoPair
	SelfName = "pair"
	PeerName = "pair"
)

Protocol identity information.

Variables

This section is empty.

Functions

func NewProtocol

func NewProtocol() protocol.Protocol

NewProtocol returns a new protocol implementation.

func NewSocket

func NewSocket() (protocol.Socket, error)

NewSocket allocates a raw Socket using the PAIR protocol.

Types

This section is empty.

Jump to

Keyboard shortcuts

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