Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CAConfig ¶
type CAConfig struct { Crypto CryptoConfig `yaml:"crypto"` Host string `yaml:"host"` Tls TlsConfig `yaml:"tls"` }
type Config ¶
type Config struct { Crypto CryptoConfig `yaml:"crypto"` // Deprecated: use Orderers. Orderer *ConnectionConfig `yaml:"orderer"` Orderers []ConnectionConfig `yaml:"orderers"` Discovery DiscoveryConfig `yaml:"discovery"` MSP []MSPConfig `yaml:"msp"` Pool PoolConfig `yaml:"pool"` }
func NewYamlConfig ¶
type ConnectionConfig ¶
type ConnectionConfig struct { Host string `yaml:"host"` Tls TlsConfig `yaml:"tls"` GRPC GRPCConfig `yaml:"grpc"` Timeout Duration `yaml:"timeout"` }
type CryptoConfig ¶
type CryptoConfig struct { Type string `yaml:"type"` Options CryptoSuiteOpts `yaml:"options"` }
type CryptoSuiteOpts ¶
type CryptoSuiteOpts map[string]interface{}
type DiscoveryConfig ¶
type DiscoveryConfig struct { Type string `yaml:"type"` Options DiscoveryConfigOpts `yaml:"options"` }
type DiscoveryConfigOpts ¶
type DiscoveryConfigOpts map[string]interface{}
type Duration ¶
func (*Duration) UnmarshalYAML ¶
type GRPCConfig ¶
type GRPCConfig struct { KeepAlive *GRPCKeepAliveConfig `yaml:"keep_alive"` Retry *GRPCRetryConfig `yaml:"retry"` }
type GRPCKeepAliveConfig ¶
type GRPCRetryConfig ¶
type MSPConfig ¶
type MSPConfig struct { Name string `yaml:"name"` Endorsers []ConnectionConfig `yaml:"endorsers"` }
type OrdererConfig ¶
type OrdererConfig struct { Host string `yaml:"host"` Tls TlsConfig `yaml:"tls"` GRPC GRPCConfig `yaml:"grpc"` Timeout Duration `yaml:"timeout"` }
type PoolConfig ¶
type PoolConfig struct {
DeliverTimeout Duration `yaml:"deliver_timeout"`
}
Click to show internal directories.
Click to hide internal directories.