Documentation ¶
Index ¶
- Variables
- func RegisterGrpcApiContractServer(s *grpc.Server, srv GrpcApiContractServer)
- func RegisterGrpcApiDidServer(s *grpc.Server, srv GrpcApiDidServer)
- func RegisterGrpcApiMQServer(s *grpc.Server, srv GrpcApiMQServer)
- func RegisterGrpcApiTransactionServer(s *grpc.Server, srv GrpcApiTransactionServer)
- type Auth
- func (*Auth) Descriptor() ([]byte, []int)
- func (m *Auth) GetAddress() string
- func (m *Auth) GetSignature() string
- func (m *Auth) GetTimestamp() int64
- func (m *Auth) Marshal() (dAtA []byte, err error)
- func (m *Auth) MarshalTo(dAtA []byte) (int, error)
- func (m *Auth) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Auth) ProtoMessage()
- func (m *Auth) Reset()
- func (m *Auth) Size() (n int)
- func (m *Auth) String() string
- func (m *Auth) Unmarshal(dAtA []byte) error
- func (m *Auth) XXX_DiscardUnknown()
- func (m *Auth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Auth) XXX_Merge(src proto.Message)
- func (m *Auth) XXX_Size() int
- func (m *Auth) XXX_Unmarshal(b []byte) error
- type CommonReq
- func (*CommonReq) Descriptor() ([]byte, []int)
- func (m *CommonReq) GetAuth() *Auth
- func (m *CommonReq) GetNamespace() string
- func (m *CommonReq) GetParams() []byte
- func (m *CommonReq) GetSignature() string
- func (m *CommonReq) GetTCert() string
- func (m *CommonReq) Marshal() (dAtA []byte, err error)
- func (m *CommonReq) MarshalTo(dAtA []byte) (int, error)
- func (m *CommonReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CommonReq) ProtoMessage()
- func (m *CommonReq) Reset()
- func (m *CommonReq) Size() (n int)
- func (m *CommonReq) String() string
- func (m *CommonReq) Unmarshal(dAtA []byte) error
- func (m *CommonReq) XXX_DiscardUnknown()
- func (m *CommonReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommonReq) XXX_Merge(src proto.Message)
- func (m *CommonReq) XXX_Size() int
- func (m *CommonReq) XXX_Unmarshal(b []byte) error
- type CommonRes
- func (*CommonRes) Descriptor() ([]byte, []int)
- func (m *CommonRes) GetCode() int64
- func (m *CommonRes) GetCodeDesc() string
- func (m *CommonRes) GetNamespace() string
- func (m *CommonRes) GetResult() []byte
- func (m *CommonRes) Marshal() (dAtA []byte, err error)
- func (m *CommonRes) MarshalTo(dAtA []byte) (int, error)
- func (m *CommonRes) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CommonRes) ProtoMessage()
- func (m *CommonRes) Reset()
- func (m *CommonRes) Size() (n int)
- func (m *CommonRes) String() string
- func (m *CommonRes) Unmarshal(dAtA []byte) error
- func (m *CommonRes) XXX_DiscardUnknown()
- func (m *CommonRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommonRes) XXX_Merge(src proto.Message)
- func (m *CommonRes) XXX_Size() int
- func (m *CommonRes) XXX_Unmarshal(b []byte) error
- type GrpcApiContractClient
- type GrpcApiContractServer
- type GrpcApiContract_DeployContractClient
- type GrpcApiContract_DeployContractReturnReceiptClient
- type GrpcApiContract_DeployContractReturnReceiptServer
- type GrpcApiContract_DeployContractServer
- type GrpcApiContract_InvokeContractClient
- type GrpcApiContract_InvokeContractReturnReceiptClient
- type GrpcApiContract_InvokeContractReturnReceiptServer
- type GrpcApiContract_InvokeContractServer
- type GrpcApiContract_MaintainContractClient
- type GrpcApiContract_MaintainContractReturnReceiptClient
- type GrpcApiContract_MaintainContractReturnReceiptServer
- type GrpcApiContract_MaintainContractServer
- type GrpcApiContract_ManageContractByVoteClient
- type GrpcApiContract_ManageContractByVoteReturnReceiptClient
- type GrpcApiContract_ManageContractByVoteReturnReceiptServer
- type GrpcApiContract_ManageContractByVoteServer
- type GrpcApiDidClient
- type GrpcApiDidServer
- type GrpcApiDid_SendDIDTransactionClient
- type GrpcApiDid_SendDIDTransactionReturnReceiptClient
- type GrpcApiDid_SendDIDTransactionReturnReceiptServer
- type GrpcApiDid_SendDIDTransactionServer
- type GrpcApiMQClient
- type GrpcApiMQServer
- type GrpcApiMQ_ConsumeClient
- type GrpcApiMQ_ConsumeServer
- type GrpcApiTransactionClient
- type GrpcApiTransactionServer
- type GrpcApiTransaction_SendTransactionClient
- type GrpcApiTransaction_SendTransactionReturnReceiptClient
- type GrpcApiTransaction_SendTransactionReturnReceiptServer
- type GrpcApiTransaction_SendTransactionServer
- type LogTrans
- func (*LogTrans) Descriptor() ([]byte, []int)
- func (m *LogTrans) GetAddress() string
- func (m *LogTrans) GetBlockHash() string
- func (m *LogTrans) GetBlockNumber() uint64
- func (m *LogTrans) GetData() string
- func (m *LogTrans) GetIndex() uint64
- func (m *LogTrans) GetTopics() []string
- func (m *LogTrans) GetTxHash() string
- func (m *LogTrans) GetTxIndex() uint64
- func (m *LogTrans) Marshal() (dAtA []byte, err error)
- func (m *LogTrans) MarshalTo(dAtA []byte) (int, error)
- func (m *LogTrans) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LogTrans) ProtoMessage()
- func (m *LogTrans) Reset()
- func (m *LogTrans) Size() (n int)
- func (m *LogTrans) String() string
- func (m *LogTrans) Unmarshal(dAtA []byte) error
- func (m *LogTrans) XXX_DiscardUnknown()
- func (m *LogTrans) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LogTrans) XXX_Merge(src proto.Message)
- func (m *LogTrans) XXX_Size() int
- func (m *LogTrans) XXX_Unmarshal(b []byte) error
- type OracleTrans
- func (*OracleTrans) Descriptor() ([]byte, []int)
- func (m *OracleTrans) GetBizID() string
- func (m *OracleTrans) GetBody() string
- func (m *OracleTrans) GetCallBackAddress() string
- func (m *OracleTrans) GetCallBackMethod() string
- func (m *OracleTrans) GetContractAddress() string
- func (m *OracleTrans) GetHeader() map[string]string
- func (m *OracleTrans) GetMethod() string
- func (m *OracleTrans) GetTxHash() string
- func (m *OracleTrans) GetURL() string
- func (m *OracleTrans) GetUUID() string
- func (m *OracleTrans) Marshal() (dAtA []byte, err error)
- func (m *OracleTrans) MarshalTo(dAtA []byte) (int, error)
- func (m *OracleTrans) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OracleTrans) ProtoMessage()
- func (m *OracleTrans) Reset()
- func (m *OracleTrans) Size() (n int)
- func (m *OracleTrans) String() string
- func (m *OracleTrans) Unmarshal(dAtA []byte) error
- func (m *OracleTrans) XXX_DiscardUnknown()
- func (m *OracleTrans) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OracleTrans) XXX_Merge(src proto.Message)
- func (m *OracleTrans) XXX_Size() int
- func (m *OracleTrans) XXX_Unmarshal(b []byte) error
- type ReceiptResult
- func (*ReceiptResult) Descriptor() ([]byte, []int)
- func (m *ReceiptResult) GetContractAddress() string
- func (m *ReceiptResult) GetContractName() string
- func (m *ReceiptResult) GetErrorMsg() string
- func (m *ReceiptResult) GetGasUsed() int64
- func (m *ReceiptResult) GetLog() []*LogTrans
- func (m *ReceiptResult) GetOracles() []*OracleTrans
- func (m *ReceiptResult) GetRet() string
- func (m *ReceiptResult) GetTxHash() string
- func (m *ReceiptResult) GetVMType() string
- func (m *ReceiptResult) GetValid() bool
- func (m *ReceiptResult) GetVersion() string
- func (m *ReceiptResult) Marshal() (dAtA []byte, err error)
- func (m *ReceiptResult) MarshalTo(dAtA []byte) (int, error)
- func (m *ReceiptResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ReceiptResult) ProtoMessage()
- func (m *ReceiptResult) Reset()
- func (m *ReceiptResult) Size() (n int)
- func (m *ReceiptResult) String() string
- func (m *ReceiptResult) Unmarshal(dAtA []byte) error
- func (m *ReceiptResult) XXX_DiscardUnknown()
- func (m *ReceiptResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiptResult) XXX_Merge(src proto.Message)
- func (m *ReceiptResult) XXX_Size() int
- func (m *ReceiptResult) XXX_Unmarshal(b []byte) error
- type SendTxArgs
- func (*SendTxArgs) Descriptor() ([]byte, []int)
- func (m *SendTxArgs) GetCName() string
- func (m *SendTxArgs) GetExtra() string
- func (m *SendTxArgs) GetExtraIDInt64Array() []int64
- func (m *SendTxArgs) GetExtraIDStringArray() []string
- func (m *SendTxArgs) GetFrom() string
- func (m *SendTxArgs) GetNonce() int64
- func (m *SendTxArgs) GetOpcode() int32
- func (m *SendTxArgs) GetPayload() string
- func (m *SendTxArgs) GetSignature() string
- func (m *SendTxArgs) GetSimulate() bool
- func (m *SendTxArgs) GetSnapshotID() string
- func (m *SendTxArgs) GetTimestamp() int64
- func (m *SendTxArgs) GetTo() string
- func (m *SendTxArgs) GetValue() int64
- func (m *SendTxArgs) GetVmType() string
- func (m *SendTxArgs) Marshal() (dAtA []byte, err error)
- func (m *SendTxArgs) MarshalTo(dAtA []byte) (int, error)
- func (m *SendTxArgs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SendTxArgs) ProtoMessage()
- func (m *SendTxArgs) Reset()
- func (m *SendTxArgs) Size() (n int)
- func (m *SendTxArgs) String() string
- func (m *SendTxArgs) Unmarshal(dAtA []byte) error
- func (m *SendTxArgs) XXX_DiscardUnknown()
- func (m *SendTxArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendTxArgs) XXX_Merge(src proto.Message)
- func (m *SendTxArgs) XXX_Size() int
- func (m *SendTxArgs) XXX_Unmarshal(b []byte) error
- type UnimplementedGrpcApiContractServer
- func (*UnimplementedGrpcApiContractServer) DeployContract(srv GrpcApiContract_DeployContractServer) error
- func (*UnimplementedGrpcApiContractServer) DeployContractReturnReceipt(srv GrpcApiContract_DeployContractReturnReceiptServer) error
- func (*UnimplementedGrpcApiContractServer) InvokeContract(srv GrpcApiContract_InvokeContractServer) error
- func (*UnimplementedGrpcApiContractServer) InvokeContractReturnReceipt(srv GrpcApiContract_InvokeContractReturnReceiptServer) error
- func (*UnimplementedGrpcApiContractServer) MaintainContract(srv GrpcApiContract_MaintainContractServer) error
- func (*UnimplementedGrpcApiContractServer) MaintainContractReturnReceipt(srv GrpcApiContract_MaintainContractReturnReceiptServer) error
- func (*UnimplementedGrpcApiContractServer) ManageContractByVote(srv GrpcApiContract_ManageContractByVoteServer) error
- func (*UnimplementedGrpcApiContractServer) ManageContractByVoteReturnReceipt(srv GrpcApiContract_ManageContractByVoteReturnReceiptServer) error
- type UnimplementedGrpcApiDidServer
- type UnimplementedGrpcApiMQServer
- func (*UnimplementedGrpcApiMQServer) Consume(req *CommonReq, srv GrpcApiMQ_ConsumeServer) error
- func (*UnimplementedGrpcApiMQServer) GetAllQueueNames(ctx context.Context, req *CommonReq) (*CommonRes, error)
- func (*UnimplementedGrpcApiMQServer) Register(ctx context.Context, req *CommonReq) (*CommonRes, error)
- func (*UnimplementedGrpcApiMQServer) StopConsume(ctx context.Context, req *CommonReq) (*CommonRes, error)
- func (*UnimplementedGrpcApiMQServer) UnRegister(ctx context.Context, req *CommonReq) (*CommonRes, error)
- type UnimplementedGrpcApiTransactionServer
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterGrpcApiContractServer ¶
func RegisterGrpcApiContractServer(s *grpc.Server, srv GrpcApiContractServer)
func RegisterGrpcApiDidServer ¶
func RegisterGrpcApiDidServer(s *grpc.Server, srv GrpcApiDidServer)
func RegisterGrpcApiMQServer ¶
func RegisterGrpcApiMQServer(s *grpc.Server, srv GrpcApiMQServer)
func RegisterGrpcApiTransactionServer ¶
func RegisterGrpcApiTransactionServer(s *grpc.Server, srv GrpcApiTransactionServer)
Types ¶
type Auth ¶
type Auth struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Signature string `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` }
func (*Auth) Descriptor ¶
func (*Auth) GetAddress ¶
func (*Auth) GetSignature ¶
func (*Auth) GetTimestamp ¶
func (*Auth) ProtoMessage ¶
func (*Auth) ProtoMessage()
func (*Auth) XXX_DiscardUnknown ¶
func (m *Auth) XXX_DiscardUnknown()
func (*Auth) XXX_Unmarshal ¶
type CommonReq ¶
type CommonReq struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Auth *Auth `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"` Params []byte `protobuf:"bytes,3,opt,name=params,proto3" json:"params,omitempty"` TCert string `protobuf:"bytes,4,opt,name=tCert,proto3" json:"tCert,omitempty"` Signature string `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` }
func (*CommonReq) Descriptor ¶
func (*CommonReq) GetNamespace ¶
func (*CommonReq) GetSignature ¶
func (*CommonReq) MarshalToSizedBuffer ¶
func (*CommonReq) ProtoMessage ¶
func (*CommonReq) ProtoMessage()
func (*CommonReq) XXX_DiscardUnknown ¶
func (m *CommonReq) XXX_DiscardUnknown()
func (*CommonReq) XXX_Marshal ¶
func (*CommonReq) XXX_Unmarshal ¶
type CommonRes ¶
type CommonRes struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Code int64 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` CodeDesc string `protobuf:"bytes,3,opt,name=codeDesc,proto3" json:"codeDesc,omitempty"` Result []byte `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` }
func (*CommonRes) Descriptor ¶
func (*CommonRes) GetCodeDesc ¶
func (*CommonRes) GetNamespace ¶
func (*CommonRes) MarshalToSizedBuffer ¶
func (*CommonRes) ProtoMessage ¶
func (*CommonRes) ProtoMessage()
func (*CommonRes) XXX_DiscardUnknown ¶
func (m *CommonRes) XXX_DiscardUnknown()
func (*CommonRes) XXX_Marshal ¶
func (*CommonRes) XXX_Unmarshal ¶
type GrpcApiContractClient ¶
type GrpcApiContractClient interface { DeployContract(ctx context.Context, opts ...grpc.CallOption) (GrpcApiContract_DeployContractClient, error) DeployContractReturnReceipt(ctx context.Context, opts ...grpc.CallOption) (GrpcApiContract_DeployContractReturnReceiptClient, error) InvokeContract(ctx context.Context, opts ...grpc.CallOption) (GrpcApiContract_InvokeContractClient, error) InvokeContractReturnReceipt(ctx context.Context, opts ...grpc.CallOption) (GrpcApiContract_InvokeContractReturnReceiptClient, error) MaintainContract(ctx context.Context, opts ...grpc.CallOption) (GrpcApiContract_MaintainContractClient, error) MaintainContractReturnReceipt(ctx context.Context, opts ...grpc.CallOption) (GrpcApiContract_MaintainContractReturnReceiptClient, error) ManageContractByVote(ctx context.Context, opts ...grpc.CallOption) (GrpcApiContract_ManageContractByVoteClient, error) ManageContractByVoteReturnReceipt(ctx context.Context, opts ...grpc.CallOption) (GrpcApiContract_ManageContractByVoteReturnReceiptClient, error) }
GrpcApiContractClient is the client API for GrpcApiContract service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewGrpcApiContractClient ¶
func NewGrpcApiContractClient(cc *grpc.ClientConn) GrpcApiContractClient
type GrpcApiContractServer ¶
type GrpcApiContractServer interface { DeployContract(GrpcApiContract_DeployContractServer) error DeployContractReturnReceipt(GrpcApiContract_DeployContractReturnReceiptServer) error InvokeContract(GrpcApiContract_InvokeContractServer) error InvokeContractReturnReceipt(GrpcApiContract_InvokeContractReturnReceiptServer) error MaintainContract(GrpcApiContract_MaintainContractServer) error MaintainContractReturnReceipt(GrpcApiContract_MaintainContractReturnReceiptServer) error ManageContractByVote(GrpcApiContract_ManageContractByVoteServer) error ManageContractByVoteReturnReceipt(GrpcApiContract_ManageContractByVoteReturnReceiptServer) error }
GrpcApiContractServer is the server API for GrpcApiContract service.
type GrpcApiDidClient ¶
type GrpcApiDidClient interface { SendDIDTransaction(ctx context.Context, opts ...grpc.CallOption) (GrpcApiDid_SendDIDTransactionClient, error) SendDIDTransactionReturnReceipt(ctx context.Context, opts ...grpc.CallOption) (GrpcApiDid_SendDIDTransactionReturnReceiptClient, error) }
GrpcApiDidClient is the client API for GrpcApiDid service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewGrpcApiDidClient ¶
func NewGrpcApiDidClient(cc *grpc.ClientConn) GrpcApiDidClient
type GrpcApiDidServer ¶
type GrpcApiDidServer interface { SendDIDTransaction(GrpcApiDid_SendDIDTransactionServer) error SendDIDTransactionReturnReceipt(GrpcApiDid_SendDIDTransactionReturnReceiptServer) error }
GrpcApiDidServer is the server API for GrpcApiDid service.
type GrpcApiMQClient ¶
type GrpcApiMQClient interface { Register(ctx context.Context, in *CommonReq, opts ...grpc.CallOption) (*CommonRes, error) UnRegister(ctx context.Context, in *CommonReq, opts ...grpc.CallOption) (*CommonRes, error) GetAllQueueNames(ctx context.Context, in *CommonReq, opts ...grpc.CallOption) (*CommonRes, error) Consume(ctx context.Context, in *CommonReq, opts ...grpc.CallOption) (GrpcApiMQ_ConsumeClient, error) StopConsume(ctx context.Context, in *CommonReq, opts ...grpc.CallOption) (*CommonRes, error) }
GrpcApiMQClient is the client API for GrpcApiMQ service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewGrpcApiMQClient ¶
func NewGrpcApiMQClient(cc *grpc.ClientConn) GrpcApiMQClient
type GrpcApiMQServer ¶
type GrpcApiMQServer interface { Register(context.Context, *CommonReq) (*CommonRes, error) UnRegister(context.Context, *CommonReq) (*CommonRes, error) GetAllQueueNames(context.Context, *CommonReq) (*CommonRes, error) Consume(*CommonReq, GrpcApiMQ_ConsumeServer) error StopConsume(context.Context, *CommonReq) (*CommonRes, error) }
GrpcApiMQServer is the server API for GrpcApiMQ service.
type GrpcApiMQ_ConsumeClient ¶
type GrpcApiMQ_ConsumeClient interface { Recv() (*CommonRes, error) grpc.ClientStream }
type GrpcApiMQ_ConsumeServer ¶
type GrpcApiMQ_ConsumeServer interface { Send(*CommonRes) error grpc.ServerStream }
type GrpcApiTransactionClient ¶
type GrpcApiTransactionClient interface { SendTransaction(ctx context.Context, opts ...grpc.CallOption) (GrpcApiTransaction_SendTransactionClient, error) SendTransactionReturnReceipt(ctx context.Context, opts ...grpc.CallOption) (GrpcApiTransaction_SendTransactionReturnReceiptClient, error) }
GrpcApiTransactionClient is the client API for GrpcApiTransaction service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewGrpcApiTransactionClient ¶
func NewGrpcApiTransactionClient(cc *grpc.ClientConn) GrpcApiTransactionClient
type GrpcApiTransactionServer ¶
type GrpcApiTransactionServer interface { SendTransaction(GrpcApiTransaction_SendTransactionServer) error SendTransactionReturnReceipt(GrpcApiTransaction_SendTransactionReturnReceiptServer) error }
GrpcApiTransactionServer is the server API for GrpcApiTransaction service.
type LogTrans ¶
type LogTrans struct { Address string `protobuf:"bytes,1,opt,name=Address,proto3" json:"Address,omitempty"` Topics []string `protobuf:"bytes,2,rep,name=Topics,proto3" json:"Topics,omitempty"` Data string `protobuf:"bytes,3,opt,name=Data,proto3" json:"Data,omitempty"` BlockNumber uint64 `protobuf:"varint,4,opt,name=BlockNumber,proto3" json:"BlockNumber,omitempty"` BlockHash string `protobuf:"bytes,5,opt,name=BlockHash,proto3" json:"BlockHash,omitempty"` TxHash string `protobuf:"bytes,6,opt,name=TxHash,proto3" json:"TxHash,omitempty"` TxIndex uint64 `protobuf:"varint,7,opt,name=TxIndex,proto3" json:"TxIndex,omitempty"` Index uint64 `protobuf:"varint,8,opt,name=Index,proto3" json:"Index,omitempty"` }
func (*LogTrans) Descriptor ¶
func (*LogTrans) GetAddress ¶
func (*LogTrans) GetBlockHash ¶
func (*LogTrans) GetBlockNumber ¶
func (*LogTrans) GetTxIndex ¶
func (*LogTrans) MarshalToSizedBuffer ¶
func (*LogTrans) ProtoMessage ¶
func (*LogTrans) ProtoMessage()
func (*LogTrans) XXX_DiscardUnknown ¶
func (m *LogTrans) XXX_DiscardUnknown()
func (*LogTrans) XXX_Marshal ¶
func (*LogTrans) XXX_Unmarshal ¶
type OracleTrans ¶
type OracleTrans struct { URL string `protobuf:"bytes,1,opt,name=URL,proto3" json:"URL,omitempty"` Method string `protobuf:"bytes,2,opt,name=Method,proto3" json:"Method,omitempty"` Header map[string]string `` /* 153-byte string literal not displayed */ Body string `protobuf:"bytes,4,opt,name=Body,proto3" json:"Body,omitempty"` TxHash string `protobuf:"bytes,5,opt,name=TxHash,proto3" json:"TxHash,omitempty"` BizID string `protobuf:"bytes,6,opt,name=BizID,proto3" json:"BizID,omitempty"` CallBackAddress string `protobuf:"bytes,7,opt,name=CallBackAddress,proto3" json:"CallBackAddress,omitempty"` CallBackMethod string `protobuf:"bytes,8,opt,name=CallBackMethod,proto3" json:"CallBackMethod,omitempty"` UUID string `protobuf:"bytes,9,opt,name=UUID,proto3" json:"UUID,omitempty"` ContractAddress string `protobuf:"bytes,10,opt,name=ContractAddress,proto3" json:"ContractAddress,omitempty"` }
func (*OracleTrans) Descriptor ¶
func (*OracleTrans) Descriptor() ([]byte, []int)
func (*OracleTrans) GetBizID ¶
func (m *OracleTrans) GetBizID() string
func (*OracleTrans) GetBody ¶
func (m *OracleTrans) GetBody() string
func (*OracleTrans) GetCallBackAddress ¶
func (m *OracleTrans) GetCallBackAddress() string
func (*OracleTrans) GetCallBackMethod ¶
func (m *OracleTrans) GetCallBackMethod() string
func (*OracleTrans) GetContractAddress ¶
func (m *OracleTrans) GetContractAddress() string
func (*OracleTrans) GetHeader ¶
func (m *OracleTrans) GetHeader() map[string]string
func (*OracleTrans) GetMethod ¶
func (m *OracleTrans) GetMethod() string
func (*OracleTrans) GetTxHash ¶
func (m *OracleTrans) GetTxHash() string
func (*OracleTrans) GetURL ¶
func (m *OracleTrans) GetURL() string
func (*OracleTrans) GetUUID ¶
func (m *OracleTrans) GetUUID() string
func (*OracleTrans) Marshal ¶
func (m *OracleTrans) Marshal() (dAtA []byte, err error)
func (*OracleTrans) MarshalToSizedBuffer ¶
func (m *OracleTrans) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OracleTrans) ProtoMessage ¶
func (*OracleTrans) ProtoMessage()
func (*OracleTrans) Reset ¶
func (m *OracleTrans) Reset()
func (*OracleTrans) Size ¶
func (m *OracleTrans) Size() (n int)
func (*OracleTrans) String ¶
func (m *OracleTrans) String() string
func (*OracleTrans) Unmarshal ¶
func (m *OracleTrans) Unmarshal(dAtA []byte) error
func (*OracleTrans) XXX_DiscardUnknown ¶
func (m *OracleTrans) XXX_DiscardUnknown()
func (*OracleTrans) XXX_Marshal ¶
func (m *OracleTrans) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OracleTrans) XXX_Merge ¶
func (m *OracleTrans) XXX_Merge(src proto.Message)
func (*OracleTrans) XXX_Size ¶
func (m *OracleTrans) XXX_Size() int
func (*OracleTrans) XXX_Unmarshal ¶
func (m *OracleTrans) XXX_Unmarshal(b []byte) error
type ReceiptResult ¶
type ReceiptResult struct { Version string `protobuf:"bytes,1,opt,name=Version,proto3" json:"Version,omitempty"` TxHash string `protobuf:"bytes,2,opt,name=TxHash,proto3" json:"TxHash,omitempty"` VMType string `protobuf:"bytes,3,opt,name=VMType,proto3" json:"VMType,omitempty"` ContractAddress string `protobuf:"bytes,4,opt,name=ContractAddress,proto3" json:"ContractAddress,omitempty"` ContractName string `protobuf:"bytes,5,opt,name=ContractName,proto3" json:"ContractName,omitempty"` GasUsed int64 `protobuf:"varint,6,opt,name=GasUsed,proto3" json:"GasUsed,omitempty"` Ret string `protobuf:"bytes,7,opt,name=Ret,proto3" json:"Ret,omitempty"` Log []*LogTrans `protobuf:"bytes,8,rep,name=Log,proto3" json:"Log,omitempty"` Valid bool `protobuf:"varint,9,opt,name=Valid,proto3" json:"Valid,omitempty"` ErrorMsg string `protobuf:"bytes,10,opt,name=ErrorMsg,proto3" json:"ErrorMsg,omitempty"` Oracles []*OracleTrans `protobuf:"bytes,11,rep,name=Oracles,proto3" json:"Oracles,omitempty"` }
func (*ReceiptResult) Descriptor ¶
func (*ReceiptResult) Descriptor() ([]byte, []int)
func (*ReceiptResult) GetContractAddress ¶
func (m *ReceiptResult) GetContractAddress() string
func (*ReceiptResult) GetContractName ¶
func (m *ReceiptResult) GetContractName() string
func (*ReceiptResult) GetErrorMsg ¶
func (m *ReceiptResult) GetErrorMsg() string
func (*ReceiptResult) GetGasUsed ¶
func (m *ReceiptResult) GetGasUsed() int64
func (*ReceiptResult) GetLog ¶
func (m *ReceiptResult) GetLog() []*LogTrans
func (*ReceiptResult) GetOracles ¶
func (m *ReceiptResult) GetOracles() []*OracleTrans
func (*ReceiptResult) GetRet ¶
func (m *ReceiptResult) GetRet() string
func (*ReceiptResult) GetTxHash ¶
func (m *ReceiptResult) GetTxHash() string
func (*ReceiptResult) GetVMType ¶
func (m *ReceiptResult) GetVMType() string
func (*ReceiptResult) GetValid ¶
func (m *ReceiptResult) GetValid() bool
func (*ReceiptResult) GetVersion ¶
func (m *ReceiptResult) GetVersion() string
func (*ReceiptResult) Marshal ¶
func (m *ReceiptResult) Marshal() (dAtA []byte, err error)
func (*ReceiptResult) MarshalToSizedBuffer ¶
func (m *ReceiptResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ReceiptResult) ProtoMessage ¶
func (*ReceiptResult) ProtoMessage()
func (*ReceiptResult) Reset ¶
func (m *ReceiptResult) Reset()
func (*ReceiptResult) Size ¶
func (m *ReceiptResult) Size() (n int)
func (*ReceiptResult) String ¶
func (m *ReceiptResult) String() string
func (*ReceiptResult) Unmarshal ¶
func (m *ReceiptResult) Unmarshal(dAtA []byte) error
func (*ReceiptResult) XXX_DiscardUnknown ¶
func (m *ReceiptResult) XXX_DiscardUnknown()
func (*ReceiptResult) XXX_Marshal ¶
func (m *ReceiptResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiptResult) XXX_Merge ¶
func (m *ReceiptResult) XXX_Merge(src proto.Message)
func (*ReceiptResult) XXX_Size ¶
func (m *ReceiptResult) XXX_Size() int
func (*ReceiptResult) XXX_Unmarshal ¶
func (m *ReceiptResult) XXX_Unmarshal(b []byte) error
type SendTxArgs ¶
type SendTxArgs struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` Value int64 `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"` Payload string `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"` Signature string `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` Timestamp int64 `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Simulate bool `protobuf:"varint,7,opt,name=simulate,proto3" json:"simulate,omitempty"` Nonce int64 `protobuf:"varint,8,opt,name=nonce,proto3" json:"nonce,omitempty"` Extra string `protobuf:"bytes,9,opt,name=extra,proto3" json:"extra,omitempty"` VmType string `protobuf:"bytes,10,opt,name=vmType,proto3" json:"vmType,omitempty"` Opcode int32 `protobuf:"varint,11,opt,name=opcode,proto3" json:"opcode,omitempty"` SnapshotID string `protobuf:"bytes,12,opt,name=snapshotID,proto3" json:"snapshotID,omitempty"` ExtraIDInt64Array []int64 `protobuf:"varint,13,rep,packed,name=extraIDInt64Array,proto3" json:"extraIDInt64Array,omitempty"` ExtraIDStringArray []string `protobuf:"bytes,14,rep,name=extraIDStringArray,proto3" json:"extraIDStringArray,omitempty"` CName string `protobuf:"bytes,15,opt,name=cName,proto3" json:"cName,omitempty"` }
func (*SendTxArgs) Descriptor ¶
func (*SendTxArgs) Descriptor() ([]byte, []int)
func (*SendTxArgs) GetCName ¶
func (m *SendTxArgs) GetCName() string
func (*SendTxArgs) GetExtra ¶
func (m *SendTxArgs) GetExtra() string
func (*SendTxArgs) GetExtraIDInt64Array ¶
func (m *SendTxArgs) GetExtraIDInt64Array() []int64
func (*SendTxArgs) GetExtraIDStringArray ¶
func (m *SendTxArgs) GetExtraIDStringArray() []string
func (*SendTxArgs) GetFrom ¶
func (m *SendTxArgs) GetFrom() string
func (*SendTxArgs) GetNonce ¶
func (m *SendTxArgs) GetNonce() int64
func (*SendTxArgs) GetOpcode ¶
func (m *SendTxArgs) GetOpcode() int32
func (*SendTxArgs) GetPayload ¶
func (m *SendTxArgs) GetPayload() string
func (*SendTxArgs) GetSignature ¶
func (m *SendTxArgs) GetSignature() string
func (*SendTxArgs) GetSimulate ¶
func (m *SendTxArgs) GetSimulate() bool
func (*SendTxArgs) GetSnapshotID ¶
func (m *SendTxArgs) GetSnapshotID() string
func (*SendTxArgs) GetTimestamp ¶
func (m *SendTxArgs) GetTimestamp() int64
func (*SendTxArgs) GetTo ¶
func (m *SendTxArgs) GetTo() string
func (*SendTxArgs) GetValue ¶
func (m *SendTxArgs) GetValue() int64
func (*SendTxArgs) GetVmType ¶
func (m *SendTxArgs) GetVmType() string
func (*SendTxArgs) Marshal ¶
func (m *SendTxArgs) Marshal() (dAtA []byte, err error)
func (*SendTxArgs) MarshalToSizedBuffer ¶
func (m *SendTxArgs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SendTxArgs) ProtoMessage ¶
func (*SendTxArgs) ProtoMessage()
func (*SendTxArgs) Reset ¶
func (m *SendTxArgs) Reset()
func (*SendTxArgs) Size ¶
func (m *SendTxArgs) Size() (n int)
func (*SendTxArgs) String ¶
func (m *SendTxArgs) String() string
func (*SendTxArgs) Unmarshal ¶
func (m *SendTxArgs) Unmarshal(dAtA []byte) error
func (*SendTxArgs) XXX_DiscardUnknown ¶
func (m *SendTxArgs) XXX_DiscardUnknown()
func (*SendTxArgs) XXX_Marshal ¶
func (m *SendTxArgs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendTxArgs) XXX_Merge ¶
func (m *SendTxArgs) XXX_Merge(src proto.Message)
func (*SendTxArgs) XXX_Size ¶
func (m *SendTxArgs) XXX_Size() int
func (*SendTxArgs) XXX_Unmarshal ¶
func (m *SendTxArgs) XXX_Unmarshal(b []byte) error
type UnimplementedGrpcApiContractServer ¶
type UnimplementedGrpcApiContractServer struct { }
UnimplementedGrpcApiContractServer can be embedded to have forward compatible implementations.
func (*UnimplementedGrpcApiContractServer) DeployContract ¶
func (*UnimplementedGrpcApiContractServer) DeployContract(srv GrpcApiContract_DeployContractServer) error
func (*UnimplementedGrpcApiContractServer) DeployContractReturnReceipt ¶
func (*UnimplementedGrpcApiContractServer) DeployContractReturnReceipt(srv GrpcApiContract_DeployContractReturnReceiptServer) error
func (*UnimplementedGrpcApiContractServer) InvokeContract ¶
func (*UnimplementedGrpcApiContractServer) InvokeContract(srv GrpcApiContract_InvokeContractServer) error
func (*UnimplementedGrpcApiContractServer) InvokeContractReturnReceipt ¶
func (*UnimplementedGrpcApiContractServer) InvokeContractReturnReceipt(srv GrpcApiContract_InvokeContractReturnReceiptServer) error
func (*UnimplementedGrpcApiContractServer) MaintainContract ¶
func (*UnimplementedGrpcApiContractServer) MaintainContract(srv GrpcApiContract_MaintainContractServer) error
func (*UnimplementedGrpcApiContractServer) MaintainContractReturnReceipt ¶
func (*UnimplementedGrpcApiContractServer) MaintainContractReturnReceipt(srv GrpcApiContract_MaintainContractReturnReceiptServer) error
func (*UnimplementedGrpcApiContractServer) ManageContractByVote ¶
func (*UnimplementedGrpcApiContractServer) ManageContractByVote(srv GrpcApiContract_ManageContractByVoteServer) error
func (*UnimplementedGrpcApiContractServer) ManageContractByVoteReturnReceipt ¶
func (*UnimplementedGrpcApiContractServer) ManageContractByVoteReturnReceipt(srv GrpcApiContract_ManageContractByVoteReturnReceiptServer) error
type UnimplementedGrpcApiDidServer ¶
type UnimplementedGrpcApiDidServer struct { }
UnimplementedGrpcApiDidServer can be embedded to have forward compatible implementations.
func (*UnimplementedGrpcApiDidServer) SendDIDTransaction ¶
func (*UnimplementedGrpcApiDidServer) SendDIDTransaction(srv GrpcApiDid_SendDIDTransactionServer) error
func (*UnimplementedGrpcApiDidServer) SendDIDTransactionReturnReceipt ¶
func (*UnimplementedGrpcApiDidServer) SendDIDTransactionReturnReceipt(srv GrpcApiDid_SendDIDTransactionReturnReceiptServer) error
type UnimplementedGrpcApiMQServer ¶
type UnimplementedGrpcApiMQServer struct { }
UnimplementedGrpcApiMQServer can be embedded to have forward compatible implementations.
func (*UnimplementedGrpcApiMQServer) Consume ¶
func (*UnimplementedGrpcApiMQServer) Consume(req *CommonReq, srv GrpcApiMQ_ConsumeServer) error
func (*UnimplementedGrpcApiMQServer) GetAllQueueNames ¶
func (*UnimplementedGrpcApiMQServer) StopConsume ¶
func (*UnimplementedGrpcApiMQServer) UnRegister ¶
type UnimplementedGrpcApiTransactionServer ¶
type UnimplementedGrpcApiTransactionServer struct { }
UnimplementedGrpcApiTransactionServer can be embedded to have forward compatible implementations.
func (*UnimplementedGrpcApiTransactionServer) SendTransaction ¶
func (*UnimplementedGrpcApiTransactionServer) SendTransaction(srv GrpcApiTransaction_SendTransactionServer) error
func (*UnimplementedGrpcApiTransactionServer) SendTransactionReturnReceipt ¶
func (*UnimplementedGrpcApiTransactionServer) SendTransactionReturnReceipt(srv GrpcApiTransaction_SendTransactionReturnReceiptServer) error