Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FabricMSPManager ¶
type Service ¶
type Service struct {
// ResourcesApplyLock is used to serialize calls to CommitConfig and bundle update processing.
ResourcesApplyLock sync.Mutex
// ResourcesLock is used to serialize access to resources
ResourcesLock sync.RWMutex
// resources is used to acquire configuration bundle resources.
ChannelResources channelconfig.Resources
}
func NewService ¶
func NewService() *Service
func (*Service) GetMSPIDs ¶
GetMSPIDs retrieves the MSP IDs of the organizations in the current Channel configuration.
func (*Service) GetVerifier ¶
func (*Service) MSPManager ¶
func (c *Service) MSPManager() driver.MSPManager
MSPManager returns the msp.MSPManager that reflects the current Channel configuration. Users should not memoize references to this object.
func (*Service) Resources ¶
func (c *Service) Resources() channelconfig.Resources
Resources returns the active Channel configuration bundle.
Click to show internal directories.
Click to hide internal directories.