Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInstance ¶
GetInstance returns a singleton instance of the fabric client
func GetMembershipInstance ¶
func GetMembershipInstance(config api.Config) api.MembershipManager
GetMembershipInstance returns an instance of the membership manager
func NewSelectionService ¶
func NewSelectionService(config api.Config) api.SelectionService
NewSelectionService creates a selection service
Types ¶
type ChannelPeerImpl ¶ added in v0.1.4
ChannelPeerImpl implements ChannelPeer
func NewChannelPeer ¶ added in v0.1.4
func NewChannelPeer(peer sdkApi.Peer, channelID string, blockHeight uint64) *ChannelPeerImpl
NewChannelPeer creates a new ChannelPeer
func (*ChannelPeerImpl) BlockHeight ¶ added in v0.1.4
func (p *ChannelPeerImpl) BlockHeight() uint64
BlockHeight returns the block height of the peer in the channel
func (*ChannelPeerImpl) ChannelID ¶ added in v0.1.4
func (p *ChannelPeerImpl) ChannelID() string
ChannelID returns the channel ID of the ChannelPeer
func (*ChannelPeerImpl) GetBlockHeight ¶ added in v0.1.4
func (p *ChannelPeerImpl) GetBlockHeight(channelID string) uint64
GetBlockHeight returns the block height of the peer in the specified channel
func (*ChannelPeerImpl) String ¶ added in v0.1.4
func (p *ChannelPeerImpl) String() string
String returns the string representation of the ChannelPeer
Click to show internal directories.
Click to hide internal directories.