Documentation ¶
Index ¶
- func RegisterDecoderServer(s *grpc.Server, srv DecoderServer)
- type DecodeActionRequest
- func (*DecodeActionRequest) Descriptor() ([]byte, []int)
- func (m *DecodeActionRequest) GetAccount() string
- func (m *DecodeActionRequest) GetAction() string
- func (m *DecodeActionRequest) GetAtBlockNum() uint32
- func (m *DecodeActionRequest) GetPayload() []byte
- func (*DecodeActionRequest) ProtoMessage()
- func (m *DecodeActionRequest) Reset()
- func (m *DecodeActionRequest) String() string
- func (m *DecodeActionRequest) XXX_DiscardUnknown()
- func (m *DecodeActionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DecodeActionRequest) XXX_Merge(src proto.Message)
- func (m *DecodeActionRequest) XXX_Size() int
- func (m *DecodeActionRequest) XXX_Unmarshal(b []byte) error
- type DecodeTableRequest
- func (*DecodeTableRequest) Descriptor() ([]byte, []int)
- func (m *DecodeTableRequest) GetAccount() string
- func (m *DecodeTableRequest) GetAtBlockNum() uint32
- func (m *DecodeTableRequest) GetPayload() []byte
- func (m *DecodeTableRequest) GetTable() string
- func (*DecodeTableRequest) ProtoMessage()
- func (m *DecodeTableRequest) Reset()
- func (m *DecodeTableRequest) String() string
- func (m *DecodeTableRequest) XXX_DiscardUnknown()
- func (m *DecodeTableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DecodeTableRequest) XXX_Merge(src proto.Message)
- func (m *DecodeTableRequest) XXX_Size() int
- func (m *DecodeTableRequest) XXX_Unmarshal(b []byte) error
- type DecoderClient
- type DecoderServer
- type GetAbiRequest
- func (*GetAbiRequest) Descriptor() ([]byte, []int)
- func (m *GetAbiRequest) GetAccount() string
- func (m *GetAbiRequest) GetAtBlockNum() uint32
- func (*GetAbiRequest) ProtoMessage()
- func (m *GetAbiRequest) Reset()
- func (m *GetAbiRequest) String() string
- func (m *GetAbiRequest) XXX_DiscardUnknown()
- func (m *GetAbiRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAbiRequest) XXX_Merge(src proto.Message)
- func (m *GetAbiRequest) XXX_Size() int
- func (m *GetAbiRequest) XXX_Unmarshal(b []byte) error
- type Response
- func (*Response) Descriptor() ([]byte, []int)
- func (m *Response) GetAbiBlockNum() uint32
- func (m *Response) GetJsonPayload() string
- func (*Response) ProtoMessage()
- func (m *Response) Reset()
- func (m *Response) String() string
- func (m *Response) XXX_DiscardUnknown()
- func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Response) XXX_Merge(src proto.Message)
- func (m *Response) XXX_Size() int
- func (m *Response) XXX_Unmarshal(b []byte) error
- type UnimplementedDecoderServer
- func (*UnimplementedDecoderServer) DecodeAction(ctx context.Context, req *DecodeActionRequest) (*Response, error)
- func (*UnimplementedDecoderServer) DecodeTable(ctx context.Context, req *DecodeTableRequest) (*Response, error)
- func (*UnimplementedDecoderServer) GetAbi(ctx context.Context, req *GetAbiRequest) (*Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterDecoderServer ¶
func RegisterDecoderServer(s *grpc.Server, srv DecoderServer)
Types ¶
type DecodeActionRequest ¶
type DecodeActionRequest struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"` AtBlockNum uint32 `protobuf:"varint,4,opt,name=atBlockNum,proto3" json:"atBlockNum,omitempty"` // Binary payload, decoded from hex_data here and there. Payload []byte `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DecodeActionRequest) Descriptor ¶
func (*DecodeActionRequest) Descriptor() ([]byte, []int)
func (*DecodeActionRequest) GetAccount ¶
func (m *DecodeActionRequest) GetAccount() string
func (*DecodeActionRequest) GetAction ¶
func (m *DecodeActionRequest) GetAction() string
func (*DecodeActionRequest) GetAtBlockNum ¶
func (m *DecodeActionRequest) GetAtBlockNum() uint32
func (*DecodeActionRequest) GetPayload ¶
func (m *DecodeActionRequest) GetPayload() []byte
func (*DecodeActionRequest) ProtoMessage ¶
func (*DecodeActionRequest) ProtoMessage()
func (*DecodeActionRequest) Reset ¶
func (m *DecodeActionRequest) Reset()
func (*DecodeActionRequest) String ¶
func (m *DecodeActionRequest) String() string
func (*DecodeActionRequest) XXX_DiscardUnknown ¶
func (m *DecodeActionRequest) XXX_DiscardUnknown()
func (*DecodeActionRequest) XXX_Marshal ¶
func (m *DecodeActionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DecodeActionRequest) XXX_Merge ¶
func (m *DecodeActionRequest) XXX_Merge(src proto.Message)
func (*DecodeActionRequest) XXX_Size ¶
func (m *DecodeActionRequest) XXX_Size() int
func (*DecodeActionRequest) XXX_Unmarshal ¶
func (m *DecodeActionRequest) XXX_Unmarshal(b []byte) error
type DecodeTableRequest ¶
type DecodeTableRequest struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` Table string `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"` AtBlockNum uint32 `protobuf:"varint,4,opt,name=atBlockNum,proto3" json:"atBlockNum,omitempty"` // Binary payload, decoded from hex_data here and there. Payload []byte `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DecodeTableRequest) Descriptor ¶
func (*DecodeTableRequest) Descriptor() ([]byte, []int)
func (*DecodeTableRequest) GetAccount ¶
func (m *DecodeTableRequest) GetAccount() string
func (*DecodeTableRequest) GetAtBlockNum ¶
func (m *DecodeTableRequest) GetAtBlockNum() uint32
func (*DecodeTableRequest) GetPayload ¶
func (m *DecodeTableRequest) GetPayload() []byte
func (*DecodeTableRequest) GetTable ¶
func (m *DecodeTableRequest) GetTable() string
func (*DecodeTableRequest) ProtoMessage ¶
func (*DecodeTableRequest) ProtoMessage()
func (*DecodeTableRequest) Reset ¶
func (m *DecodeTableRequest) Reset()
func (*DecodeTableRequest) String ¶
func (m *DecodeTableRequest) String() string
func (*DecodeTableRequest) XXX_DiscardUnknown ¶
func (m *DecodeTableRequest) XXX_DiscardUnknown()
func (*DecodeTableRequest) XXX_Marshal ¶
func (m *DecodeTableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DecodeTableRequest) XXX_Merge ¶
func (m *DecodeTableRequest) XXX_Merge(src proto.Message)
func (*DecodeTableRequest) XXX_Size ¶
func (m *DecodeTableRequest) XXX_Size() int
func (*DecodeTableRequest) XXX_Unmarshal ¶
func (m *DecodeTableRequest) XXX_Unmarshal(b []byte) error
type DecoderClient ¶
type DecoderClient interface { DecodeTable(ctx context.Context, in *DecodeTableRequest, opts ...grpc.CallOption) (*Response, error) DecodeAction(ctx context.Context, in *DecodeActionRequest, opts ...grpc.CallOption) (*Response, error) GetAbi(ctx context.Context, in *GetAbiRequest, opts ...grpc.CallOption) (*Response, error) }
DecoderClient is the client API for Decoder service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDecoderClient ¶
func NewDecoderClient(cc *grpc.ClientConn) DecoderClient
type DecoderServer ¶
type DecoderServer interface { DecodeTable(context.Context, *DecodeTableRequest) (*Response, error) DecodeAction(context.Context, *DecodeActionRequest) (*Response, error) GetAbi(context.Context, *GetAbiRequest) (*Response, error) }
DecoderServer is the server API for Decoder service.
type GetAbiRequest ¶
type GetAbiRequest struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` AtBlockNum uint32 `protobuf:"varint,4,opt,name=atBlockNum,proto3" json:"atBlockNum,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetAbiRequest) Descriptor ¶
func (*GetAbiRequest) Descriptor() ([]byte, []int)
func (*GetAbiRequest) GetAccount ¶
func (m *GetAbiRequest) GetAccount() string
func (*GetAbiRequest) GetAtBlockNum ¶
func (m *GetAbiRequest) GetAtBlockNum() uint32
func (*GetAbiRequest) ProtoMessage ¶
func (*GetAbiRequest) ProtoMessage()
func (*GetAbiRequest) Reset ¶
func (m *GetAbiRequest) Reset()
func (*GetAbiRequest) String ¶
func (m *GetAbiRequest) String() string
func (*GetAbiRequest) XXX_DiscardUnknown ¶
func (m *GetAbiRequest) XXX_DiscardUnknown()
func (*GetAbiRequest) XXX_Marshal ¶
func (m *GetAbiRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAbiRequest) XXX_Merge ¶
func (m *GetAbiRequest) XXX_Merge(src proto.Message)
func (*GetAbiRequest) XXX_Size ¶
func (m *GetAbiRequest) XXX_Size() int
func (*GetAbiRequest) XXX_Unmarshal ¶
func (m *GetAbiRequest) XXX_Unmarshal(b []byte) error
type Response ¶
type Response struct { AbiBlockNum uint32 `protobuf:"varint,1,opt,name=abiBlockNum,proto3" json:"abiBlockNum,omitempty"` JsonPayload string `protobuf:"bytes,2,opt,name=jsonPayload,proto3" json:"jsonPayload,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Response) Descriptor ¶
func (*Response) GetAbiBlockNum ¶
func (*Response) GetJsonPayload ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) XXX_DiscardUnknown ¶
func (m *Response) XXX_DiscardUnknown()
func (*Response) XXX_Marshal ¶
func (*Response) XXX_Unmarshal ¶
type UnimplementedDecoderServer ¶
type UnimplementedDecoderServer struct { }
UnimplementedDecoderServer can be embedded to have forward compatible implementations.
func (*UnimplementedDecoderServer) DecodeAction ¶
func (*UnimplementedDecoderServer) DecodeAction(ctx context.Context, req *DecodeActionRequest) (*Response, error)
func (*UnimplementedDecoderServer) DecodeTable ¶
func (*UnimplementedDecoderServer) DecodeTable(ctx context.Context, req *DecodeTableRequest) (*Response, error)
func (*UnimplementedDecoderServer) GetAbi ¶
func (*UnimplementedDecoderServer) GetAbi(ctx context.Context, req *GetAbiRequest) (*Response, error)
Click to show internal directories.
Click to hide internal directories.