Versions in this module Expand all Collapse all v1 v1.4.4 Nov 14, 2019 Changes in this version + const AdminRoleAdminPrincipal + const MemberRoleAdminPrincipal + const Prefix + const SampleConsortiumName + const SampleDevModeEtcdRaftProfile + const SampleDevModeKafkaProfile + const SampleDevModeSoloProfile + const SampleInsecureKafkaProfile + const SampleInsecureSoloProfile + const SampleOrgName + const SampleSingleMSPChannelProfile + const SampleSingleMSPKafkaProfile + const SampleSingleMSPSoloProfile + const TestChainID + type AnchorPeer struct + Host string + Port int + type Application struct + ACLs map[string]string + Capabilities map[string]bool + Organizations []*Organization + Policies map[string]*Policy + Resources *Resources + type BatchSize struct + AbsoluteMaxBytes uint32 + MaxMessageCount uint32 + PreferredMaxBytes uint32 + type Consortium struct + Organizations []*Organization + type Kafka struct + Brokers []string + type Orderer struct + Addresses []string + BatchSize BatchSize + BatchTimeout time.Duration + Capabilities map[string]bool + EtcdRaft *etcdraft.ConfigMetadata + Kafka Kafka + MaxChannels uint64 + OrdererType string + Organizations []*Organization + Policies map[string]*Policy + type Organization struct + AdminPrincipal string + AnchorPeers []*AnchorPeer + ID string + MSPDir string + MSPType string + Name string + OrdererEndpoints []string + Policies map[string]*Policy + type Policy struct + Rule string + Type string + type Profile struct + Application *Application + Capabilities map[string]bool + Consortium string + Consortiums map[string]*Consortium + Orderer *Orderer + Policies map[string]*Policy + func Load(profile string, configPaths ...string) *Profile + type Resources struct + DefaultModPolicy string + type TopLevel struct + Application *Application + Capabilities map[string]map[string]bool + Channel *Profile + Orderer *Orderer + Organizations []*Organization + Profiles map[string]*Profile + Resources *Resources + func LoadTopLevel(configPaths ...string) *TopLevel