Documentation ¶
Index ¶
- Constants
- func ConfigKeyToString(configKey api.ConfigKey) (string, error)
- func CreateConfigKey(mspID string, peerID string, appName string) (api.ConfigKey, error)
- func NewConfigManager(stub shim.ChaincodeStubInterface) api.ConfigManager
- func StringToConfigKey(key string) (api.ConfigKey, error)
- func ValidateConfigKey(configKey api.ConfigKey) error
Constants ¶
View Source
const (
//KeyDivider is used to separate key parts
KeyDivider = "!"
)
Variables ¶
This section is empty.
Functions ¶
func ConfigKeyToString ¶
ConfigKeyToString converts configKey to string
func CreateConfigKey ¶
CreateConfigKey creates key using mspID, peerID and appName
func NewConfigManager ¶
func NewConfigManager(stub shim.ChaincodeStubInterface) api.ConfigManager
NewConfigManager returns config manager implementation
func StringToConfigKey ¶
StringToConfigKey converts string to ConfigKey{}
func ValidateConfigKey ¶
ValidateConfigKey validates component parts of ConfigKey
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.