channelimpl

package
v0.0.0-...-c716174 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package channelimpl /***************************************************************

**************************************************************

  • @file 程序文件名称
  • @brief 程序文件的功能
  • @author wsw
  • @version v1
  • @date 2021.12.20 *************************************************************

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewChannelOp

func NewChannelOp(other *models.Other, sdk *fabsdk.FabricSDK) internalfabsdk.Channel

NewChannelOp /***************************************************************

Types

type ChannelOp

type ChannelOp struct {
	// contains filtered or unexported fields
}

func (*ChannelOp) CreateChannel

func (c *ChannelOp) CreateChannel(orgsInfos []*models.PeerOrgInfo, ordererOrgInfo *models.OrdererOrgInfo, channelInfo *models.ChannelInfo) error

CreateChannel 创建通道 **************************************************************

  • @brief 函数作用
  • @param 参数
  • @note 备注
  • @Sample usage: 函数的使用方法

*************************************************************

func (*ChannelOp) JoinChannel

func (c *ChannelOp) JoinChannel(orgsInfos []*models.PeerOrgInfo, channelInfo *models.ChannelInfo, ordererOrgInfo *models.OrdererOrgInfo) error

JoinChannel 加入通道 **************************************************************

  • @brief 函数作用
  • @param 参数
  • @note 备注
  • @Sample usage: 函数的使用方法

*************************************************************

Jump to

Keyboard shortcuts

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