gobind

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: Apache-2.0 Imports: 44 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 DendriteMonolith

type DendriteMonolith struct {
	PineconeRouter    *pineconeRouter.Router
	PineconeMulticast *pineconeMulticast.Multicast
	PineconeQUIC      *pineconeSessions.Sessions
	PineconeManager   *pineconeConnections.ConnectionManager
	StorageDirectory  string
	CacheDirectory    string
	// contains filtered or unexported fields
}

func (*DendriteMonolith) BaseURL

func (m *DendriteMonolith) BaseURL() string

func (*DendriteMonolith) Conduit

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

func (*DendriteMonolith) DisconnectPort

func (m *DendriteMonolith) DisconnectPort(port int)

func (*DendriteMonolith) DisconnectType

func (m *DendriteMonolith) DisconnectType(peertype int)

func (*DendriteMonolith) DisconnectZone

func (m *DendriteMonolith) DisconnectZone(zone string)

func (*DendriteMonolith) PeerCount

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

func (*DendriteMonolith) PublicKey added in v0.10.0

func (m *DendriteMonolith) PublicKey() string

func (*DendriteMonolith) RegisterDevice

func (m *DendriteMonolith) RegisterDevice(localpart, deviceID string) (string, error)

func (*DendriteMonolith) RegisterNetworkInterface added in v0.10.0

func (m *DendriteMonolith) RegisterNetworkInterface(name string, index int, mtu int, up bool, broadcast bool, loopback bool, pointToPoint bool, multicast bool, addrs string)

func (*DendriteMonolith) RegisterUser

func (m *DendriteMonolith) RegisterUser(localpart, password string) (string, error)

func (*DendriteMonolith) SessionCount

func (m *DendriteMonolith) SessionCount() int

func (*DendriteMonolith) SetMulticastEnabled

func (m *DendriteMonolith) SetMulticastEnabled(enabled bool)

func (*DendriteMonolith) SetStaticPeer

func (m *DendriteMonolith) SetStaticPeer(uri string)

func (*DendriteMonolith) Start

func (m *DendriteMonolith) Start()

nolint:gocyclo

func (*DendriteMonolith) Stop

func (m *DendriteMonolith) Stop()

Jump to

Keyboard shortcuts

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