Documentation ¶
Index ¶
- Constants
- type BindLogger
- type Conduit
- type DendriteMonolith
- func (m *DendriteMonolith) BaseURL() string
- func (m *DendriteMonolith) Conduit(zone string, peertype int) (*Conduit, error)
- func (m *DendriteMonolith) DisconnectPort(port int)
- func (m *DendriteMonolith) DisconnectType(peertype int)
- func (m *DendriteMonolith) DisconnectZone(zone string)
- func (m *DendriteMonolith) GetRelayServers(nodeID string) string
- func (m *DendriteMonolith) PeerCount(peertype int) int
- func (m *DendriteMonolith) PublicKey() string
- func (m *DendriteMonolith) RegisterDevice(localpart, deviceID string) (string, error)
- func (m *DendriteMonolith) RegisterNetworkCallback(intfCallback InterfaceRetriever)
- func (m *DendriteMonolith) RegisterUser(localpart, password string) (string, error)
- func (m *DendriteMonolith) RelayingEnabled() bool
- func (m *DendriteMonolith) SessionCount() int
- func (m *DendriteMonolith) SetMulticastEnabled(enabled bool)
- func (m *DendriteMonolith) SetRelayServers(nodeID string, uris string)
- func (m *DendriteMonolith) SetRelayingEnabled(enabled bool)
- func (m *DendriteMonolith) SetStaticPeer(uri string)
- func (m *DendriteMonolith) Start()
- func (m *DendriteMonolith) Stop()
- type InterfaceInfo
- type InterfaceRetriever
Constants ¶
View Source
const ( PeerTypeRemote = pineconeRouter.PeerTypeRemote PeerTypeMulticast = pineconeRouter.PeerTypeMulticast PeerTypeBluetooth = pineconeRouter.PeerTypeBluetooth PeerTypeBonjour = pineconeRouter.PeerTypeBonjour MaxFrameSize = types.MaxFrameSize )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindLogger ¶
type BindLogger struct{}
type DendriteMonolith ¶
type DendriteMonolith struct { 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) GetRelayServers ¶
func (m *DendriteMonolith) GetRelayServers(nodeID string) string
func (*DendriteMonolith) PeerCount ¶
func (m *DendriteMonolith) PeerCount(peertype int) int
func (*DendriteMonolith) PublicKey ¶
func (m *DendriteMonolith) PublicKey() string
func (*DendriteMonolith) RegisterDevice ¶
func (m *DendriteMonolith) RegisterDevice(localpart, deviceID string) (string, error)
func (*DendriteMonolith) RegisterNetworkCallback ¶
func (m *DendriteMonolith) RegisterNetworkCallback(intfCallback InterfaceRetriever)
func (*DendriteMonolith) RegisterUser ¶
func (m *DendriteMonolith) RegisterUser(localpart, password string) (string, error)
func (*DendriteMonolith) RelayingEnabled ¶
func (m *DendriteMonolith) RelayingEnabled() bool
func (*DendriteMonolith) SessionCount ¶
func (m *DendriteMonolith) SessionCount() int
func (*DendriteMonolith) SetMulticastEnabled ¶
func (m *DendriteMonolith) SetMulticastEnabled(enabled bool)
func (*DendriteMonolith) SetRelayServers ¶
func (m *DendriteMonolith) SetRelayServers(nodeID string, uris string)
func (*DendriteMonolith) SetRelayingEnabled ¶
func (m *DendriteMonolith) SetRelayingEnabled(enabled bool)
func (*DendriteMonolith) SetStaticPeer ¶
func (m *DendriteMonolith) SetStaticPeer(uri string)
func (*DendriteMonolith) Start ¶
func (m *DendriteMonolith) Start()
func (*DendriteMonolith) Stop ¶
func (m *DendriteMonolith) Stop()
type InterfaceInfo ¶
type InterfaceRetriever ¶
type InterfaceRetriever interface { CacheCurrentInterfaces() int GetCachedInterface(index int) *InterfaceInfo }
Click to show internal directories.
Click to hide internal directories.