Documentation ¶
Overview ¶
Package chmgmtclient enables channel management client
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelMgmtClient ¶
type ChannelMgmtClient struct {
// contains filtered or unexported fields
}
ChannelMgmtClient enables managing channels in Fabric network.
func New ¶
func New(c Context) (*ChannelMgmtClient, error)
New returns a channel management client instance
func (*ChannelMgmtClient) SaveChannel ¶
func (cc *ChannelMgmtClient) SaveChannel(req chmgmt.SaveChannelRequest, options ...chmgmt.Option) error
SaveChannel creates or updates channel
type Context ¶
type Context struct { fab.ProviderContext fab.IdentityContext Resource fab.Resource }
Context holds the providers and services needed to create a ChannelMgmtClient.
Click to show internal directories.
Click to hide internal directories.