support

package
v0.0.0-...-bfcd41d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CollectionConfigRetriever

type CollectionConfigRetriever interface {
	Config(ns, coll string) (*pb.StaticCollectionConfig, error)
	Policy(ns, coll string) (privdata.CollectionAccessPolicy, error)
}

CollectionConfigRetriever retrieves collection config data and policies

type GossipAdapter

type GossipAdapter interface {
	PeersOfChannel(id gcommon.ChannelID) []discovery.NetworkMember
	SelfMembershipInfo() discovery.NetworkMember
	IdentityInfo() gossipapi.PeerIdentitySet
	Send(msg *gproto.GossipMessage, peers ...*comm.RemotePeer)
}

GossipAdapter defines the Gossip functions that are required for collection data processing

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL