connections

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 11 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionManager

type ConnectionManager struct {
	phony.Inbox
	// contains filtered or unexported fields
}

func NewConnectionManager

func NewConnectionManager(r *router.Router, client *http.Client) *ConnectionManager

func (*ConnectionManager) AddPeer

func (m *ConnectionManager) AddPeer(uri string)

func (*ConnectionManager) RemovePeer

func (m *ConnectionManager) RemovePeer(uri string)

func (*ConnectionManager) RemovePeers

func (m *ConnectionManager) RemovePeers()

Jump to

Keyboard shortcuts

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