Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMSPIDEmpty = errors.New(`MSP ID is empty`) ErrMSPPathEmpty = errors.New(`MSP path is empty`) ErrMSPSignCertPathEmpty = errors.New(`MSP signcert path is empty`) ErrMSPSignKeyPathEmpty = errors.New(`MSP signkey path is empty`) ErrMSPSignCertEmpty = errors.New(`MSP signcert is empty`) ErrMSPSignKeyEmpty = errors.New(`MSP signkey is empty`) ErrSignerNotFound = errors.New(`signer not found`) )
Functions ¶
This section is empty.
Types ¶
type MSP ¶
type MSP struct { ID string `yaml:"id"` Path string `yaml:"path"` // SignCertPath and SignKeyPath take precedence over Path. If they are present, Path will be ignored SignCertPath string `yaml:"signcert_path"` SignKeyPath string `yaml:"signkey_path"` // if SignCert and SignKey are present, Path, SignCertPath and SignKeyPath will be ignored SignCert []byte `yaml:"signcert"` SignKey []byte `yaml:"signkey"` }
func (MSP) MustSigner ¶
Click to show internal directories.
Click to hide internal directories.