{"modulePath":"github.com/eric-erki/https-hyperledger.org","version":"v1.4.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package config\n\nCopyright IBM Corp. 2017 All Rights Reserved.\n\nSPDX-License-Identifier: Apache-2.0\n\n## Types\n\n```go\ntype Config interface {\n\t// ConfigProto returns the current config\n\tConfigProto() *cb.Config\n\n\t// ProposeConfigUpdate attempts to validate a new configtx against the current config state\n\tProposeConfigUpdate(configtx *cb.Envelope) (*cb.ConfigEnvelope, error)\n}\n```\nConfig encapsulates config (channel or resource) tree\n\n```go\ntype Manager interface {\n\t// GetChannelConfig defines methods that are related to channel configuration\n\tGetChannelConfig(channel string) Config\n}\n```\nManager provides access to the resource config\n\n","path":"github.com/eric-erki/https-hyperledger.org/common/config","name":"config","synopsis":"","isRedistributable":true}
