fabric: github.com/hyperledger/fabric/gossip/integration Index | Files

package integration

import "github.com/hyperledger/fabric/gossip/integration"


Package Files


func NewGossipComponent Uses

func NewGossipComponent(peerIdentity []byte, endpoint string, s *grpc.Server,
    secAdv api.SecurityAdvisor, cryptSvc api.MessageCryptoService,
    secureDialOpts api.PeerSecureDialOpts, certs *common.TLSCertificates, gossipMetrics *metrics.GossipMetrics,
    bootPeers ...string) (gossip.Gossip, error)

NewGossipComponent creates a gossip component that attaches itself to the given gRPC server

Package integration imports 15 packages (graph) and is imported by 2 packages. Updated 2019-04-11. Refresh now. Tools for package owners.