Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config is the user identity and client-TLS material read from the user configuration YAML. For reconfiguration the identity must be an admin recognized by the orderer's channel policies.
func LoadConfig ¶
LoadConfig reads and validates the user configuration YAML at path.
type MSPConfig ¶
type MSPConfig struct {
LocalMspID string `yaml:"localMspID"`
LocalMspDir string `yaml:"localMspDir"`
}
MSPConfig identifies the local MSP used to sign the seek requests.
type TLSConfig ¶
type TLSConfig struct {
Enabled *bool `yaml:"enabled"`
ClientCert string `yaml:"clientCert"`
ClientKey string `yaml:"clientKey"`
}
TLSConfig holds the client-side TLS material. When Enabled is true the client dials the router and assembler over TLS; ClientCert and ClientKey enable mutual TLS.
Click to show internal directories.
Click to hide internal directories.