Connectivity ok
This commit is contained in:
@@ -128,6 +128,7 @@ type GetResponse struct {
|
||||
}
|
||||
|
||||
func (ix *IndexerService) initNodeHandler() {
|
||||
fmt.Println("Node activity")
|
||||
ix.Host.SetStreamHandler(common.ProtocolHeartbeat, ix.HandleNodeHeartbeat)
|
||||
ix.Host.SetStreamHandler(common.ProtocolPublish, ix.handleNodePublish)
|
||||
ix.Host.SetStreamHandler(common.ProtocolGet, ix.handleNodeGet)
|
||||
|
||||
Reference in New Issue
Block a user