Versions in this module Expand all Collapse all v0 v0.0.2 Oct 22, 2019 v0.0.1 Oct 16, 2019 Changes in this version + var ChaincodeMessage_Type_name = map[int32]string + var ChaincodeMessage_Type_value = map[string]int32 + func RegisterChaincodeSupportServer(s *grpc.Server, srv ChaincodeSupportServer) + type ChaincodeInput struct + Args [][]byte + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ChaincodeInput) Descriptor() ([]byte, []int) + func (*ChaincodeInput) ProtoMessage() + func (m *ChaincodeInput) GetArgs() [][]byte + func (m *ChaincodeInput) Reset() + func (m *ChaincodeInput) String() string + func (m *ChaincodeInput) XXX_DiscardUnknown() + func (m *ChaincodeInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ChaincodeInput) XXX_Merge(src proto.Message) + func (m *ChaincodeInput) XXX_Size() int + func (m *ChaincodeInput) XXX_Unmarshal(b []byte) error + type ChaincodeMessage struct + From []byte + Payload []byte + Txid []byte + Type ChaincodeMessage_Type + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ChaincodeMessage) Descriptor() ([]byte, []int) + func (*ChaincodeMessage) ProtoMessage() + func (m *ChaincodeMessage) GetFrom() []byte + func (m *ChaincodeMessage) GetPayload() []byte + func (m *ChaincodeMessage) GetTxid() []byte + func (m *ChaincodeMessage) GetType() ChaincodeMessage_Type + func (m *ChaincodeMessage) Reset() + func (m *ChaincodeMessage) String() string + func (m *ChaincodeMessage) XXX_DiscardUnknown() + func (m *ChaincodeMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ChaincodeMessage) XXX_Merge(src proto.Message) + func (m *ChaincodeMessage) XXX_Size() int + func (m *ChaincodeMessage) XXX_Unmarshal(b []byte) error + type ChaincodeMessage_Type int32 + const ChaincodeMessage_COMMIT + const ChaincodeMessage_COMMIT_COMPLETED + const ChaincodeMessage_COMMIT_ERROR + const ChaincodeMessage_COMPLETED + const ChaincodeMessage_ERROR + const ChaincodeMessage_GET_BALANCE + const ChaincodeMessage_GET_STATE + const ChaincodeMessage_GET_STATES + const ChaincodeMessage_GET_STATE_BY_RANGE + const ChaincodeMessage_INIT + const ChaincodeMessage_PUT_STATE + const ChaincodeMessage_PUT_STATES + const ChaincodeMessage_REGISTER + const ChaincodeMessage_REGISTERED + const ChaincodeMessage_RESPONSE + const ChaincodeMessage_TRANSACTION + const ChaincodeMessage_TRANSFER + const ChaincodeMessage_UNDEFINED + func (ChaincodeMessage_Type) EnumDescriptor() ([]byte, []int) + func (x ChaincodeMessage_Type) String() string + type ChaincodeSupportClient interface + Register func(ctx context.Context, opts ...grpc.CallOption) (ChaincodeSupport_RegisterClient, error) + func NewChaincodeSupportClient(cc *grpc.ClientConn) ChaincodeSupportClient + type ChaincodeSupportServer interface + Register func(ChaincodeSupport_RegisterServer) error + type ChaincodeSupport_RegisterClient interface + Recv func() (*ChaincodeMessage, error) + Send func(*ChaincodeMessage) error + type ChaincodeSupport_RegisterServer interface + Recv func() (*ChaincodeMessage, error) + Send func(*ChaincodeMessage) error + type GetStateByRange struct + EndKey string + StartKey string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetStateByRange) Descriptor() ([]byte, []int) + func (*GetStateByRange) ProtoMessage() + func (m *GetStateByRange) GetEndKey() string + func (m *GetStateByRange) GetStartKey() string + func (m *GetStateByRange) Reset() + func (m *GetStateByRange) String() string + func (m *GetStateByRange) XXX_DiscardUnknown() + func (m *GetStateByRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetStateByRange) XXX_Merge(src proto.Message) + func (m *GetStateByRange) XXX_Size() int + func (m *GetStateByRange) XXX_Unmarshal(b []byte) error + type GetStates struct + Keys []string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetStates) Descriptor() ([]byte, []int) + func (*GetStates) ProtoMessage() + func (m *GetStates) GetKeys() []string + func (m *GetStates) Reset() + func (m *GetStates) String() string + func (m *GetStates) XXX_DiscardUnknown() + func (m *GetStates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetStates) XXX_Merge(src proto.Message) + func (m *GetStates) XXX_Size() int + func (m *GetStates) XXX_Unmarshal(b []byte) error + type KV struct + Key string + Value []byte + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*KV) Descriptor() ([]byte, []int) + func (*KV) ProtoMessage() + func (m *KV) GetKey() string + func (m *KV) GetValue() []byte + func (m *KV) Reset() + func (m *KV) String() string + func (m *KV) XXX_DiscardUnknown() + func (m *KV) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *KV) XXX_Merge(src proto.Message) + func (m *KV) XXX_Size() int + func (m *KV) XXX_Unmarshal(b []byte) error + type PutState struct + IfNotExist bool + Key string + Value []byte + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*PutState) Descriptor() ([]byte, []int) + func (*PutState) ProtoMessage() + func (m *PutState) GetIfNotExist() bool + func (m *PutState) GetKey() string + func (m *PutState) GetValue() []byte + func (m *PutState) Reset() + func (m *PutState) String() string + func (m *PutState) XXX_DiscardUnknown() + func (m *PutState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PutState) XXX_Merge(src proto.Message) + func (m *PutState) XXX_Size() int + func (m *PutState) XXX_Unmarshal(b []byte) error + type PutStates struct + Kvs []*KV + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*PutStates) Descriptor() ([]byte, []int) + func (*PutStates) ProtoMessage() + func (m *PutStates) GetKvs() []*KV + func (m *PutStates) Reset() + func (m *PutStates) String() string + func (m *PutStates) XXX_DiscardUnknown() + func (m *PutStates) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PutStates) XXX_Merge(src proto.Message) + func (m *PutStates) XXX_Size() int + func (m *PutStates) XXX_Unmarshal(b []byte) error + type QueryResponse struct + Kvs []*KV + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*QueryResponse) Descriptor() ([]byte, []int) + func (*QueryResponse) ProtoMessage() + func (m *QueryResponse) GetKvs() []*KV + func (m *QueryResponse) Reset() + func (m *QueryResponse) String() string + func (m *QueryResponse) XXX_DiscardUnknown() + func (m *QueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryResponse) XXX_Merge(src proto.Message) + func (m *QueryResponse) XXX_Size() int + func (m *QueryResponse) XXX_Unmarshal(b []byte) error + type RWSet struct + Reads []*Read + Writes []*Write + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*RWSet) Descriptor() ([]byte, []int) + func (*RWSet) ProtoMessage() + func (m *RWSet) GetReads() []*Read + func (m *RWSet) GetWrites() []*Write + func (m *RWSet) Reset() + func (m *RWSet) String() string + func (m *RWSet) XXX_DiscardUnknown() + func (m *RWSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RWSet) XXX_Merge(src proto.Message) + func (m *RWSet) XXX_Size() int + func (m *RWSet) XXX_Unmarshal(b []byte) error + type Read struct + Key []byte + Value []byte + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Read) Descriptor() ([]byte, []int) + func (*Read) ProtoMessage() + func (m *Read) GetKey() []byte + func (m *Read) GetValue() []byte + func (m *Read) Reset() + func (m *Read) String() string + func (m *Read) XXX_DiscardUnknown() + func (m *Read) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Read) XXX_Merge(src proto.Message) + func (m *Read) XXX_Size() int + func (m *Read) XXX_Unmarshal(b []byte) error + type Transfer struct + Coin string + From []byte + To []byte + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Transfer) Descriptor() ([]byte, []int) + func (*Transfer) ProtoMessage() + func (m *Transfer) GetCoin() string + func (m *Transfer) GetFrom() []byte + func (m *Transfer) GetTo() []byte + func (m *Transfer) Reset() + func (m *Transfer) String() string + func (m *Transfer) XXX_DiscardUnknown() + func (m *Transfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Transfer) XXX_Merge(src proto.Message) + func (m *Transfer) XXX_Size() int + func (m *Transfer) XXX_Unmarshal(b []byte) error + type UnimplementedChaincodeSupportServer struct + func (*UnimplementedChaincodeSupportServer) Register(srv ChaincodeSupport_RegisterServer) error + type Write struct + Key []byte + Value []byte + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Write) Descriptor() ([]byte, []int) + func (*Write) ProtoMessage() + func (m *Write) GetKey() []byte + func (m *Write) GetValue() []byte + func (m *Write) Reset() + func (m *Write) String() string + func (m *Write) XXX_DiscardUnknown() + func (m *Write) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Write) XXX_Merge(src proto.Message) + func (m *Write) XXX_Size() int + func (m *Write) XXX_Unmarshal(b []byte) error