gobind

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: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PeerTypeRemote    = pineconeRouter.PeerTypeRemote
	PeerTypeMulticast = pineconeRouter.PeerTypeMulticast
	PeerTypeBluetooth = pineconeRouter.PeerTypeBluetooth
	PeerTypeBonjour   = pineconeRouter.PeerTypeBonjour
)
View Source
const MaxFrameSize = types.MaxFrameSize

Variables

This section is empty.

Functions

This section is empty.

Types

type BindLogger

type BindLogger struct{}

func (BindLogger) Write

func (nsl BindLogger) Write(p []byte) (n int, err error)

type Conduit

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

func (*Conduit) Close

func (c *Conduit) Close() error

func (*Conduit) Port

func (c *Conduit) Port() int

func (*Conduit) Read

func (c *Conduit) Read(b []byte) (int, error)

func (*Conduit) ReadCopy

func (c *Conduit) ReadCopy() ([]byte, error)

func (*Conduit) Write

func (c *Conduit) Write(b []byte) (int, error)

type Pinecone

type Pinecone struct {
	PineconeRouter    *pineconeRouter.Router
	PineconeMulticast *pineconeMulticast.Multicast
	PineconeManager   *pineconeConnections.ConnectionManager
	// contains filtered or unexported fields
}

func (*Pinecone) Conduit

func (m *Pinecone) Conduit(zone string, peertype int) (*Conduit, error)

func (*Pinecone) DisconnectPort

func (m *Pinecone) DisconnectPort(port int)

func (*Pinecone) DisconnectType

func (m *Pinecone) DisconnectType(peertype int)

func (*Pinecone) DisconnectZone

func (m *Pinecone) DisconnectZone(zone string)

func (*Pinecone) PeerCount

func (m *Pinecone) PeerCount(peertype int) int

func (*Pinecone) PublicKey added in v0.10.0

func (m *Pinecone) PublicKey() string

func (*Pinecone) SetMulticastEnabled

func (m *Pinecone) SetMulticastEnabled(enabled bool)

func (*Pinecone) SetStaticPeer

func (m *Pinecone) SetStaticPeer(uri string)

func (*Pinecone) Start

func (m *Pinecone) Start()

nolint:gocyclo

func (*Pinecone) Stop

func (m *Pinecone) Stop()

Jump to

Keyboard shortcuts

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