Documentation ¶
Index ¶
- func Compute(original, updated *cb.Config) (*cb.ConfigUpdate, error)
- func ComputeUpdt(origIn, updtIn []byte, channelID string) ([]byte, error)
- func ConfigToJSON(jsonconfig map[string]interface{})
- func DecodeProto(msgName string, configBytes []byte) (map[string]interface{}, error)
- func EncodeProto(msgName string, configBytes []byte) ([]byte, error)
- func EncodeProtoOrig(msgName string, input map[string]interface{}) ([]byte, error)
- func JSONtoConfig(filename string) (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeUpdt ¶
QueryChannelConfig used to query latest channel config block
func ConfigToJSON ¶
func ConfigToJSON(jsonconfig map[string]interface{})
func DecodeProto ¶
QueryChannelConfig used to query latest channel config block
func EncodeProto ¶
QueryChannelConfig used to query latest channel config block
func EncodeProtoOrig ¶
EncodeProtoOrig to encode config group to Proto []byte
func JSONtoConfig ¶
func JSONtoConfig(r io.Reader) error {
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.