chmgmtclient

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

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