fabric: github.com/hyperledger/fabric/common/config Index | Files

package config

import "github.com/hyperledger/fabric/common/config"

Copyright IBM Corp. 2017 All Rights Reserved.

SPDX-License-Identifier: Apache-2.0


Package Files


type Config Uses

type Config interface {
    // ConfigProto returns the current config
    ConfigProto() *cb.Config

    // ProposeConfigUpdate attempts to validate a new configtx against the current config state
    ProposeConfigUpdate(configtx *cb.Envelope) (*cb.ConfigEnvelope, error)

Config encapsulates config (channel or resource) tree

type Manager Uses

type Manager interface {
    // GetChannelConfig defines methods that are related to channel configuration
    GetChannelConfig(channel string) Config

Manager provides access to the resource config

Package config imports 1 packages (graph) and is imported by 116 packages. Updated 2019-11-15. Refresh now. Tools for package owners.