Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type P2PServer ¶
type P2PServer struct {
// contains filtered or unexported fields
}
P2PServer control all network activities
func (*P2PServer) GetNetwork ¶ added in v1.10.0
GetNetwork returns the low level netserver
func (*P2PServer) Stop ¶
func (self *P2PServer) Stop()
Stop halt all service by send signal to channels
func (*P2PServer) WaitForPeersStart ¶
func (self *P2PServer) WaitForPeersStart()
WaitForPeersStart check whether enough peer linked in loop
Directories ¶
Path | Synopsis |
---|---|
actor
|
|
* Copyright (C) 2018 The ontology Authors * This file is part of The ontology library.
|
* Copyright (C) 2018 The ontology Authors * This file is part of The ontology library. |
* Copyright (C) 2018 The ontology Authors * This file is part of The ontology library.
|
* Copyright (C) 2018 The ontology Authors * This file is part of The ontology library. |
kbucket
package kbucket implements a kademlia 'k-bucket' routing table.
|
package kbucket implements a kademlia 'k-bucket' routing table. |
* Copyright (C) 2018 The ontology Authors * This file is part of The ontology library.
|
* Copyright (C) 2018 The ontology Authors * This file is part of The ontology library. |
message
|
|
net
|
|
protocol
* Copyright (C) 2018 The ontology Authors * This file is part of The ontology library.
|
* Copyright (C) 2018 The ontology Authors * This file is part of The ontology library. |
bootstrap
* Copyright (C) 2018 The ontology Authors * This file is part of The ontology library.
|
* Copyright (C) 2018 The ontology Authors * This file is part of The ontology library. |
heatbeat
* Copyright (C) 2018 The ontology Authors * This file is part of The ontology library.
|
* Copyright (C) 2018 The ontology Authors * This file is part of The ontology library. |
recent_peers
* Copyright (C) 2018 The ontology Authors * This file is part of The ontology library.
|
* Copyright (C) 2018 The ontology Authors * This file is part of The ontology library. |
Click to show internal directories.
Click to hide internal directories.