gobind

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2021 License: Apache-2.0 Imports: 41 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PeerTypeRemote    = pineconeRouter.PeerTypeRemote
	PeerTypeMulticast = pineconeRouter.PeerTypeMulticast
	PeerTypeBluetooth = pineconeRouter.PeerTypeBluetooth
)

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
	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) error

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) RegisterDevice

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

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