Documentation ¶
Index ¶
- Variables
- func ExecuteBlockWithTxs(app *baseapp.BaseApp, numTransactions int, blockHeight int64, r *rand.Rand) (*types.Block, error)
- func NewTestApp() (*baseapp.BaseApp, error)
- func RegisterInterfaces(registry codectypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- type MsgClient
- type MsgGet
- func (*MsgGet) Descriptor() ([]byte, []int)
- func (m *MsgGet) GetKey() []byte
- func (msg *MsgGet) GetSigners() []sdk.AccAddress
- func (m *MsgGet) Marshal() (dAtA []byte, err error)
- func (m *MsgGet) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgGet) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgGet) ProtoMessage()
- func (m *MsgGet) Reset()
- func (m *MsgGet) Size() (n int)
- func (m *MsgGet) String() string
- func (m *MsgGet) Unmarshal(dAtA []byte) error
- func (msg *MsgGet) ValidateBasic() error
- func (m *MsgGet) XXX_DiscardUnknown()
- func (m *MsgGet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgGet) XXX_Merge(src proto.Message)
- func (m *MsgGet) XXX_Size() int
- func (m *MsgGet) XXX_Unmarshal(b []byte) error
- type MsgGetResponse
- func (*MsgGetResponse) Descriptor() ([]byte, []int)
- func (m *MsgGetResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgGetResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgGetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgGetResponse) ProtoMessage()
- func (m *MsgGetResponse) Reset()
- func (m *MsgGetResponse) Size() (n int)
- func (m *MsgGetResponse) String() string
- func (m *MsgGetResponse) Unmarshal(dAtA []byte) error
- func (m *MsgGetResponse) XXX_DiscardUnknown()
- func (m *MsgGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgGetResponse) XXX_Merge(src proto.Message)
- func (m *MsgGetResponse) XXX_Size() int
- func (m *MsgGetResponse) XXX_Unmarshal(b []byte) error
- type MsgRemove
- func (*MsgRemove) Descriptor() ([]byte, []int)
- func (m *MsgRemove) GetKey() []byte
- func (msg *MsgRemove) GetSigners() []sdk.AccAddress
- func (m *MsgRemove) Marshal() (dAtA []byte, err error)
- func (m *MsgRemove) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemove) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemove) ProtoMessage()
- func (m *MsgRemove) Reset()
- func (m *MsgRemove) Size() (n int)
- func (m *MsgRemove) String() string
- func (m *MsgRemove) Unmarshal(dAtA []byte) error
- func (msg *MsgRemove) ValidateBasic() error
- func (m *MsgRemove) XXX_DiscardUnknown()
- func (m *MsgRemove) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemove) XXX_Merge(src proto.Message)
- func (m *MsgRemove) XXX_Size() int
- func (m *MsgRemove) XXX_Unmarshal(b []byte) error
- type MsgRemoveResponse
- func (*MsgRemoveResponse) Descriptor() ([]byte, []int)
- func (m *MsgRemoveResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveResponse) ProtoMessage()
- func (m *MsgRemoveResponse) Reset()
- func (m *MsgRemoveResponse) Size() (n int)
- func (m *MsgRemoveResponse) String() string
- func (m *MsgRemoveResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRemoveResponse) XXX_DiscardUnknown()
- func (m *MsgRemoveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveResponse) XXX_Merge(src proto.Message)
- func (m *MsgRemoveResponse) XXX_Size() int
- func (m *MsgRemoveResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgServerImpl
- type MsgSet
- func (*MsgSet) Descriptor() ([]byte, []int)
- func (m *MsgSet) GetKey() []byte
- func (msg *MsgSet) GetSigners() []sdk.AccAddress
- func (m *MsgSet) GetValue() []byte
- func (m *MsgSet) Marshal() (dAtA []byte, err error)
- func (m *MsgSet) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSet) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSet) ProtoMessage()
- func (m *MsgSet) Reset()
- func (m *MsgSet) Size() (n int)
- func (m *MsgSet) String() string
- func (m *MsgSet) Unmarshal(dAtA []byte) error
- func (msg *MsgSet) ValidateBasic() error
- func (m *MsgSet) XXX_DiscardUnknown()
- func (m *MsgSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSet) XXX_Merge(src proto.Message)
- func (m *MsgSet) XXX_Size() int
- func (m *MsgSet) XXX_Unmarshal(b []byte) error
- type MsgSetResponse
- func (*MsgSetResponse) Descriptor() ([]byte, []int)
- func (m *MsgSetResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSetResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetResponse) ProtoMessage()
- func (m *MsgSetResponse) Reset()
- func (m *MsgSetResponse) Size() (n int)
- func (m *MsgSetResponse) String() string
- func (m *MsgSetResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSetResponse) XXX_DiscardUnknown()
- func (m *MsgSetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetResponse) XXX_Merge(src proto.Message)
- func (m *MsgSetResponse) XXX_Size() int
- func (m *MsgSetResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ExecuteBlockWithTxs ¶
func NewTestApp ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registry codectypes.InterfaceRegistry)
func RegisterMsgServer ¶
Types ¶
type MsgClient ¶
type MsgClient interface { Get(ctx context.Context, in *MsgGet, opts ...grpc.CallOption) (*MsgGetResponse, error) Set(ctx context.Context, in *MsgSet, opts ...grpc.CallOption) (*MsgSetResponse, error) Remove(ctx context.Context, in *MsgRemove, opts ...grpc.CallOption) (*MsgRemoveResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgGet ¶
type MsgGet struct {
Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
}
func (*MsgGet) Descriptor ¶
func (*MsgGet) GetSigners ¶
func (msg *MsgGet) GetSigners() []sdk.AccAddress
func (*MsgGet) MarshalToSizedBuffer ¶
func (*MsgGet) ProtoMessage ¶
func (*MsgGet) ProtoMessage()
func (*MsgGet) ValidateBasic ¶
func (*MsgGet) XXX_DiscardUnknown ¶
func (m *MsgGet) XXX_DiscardUnknown()
func (*MsgGet) XXX_Marshal ¶
func (*MsgGet) XXX_Unmarshal ¶
type MsgGetResponse ¶
type MsgGetResponse struct { }
func (*MsgGetResponse) Descriptor ¶
func (*MsgGetResponse) Descriptor() ([]byte, []int)
func (*MsgGetResponse) Marshal ¶
func (m *MsgGetResponse) Marshal() (dAtA []byte, err error)
func (*MsgGetResponse) MarshalToSizedBuffer ¶
func (m *MsgGetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgGetResponse) ProtoMessage ¶
func (*MsgGetResponse) ProtoMessage()
func (*MsgGetResponse) Reset ¶
func (m *MsgGetResponse) Reset()
func (*MsgGetResponse) Size ¶
func (m *MsgGetResponse) Size() (n int)
func (*MsgGetResponse) String ¶
func (m *MsgGetResponse) String() string
func (*MsgGetResponse) Unmarshal ¶
func (m *MsgGetResponse) Unmarshal(dAtA []byte) error
func (*MsgGetResponse) XXX_DiscardUnknown ¶
func (m *MsgGetResponse) XXX_DiscardUnknown()
func (*MsgGetResponse) XXX_Marshal ¶
func (m *MsgGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgGetResponse) XXX_Merge ¶
func (m *MsgGetResponse) XXX_Merge(src proto.Message)
func (*MsgGetResponse) XXX_Size ¶
func (m *MsgGetResponse) XXX_Size() int
func (*MsgGetResponse) XXX_Unmarshal ¶
func (m *MsgGetResponse) XXX_Unmarshal(b []byte) error
type MsgRemove ¶
type MsgRemove struct {
Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
}
func (*MsgRemove) Descriptor ¶
func (*MsgRemove) GetSigners ¶
func (msg *MsgRemove) GetSigners() []sdk.AccAddress
func (*MsgRemove) MarshalToSizedBuffer ¶
func (*MsgRemove) ProtoMessage ¶
func (*MsgRemove) ProtoMessage()
func (*MsgRemove) ValidateBasic ¶
func (*MsgRemove) XXX_DiscardUnknown ¶
func (m *MsgRemove) XXX_DiscardUnknown()
func (*MsgRemove) XXX_Marshal ¶
func (*MsgRemove) XXX_Unmarshal ¶
type MsgRemoveResponse ¶
type MsgRemoveResponse struct { }
func (*MsgRemoveResponse) Descriptor ¶
func (*MsgRemoveResponse) Descriptor() ([]byte, []int)
func (*MsgRemoveResponse) Marshal ¶
func (m *MsgRemoveResponse) Marshal() (dAtA []byte, err error)
func (*MsgRemoveResponse) MarshalTo ¶
func (m *MsgRemoveResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveResponse) MarshalToSizedBuffer ¶
func (m *MsgRemoveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveResponse) ProtoMessage ¶
func (*MsgRemoveResponse) ProtoMessage()
func (*MsgRemoveResponse) Reset ¶
func (m *MsgRemoveResponse) Reset()
func (*MsgRemoveResponse) Size ¶
func (m *MsgRemoveResponse) Size() (n int)
func (*MsgRemoveResponse) String ¶
func (m *MsgRemoveResponse) String() string
func (*MsgRemoveResponse) Unmarshal ¶
func (m *MsgRemoveResponse) Unmarshal(dAtA []byte) error
func (*MsgRemoveResponse) XXX_DiscardUnknown ¶
func (m *MsgRemoveResponse) XXX_DiscardUnknown()
func (*MsgRemoveResponse) XXX_Marshal ¶
func (m *MsgRemoveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveResponse) XXX_Merge ¶
func (m *MsgRemoveResponse) XXX_Merge(src proto.Message)
func (*MsgRemoveResponse) XXX_Size ¶
func (m *MsgRemoveResponse) XXX_Size() int
func (*MsgRemoveResponse) XXX_Unmarshal ¶
func (m *MsgRemoveResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { Get(context.Context, *MsgGet) (*MsgGetResponse, error) Set(context.Context, *MsgSet) (*MsgSetResponse, error) Remove(context.Context, *MsgRemove) (*MsgRemoveResponse, error) }
MsgServer is the server API for Msg service.
type MsgServerImpl ¶
type MsgServerImpl struct{}
func (MsgServerImpl) Get ¶
func (m MsgServerImpl) Get(c context.Context, msg *MsgGet) (*MsgGetResponse, error)
func (MsgServerImpl) Remove ¶
func (m MsgServerImpl) Remove(c context.Context, msg *MsgRemove) (*MsgRemoveResponse, error)
func (MsgServerImpl) Set ¶
func (m MsgServerImpl) Set(c context.Context, msg *MsgSet) (*MsgSetResponse, error)
type MsgSet ¶
type MsgSet struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` }
func (*MsgSet) Descriptor ¶
func (*MsgSet) GetSigners ¶
func (msg *MsgSet) GetSigners() []sdk.AccAddress
func (*MsgSet) MarshalToSizedBuffer ¶
func (*MsgSet) ProtoMessage ¶
func (*MsgSet) ProtoMessage()
func (*MsgSet) ValidateBasic ¶
func (*MsgSet) XXX_DiscardUnknown ¶
func (m *MsgSet) XXX_DiscardUnknown()
func (*MsgSet) XXX_Marshal ¶
func (*MsgSet) XXX_Unmarshal ¶
type MsgSetResponse ¶
type MsgSetResponse struct { }
func (*MsgSetResponse) Descriptor ¶
func (*MsgSetResponse) Descriptor() ([]byte, []int)
func (*MsgSetResponse) Marshal ¶
func (m *MsgSetResponse) Marshal() (dAtA []byte, err error)
func (*MsgSetResponse) MarshalToSizedBuffer ¶
func (m *MsgSetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetResponse) ProtoMessage ¶
func (*MsgSetResponse) ProtoMessage()
func (*MsgSetResponse) Reset ¶
func (m *MsgSetResponse) Reset()
func (*MsgSetResponse) Size ¶
func (m *MsgSetResponse) Size() (n int)
func (*MsgSetResponse) String ¶
func (m *MsgSetResponse) String() string
func (*MsgSetResponse) Unmarshal ¶
func (m *MsgSetResponse) Unmarshal(dAtA []byte) error
func (*MsgSetResponse) XXX_DiscardUnknown ¶
func (m *MsgSetResponse) XXX_DiscardUnknown()
func (*MsgSetResponse) XXX_Marshal ¶
func (m *MsgSetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetResponse) XXX_Merge ¶
func (m *MsgSetResponse) XXX_Merge(src proto.Message)
func (*MsgSetResponse) XXX_Size ¶
func (m *MsgSetResponse) XXX_Size() int
func (*MsgSetResponse) XXX_Unmarshal ¶
func (m *MsgSetResponse) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) Get ¶
func (*UnimplementedMsgServer) Get(ctx context.Context, req *MsgGet) (*MsgGetResponse, error)
func (*UnimplementedMsgServer) Remove ¶
func (*UnimplementedMsgServer) Remove(ctx context.Context, req *MsgRemove) (*MsgRemoveResponse, error)
func (*UnimplementedMsgServer) Set ¶
func (*UnimplementedMsgServer) Set(ctx context.Context, req *MsgSet) (*MsgSetResponse, error)
Click to show internal directories.
Click to hide internal directories.