Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BootstrapNode ¶
func NewBootstrapNode ¶
func NewBootstrapNode( ctx context.Context, privKey ed25519.PrivateKey, isInMemory bool, psk security.PSK, ) (_ *BootstrapNode, err error)
func (*BootstrapNode) GenericStream ¶
func (*BootstrapNode) Start ¶
func (bn *BootstrapNode) Start() error
func (*BootstrapNode) Stop ¶
func (bn *BootstrapNode) Stop()
type ClientNodeStreamer ¶
type ConsensusProvider ¶
type ConsensusProvider interface {
Start(node consensus.NodeTransporter) (err error)
LeaderID() warpnet.WarpPeerID
CommitState(newState consensus.KVState) (_ *consensus.KVState, err error)
Shutdown()
}
type DiscoveryHandler ¶
type DiscoveryHandler interface {
HandlePeerFound(pi warpnet.WarpAddrInfo)
Run(n discovery.DiscoveryInfoStorer) error
Close()
}
type DistributedHashTableCloser ¶
type DistributedHashTableCloser interface {
Close()
}
type ProviderCloser ¶
type PubSubProvider ¶
type PubSubProvider interface {
Run(m pubsub.PubsubServerNodeConnector, clientNode pubsub.PubsubClientNodeStreamer)
PublishOwnerUpdate(ownerId string, msg event.Message) (err error)
Close() error
}
Click to show internal directories.
Click to hide internal directories.