mgmt

package
v0.0.0-...-95b87ed Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2019 License: Apache-2.0 Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	Admins = "Admins"

	Members = "Members"
)

Variables

This section is empty.

Functions

func GetDeserializers

func GetDeserializers() map[string]msp.IdentityDeserializer

func GetIdentityDeserializer

func GetIdentityDeserializer(chainID string) msp.IdentityDeserializer

func GetLocalMSP

func GetLocalMSP() msp.MSP

func GetLocalSigningIdentityOrPanic

func GetLocalSigningIdentityOrPanic() msp.SigningIdentity

func GetManagerForChain

func GetManagerForChain(chainID string) msp.MSPManager

func LoadLocalMsp

func LoadLocalMsp(dir string, bccspConfig *factory.FactoryOpts, mspID string) error

func LoadLocalMspWithType

func LoadLocalMspWithType(dir string, bccspConfig *factory.FactoryOpts, mspID, mspType string) error

func XXXSetMSPManager

func XXXSetMSPManager(chainID string, manager msp.MSPManager)

Types

type DeserializersManager

type DeserializersManager interface {
	Deserialize(raw []byte) (*mspproto.SerializedIdentity, error)

	GetLocalMSPIdentifier() string

	GetLocalDeserializer() msp.IdentityDeserializer

	GetChannelDeserializers() map[string]msp.IdentityDeserializer
}

func NewDeserializersManager

func NewDeserializersManager() DeserializersManager

type MSPPrincipalGetter

type MSPPrincipalGetter interface {
	Get(role string) (*msp.MSPPrincipal, error)
}

func NewLocalMSPPrincipalGetter

func NewLocalMSPPrincipalGetter() MSPPrincipalGetter

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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