xbus

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package xbus implements the BUS protocol. This sends messages out to all peers, and receives their responses. It specifically filters messages sent to itself, so that a single BUS can be used to loop back to peers.

Index

Constants

View Source
const (
	Self     = protocol.ProtoBus
	Peer     = protocol.ProtoBus
	SelfName = "bus"
	PeerName = "bus"
)

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 BUS protocol.

Types

This section is empty.

Jump to

Keyboard shortcuts

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