types

package
v0.0.0-...-42f099e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2024 License: BSD-3-Clause Imports: 29 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// KvzooKeyPrefix is the prefix to retrieve all Kvzoo
	KvzooKeyPrefix  = "Kvzoo/value/"
	KvzooLinkPrefix = "Kvzoo/link/"
)
View Source
const (
	// ModuleName defines the module name
	ModuleName = "zoo"

	// StoreKey defines the primary module store key
	StoreKey = ModuleName

	// RouterKey defines the module's message routing key
	RouterKey = ModuleName

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_zoo"
)
View Source
const (
	TypeMsgCreateKvzoo = "create_kvzoo"
	TypeMsgUpdateKvzoo = "update_kvzoo"
	TypeMsgDeleteKvzoo = "delete_kvzoo"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default global index

Variables

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthKvzoo        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowKvzoo          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupKvzoo = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error")
)

x/zoo module sentinel errors

Functions

func KeyPrefix

func KeyPrefix(p string) []byte

func KvzooKey

func KvzooKey(
	owner string,
	zooKey string,
) []byte

KvzooKey returns the store key to retrieve a Kvzoo from the index fields

func KvzooOwnerLinkKey

func KvzooOwnerLinkKey(owner string) []byte

生成 链表头 key

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI
}

AccountKeeper defines the expected account keeper used for simulations (noalias)

type BankKeeper

type BankKeeper interface {
	SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
}

BankKeeper defines the expected interface needed to retrieve account balances.

type GanymedeKeeper

type GanymedeKeeper interface {
}

type GenesisState

type GenesisState struct {
	Params    Params  `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	KvzooList []Kvzoo `protobuf:"bytes,2,rep,name=kvzooList,proto3" json:"kvzooList"`
}

GenesisState defines the zoo module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default genesis state

func (*GenesisState) Descriptor

func (*GenesisState) Descriptor() ([]byte, []int)

func (*GenesisState) GetKvzooList

func (m *GenesisState) GetKvzooList() []Kvzoo

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

func (m *GenesisState) Size() (n int)

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (GenesisState) Validate

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisState) XXX_Merge

func (m *GenesisState) XXX_Merge(src proto.Message)

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

func (m *GenesisState) XXX_Unmarshal(b []byte) error

type Kvzoo

type Kvzoo struct {
	Owner     string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	ZooKey    string `protobuf:"bytes,2,opt,name=zooKey,proto3" json:"zooKey,omitempty"`
	ZooValue  string `protobuf:"bytes,3,opt,name=zooValue,proto3" json:"zooValue,omitempty"`
	LastDate  string `protobuf:"bytes,4,opt,name=lastDate,proto3" json:"lastDate,omitempty"`
	LinkOwner string `protobuf:"bytes,5,opt,name=linkOwner,proto3" json:"linkOwner,omitempty"`
	Creator   string `protobuf:"bytes,6,opt,name=creator,proto3" json:"creator,omitempty"`
}

func (*Kvzoo) Descriptor

func (*Kvzoo) Descriptor() ([]byte, []int)

func (*Kvzoo) GetCreator

func (m *Kvzoo) GetCreator() string

func (*Kvzoo) GetLastDate

func (m *Kvzoo) GetLastDate() string

func (*Kvzoo) GetLinkOwner

func (m *Kvzoo) GetLinkOwner() string

func (*Kvzoo) GetOwner

func (m *Kvzoo) GetOwner() string

func (*Kvzoo) GetZooKey

func (m *Kvzoo) GetZooKey() string

func (*Kvzoo) GetZooValue

func (m *Kvzoo) GetZooValue() string

func (*Kvzoo) Marshal

func (m *Kvzoo) Marshal() (dAtA []byte, err error)

func (*Kvzoo) MarshalTo

func (m *Kvzoo) MarshalTo(dAtA []byte) (int, error)

func (*Kvzoo) MarshalToSizedBuffer

func (m *Kvzoo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Kvzoo) ProtoMessage

func (*Kvzoo) ProtoMessage()

func (*Kvzoo) Reset

func (m *Kvzoo) Reset()

func (*Kvzoo) Size

func (m *Kvzoo) Size() (n int)

func (*Kvzoo) String

func (m *Kvzoo) String() string

func (*Kvzoo) Unmarshal

func (m *Kvzoo) Unmarshal(dAtA []byte) error

func (*Kvzoo) XXX_DiscardUnknown

func (m *Kvzoo) XXX_DiscardUnknown()

func (*Kvzoo) XXX_Marshal

func (m *Kvzoo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Kvzoo) XXX_Merge

func (m *Kvzoo) XXX_Merge(src proto.Message)

func (*Kvzoo) XXX_Size

func (m *Kvzoo) XXX_Size() int

func (*Kvzoo) XXX_Unmarshal

func (m *Kvzoo) XXX_Unmarshal(b []byte) error

type MsgClient

type MsgClient interface {
	CreateKvzoo(ctx context.Context, in *MsgCreateKvzoo, opts ...grpc.CallOption) (*MsgCreateKvzooResponse, error)
	UpdateKvzoo(ctx context.Context, in *MsgUpdateKvzoo, opts ...grpc.CallOption) (*MsgUpdateKvzooResponse, error)
	DeleteKvzoo(ctx context.Context, in *MsgDeleteKvzoo, opts ...grpc.CallOption) (*MsgDeleteKvzooResponse, 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 MsgCreateKvzoo

type MsgCreateKvzoo struct {
	Creator   string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Owner     string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	ZooKey    string `protobuf:"bytes,3,opt,name=zooKey,proto3" json:"zooKey,omitempty"`
	ZooValue  string `protobuf:"bytes,4,opt,name=zooValue,proto3" json:"zooValue,omitempty"`
	LastDate  string `protobuf:"bytes,5,opt,name=lastDate,proto3" json:"lastDate,omitempty"`
	LinkOwner string `protobuf:"bytes,6,opt,name=linkOwner,proto3" json:"linkOwner,omitempty"`
}

func NewMsgCreateKvzoo

func NewMsgCreateKvzoo(
	creator string,
	owner string,
	zooKey string,
	zooValue string,
	lastDate string,
	linkOwner string,

) *MsgCreateKvzoo

func (*MsgCreateKvzoo) Descriptor

func (*MsgCreateKvzoo) Descriptor() ([]byte, []int)

func (*MsgCreateKvzoo) GetCreator

func (m *MsgCreateKvzoo) GetCreator() string

func (*MsgCreateKvzoo) GetLastDate

func (m *MsgCreateKvzoo) GetLastDate() string

func (*MsgCreateKvzoo) GetLinkOwner

func (m *MsgCreateKvzoo) GetLinkOwner() string

func (*MsgCreateKvzoo) GetOwner

func (m *MsgCreateKvzoo) GetOwner() string

func (*MsgCreateKvzoo) GetSignBytes

func (msg *MsgCreateKvzoo) GetSignBytes() []byte

func (*MsgCreateKvzoo) GetSigners

func (msg *MsgCreateKvzoo) GetSigners() []sdk.AccAddress

func (*MsgCreateKvzoo) GetZooKey

func (m *MsgCreateKvzoo) GetZooKey() string

func (*MsgCreateKvzoo) GetZooValue

func (m *MsgCreateKvzoo) GetZooValue() string

func (*MsgCreateKvzoo) Marshal

func (m *MsgCreateKvzoo) Marshal() (dAtA []byte, err error)

func (*MsgCreateKvzoo) MarshalTo

func (m *MsgCreateKvzoo) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateKvzoo) MarshalToSizedBuffer

func (m *MsgCreateKvzoo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateKvzoo) ProtoMessage

func (*MsgCreateKvzoo) ProtoMessage()

func (*MsgCreateKvzoo) Reset

func (m *MsgCreateKvzoo) Reset()

func (*MsgCreateKvzoo) Route

func (msg *MsgCreateKvzoo) Route() string

func (*MsgCreateKvzoo) Size

func (m *MsgCreateKvzoo) Size() (n int)

func (*MsgCreateKvzoo) String

func (m *MsgCreateKvzoo) String() string

func (*MsgCreateKvzoo) Type

func (msg *MsgCreateKvzoo) Type() string

func (*MsgCreateKvzoo) Unmarshal

func (m *MsgCreateKvzoo) Unmarshal(dAtA []byte) error

func (*MsgCreateKvzoo) ValidateBasic

func (msg *MsgCreateKvzoo) ValidateBasic() error

func (*MsgCreateKvzoo) XXX_DiscardUnknown

func (m *MsgCreateKvzoo) XXX_DiscardUnknown()

func (*MsgCreateKvzoo) XXX_Marshal

func (m *MsgCreateKvzoo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateKvzoo) XXX_Merge

func (m *MsgCreateKvzoo) XXX_Merge(src proto.Message)

func (*MsgCreateKvzoo) XXX_Size

func (m *MsgCreateKvzoo) XXX_Size() int

func (*MsgCreateKvzoo) XXX_Unmarshal

func (m *MsgCreateKvzoo) XXX_Unmarshal(b []byte) error

type MsgCreateKvzooResponse

type MsgCreateKvzooResponse struct {
}

func (*MsgCreateKvzooResponse) Descriptor

func (*MsgCreateKvzooResponse) Descriptor() ([]byte, []int)

func (*MsgCreateKvzooResponse) Marshal

func (m *MsgCreateKvzooResponse) Marshal() (dAtA []byte, err error)

func (*MsgCreateKvzooResponse) MarshalTo

func (m *MsgCreateKvzooResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateKvzooResponse) MarshalToSizedBuffer

func (m *MsgCreateKvzooResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateKvzooResponse) ProtoMessage

func (*MsgCreateKvzooResponse) ProtoMessage()

func (*MsgCreateKvzooResponse) Reset

func (m *MsgCreateKvzooResponse) Reset()

func (*MsgCreateKvzooResponse) Size

func (m *MsgCreateKvzooResponse) Size() (n int)

func (*MsgCreateKvzooResponse) String

func (m *MsgCreateKvzooResponse) String() string

func (*MsgCreateKvzooResponse) Unmarshal

func (m *MsgCreateKvzooResponse) Unmarshal(dAtA []byte) error

func (*MsgCreateKvzooResponse) XXX_DiscardUnknown

func (m *MsgCreateKvzooResponse) XXX_DiscardUnknown()

func (*MsgCreateKvzooResponse) XXX_Marshal

func (m *MsgCreateKvzooResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateKvzooResponse) XXX_Merge

func (m *MsgCreateKvzooResponse) XXX_Merge(src proto.Message)

func (*MsgCreateKvzooResponse) XXX_Size

func (m *MsgCreateKvzooResponse) XXX_Size() int

func (*MsgCreateKvzooResponse) XXX_Unmarshal

func (m *MsgCreateKvzooResponse) XXX_Unmarshal(b []byte) error

type MsgDeleteKvzoo

type MsgDeleteKvzoo struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Owner   string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	ZooKey  string `protobuf:"bytes,3,opt,name=zooKey,proto3" json:"zooKey,omitempty"`
}

func NewMsgDeleteKvzoo

func NewMsgDeleteKvzoo(
	creator string,
	owner string,
	zooKey string,

) *MsgDeleteKvzoo

func (*MsgDeleteKvzoo) Descriptor

func (*MsgDeleteKvzoo) Descriptor() ([]byte, []int)

func (*MsgDeleteKvzoo) GetCreator

func (m *MsgDeleteKvzoo) GetCreator() string

func (*MsgDeleteKvzoo) GetOwner

func (m *MsgDeleteKvzoo) GetOwner() string

func (*MsgDeleteKvzoo) GetSignBytes

func (msg *MsgDeleteKvzoo) GetSignBytes() []byte

func (*MsgDeleteKvzoo) GetSigners

func (msg *MsgDeleteKvzoo) GetSigners() []sdk.AccAddress

func (*MsgDeleteKvzoo) GetZooKey

func (m *MsgDeleteKvzoo) GetZooKey() string

func (*MsgDeleteKvzoo) Marshal

func (m *MsgDeleteKvzoo) Marshal() (dAtA []byte, err error)

func (*MsgDeleteKvzoo) MarshalTo

func (m *MsgDeleteKvzoo) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeleteKvzoo) MarshalToSizedBuffer

func (m *MsgDeleteKvzoo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeleteKvzoo) ProtoMessage

func (*MsgDeleteKvzoo) ProtoMessage()

func (*MsgDeleteKvzoo) Reset

func (m *MsgDeleteKvzoo) Reset()

func (*MsgDeleteKvzoo) Route

func (msg *MsgDeleteKvzoo) Route() string

func (*MsgDeleteKvzoo) Size

func (m *MsgDeleteKvzoo) Size() (n int)

func (*MsgDeleteKvzoo) String

func (m *MsgDeleteKvzoo) String() string

func (*MsgDeleteKvzoo) Type

func (msg *MsgDeleteKvzoo) Type() string

func (*MsgDeleteKvzoo) Unmarshal

func (m *MsgDeleteKvzoo) Unmarshal(dAtA []byte) error

func (*MsgDeleteKvzoo) ValidateBasic

func (msg *MsgDeleteKvzoo) ValidateBasic() error

func (*MsgDeleteKvzoo) XXX_DiscardUnknown

func (m *MsgDeleteKvzoo) XXX_DiscardUnknown()

func (*MsgDeleteKvzoo) XXX_Marshal

func (m *MsgDeleteKvzoo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDeleteKvzoo) XXX_Merge

func (m *MsgDeleteKvzoo) XXX_Merge(src proto.Message)

func (*MsgDeleteKvzoo) XXX_Size

func (m *MsgDeleteKvzoo) XXX_Size() int

func (*MsgDeleteKvzoo) XXX_Unmarshal

func (m *MsgDeleteKvzoo) XXX_Unmarshal(b []byte) error

type MsgDeleteKvzooResponse

type MsgDeleteKvzooResponse struct {
}

func (*MsgDeleteKvzooResponse) Descriptor

func (*MsgDeleteKvzooResponse) Descriptor() ([]byte, []int)

func (*MsgDeleteKvzooResponse) Marshal

func (m *MsgDeleteKvzooResponse) Marshal() (dAtA []byte, err error)

func (*MsgDeleteKvzooResponse) MarshalTo

func (m *MsgDeleteKvzooResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeleteKvzooResponse) MarshalToSizedBuffer

func (m *MsgDeleteKvzooResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeleteKvzooResponse) ProtoMessage

func (*MsgDeleteKvzooResponse) ProtoMessage()

func (*MsgDeleteKvzooResponse) Reset

func (m *MsgDeleteKvzooResponse) Reset()

func (*MsgDeleteKvzooResponse) Size

func (m *MsgDeleteKvzooResponse) Size() (n int)

func (*MsgDeleteKvzooResponse) String

func (m *MsgDeleteKvzooResponse) String() string

func (*MsgDeleteKvzooResponse) Unmarshal

func (m *MsgDeleteKvzooResponse) Unmarshal(dAtA []byte) error

func (*MsgDeleteKvzooResponse) XXX_DiscardUnknown

func (m *MsgDeleteKvzooResponse) XXX_DiscardUnknown()

func (*MsgDeleteKvzooResponse) XXX_Marshal

func (m *MsgDeleteKvzooResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDeleteKvzooResponse) XXX_Merge

func (m *MsgDeleteKvzooResponse) XXX_Merge(src proto.Message)

func (*MsgDeleteKvzooResponse) XXX_Size

func (m *MsgDeleteKvzooResponse) XXX_Size() int

func (*MsgDeleteKvzooResponse) XXX_Unmarshal

func (m *MsgDeleteKvzooResponse) XXX_Unmarshal(b []byte) error

type MsgServer

MsgServer is the server API for Msg service.

type MsgUpdateKvzoo

type MsgUpdateKvzoo struct {
	Creator   string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Owner     string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	ZooKey    string `protobuf:"bytes,3,opt,name=zooKey,proto3" json:"zooKey,omitempty"`
	ZooValue  string `protobuf:"bytes,4,opt,name=zooValue,proto3" json:"zooValue,omitempty"`
	LastDate  string `protobuf:"bytes,5,opt,name=lastDate,proto3" json:"lastDate,omitempty"`
	LinkOwner string `protobuf:"bytes,6,opt,name=linkOwner,proto3" json:"linkOwner,omitempty"`
}

func NewMsgUpdateKvzoo

func NewMsgUpdateKvzoo(
	creator string,
	owner string,
	zooKey string,
	zooValue string,
	lastDate string,
	linkOwner string,

) *MsgUpdateKvzoo

func (*MsgUpdateKvzoo) Descriptor

func (*MsgUpdateKvzoo) Descriptor() ([]byte, []int)

func (*MsgUpdateKvzoo) GetCreator

func (m *MsgUpdateKvzoo) GetCreator() string

func (*MsgUpdateKvzoo) GetLastDate

func (m *MsgUpdateKvzoo) GetLastDate() string

func (*MsgUpdateKvzoo) GetLinkOwner

func (m *MsgUpdateKvzoo) GetLinkOwner() string

func (*MsgUpdateKvzoo) GetOwner

func (m *MsgUpdateKvzoo) GetOwner() string

func (*MsgUpdateKvzoo) GetSignBytes

func (msg *MsgUpdateKvzoo) GetSignBytes() []byte

func (*MsgUpdateKvzoo) GetSigners

func (msg *MsgUpdateKvzoo) GetSigners() []sdk.AccAddress

func (*MsgUpdateKvzoo) GetZooKey

func (m *MsgUpdateKvzoo) GetZooKey() string

func (*MsgUpdateKvzoo) GetZooValue

func (m *MsgUpdateKvzoo) GetZooValue() string

func (*MsgUpdateKvzoo) Marshal

func (m *MsgUpdateKvzoo) Marshal() (dAtA []byte, err error)

func (*MsgUpdateKvzoo) MarshalTo

func (m *MsgUpdateKvzoo) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateKvzoo) MarshalToSizedBuffer

func (m *MsgUpdateKvzoo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateKvzoo) ProtoMessage

func (*MsgUpdateKvzoo) ProtoMessage()

func (*MsgUpdateKvzoo) Reset

func (m *MsgUpdateKvzoo) Reset()

func (*MsgUpdateKvzoo) Route

func (msg *MsgUpdateKvzoo) Route() string

func (*MsgUpdateKvzoo) Size

func (m *MsgUpdateKvzoo) Size() (n int)

func (*MsgUpdateKvzoo) String

func (m *MsgUpdateKvzoo) String() string

func (*MsgUpdateKvzoo) Type

func (msg *MsgUpdateKvzoo) Type() string

func (*MsgUpdateKvzoo) Unmarshal

func (m *MsgUpdateKvzoo) Unmarshal(dAtA []byte) error

func (*MsgUpdateKvzoo) ValidateBasic

func (msg *MsgUpdateKvzoo) ValidateBasic() error

func (*MsgUpdateKvzoo) XXX_DiscardUnknown

func (m *MsgUpdateKvzoo) XXX_DiscardUnknown()

func (*MsgUpdateKvzoo) XXX_Marshal

func (m *MsgUpdateKvzoo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateKvzoo) XXX_Merge

func (m *MsgUpdateKvzoo) XXX_Merge(src proto.Message)

func (*MsgUpdateKvzoo) XXX_Size

func (m *MsgUpdateKvzoo) XXX_Size() int

func (*MsgUpdateKvzoo) XXX_Unmarshal

func (m *MsgUpdateKvzoo) XXX_Unmarshal(b []byte) error

type MsgUpdateKvzooResponse

type MsgUpdateKvzooResponse struct {
}

func (*MsgUpdateKvzooResponse) Descriptor

func (*MsgUpdateKvzooResponse) Descriptor() ([]byte, []int)

func (*MsgUpdateKvzooResponse) Marshal

func (m *MsgUpdateKvzooResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateKvzooResponse) MarshalTo

func (m *MsgUpdateKvzooResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateKvzooResponse) MarshalToSizedBuffer

func (m *MsgUpdateKvzooResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateKvzooResponse) ProtoMessage

func (*MsgUpdateKvzooResponse) ProtoMessage()

func (*MsgUpdateKvzooResponse) Reset

func (m *MsgUpdateKvzooResponse) Reset()

func (*MsgUpdateKvzooResponse) Size

func (m *MsgUpdateKvzooResponse) Size() (n int)

func (*MsgUpdateKvzooResponse) String

func (m *MsgUpdateKvzooResponse) String() string

func (*MsgUpdateKvzooResponse) Unmarshal

func (m *MsgUpdateKvzooResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateKvzooResponse) XXX_DiscardUnknown

func (m *MsgUpdateKvzooResponse) XXX_DiscardUnknown()

func (*MsgUpdateKvzooResponse) XXX_Marshal

func (m *MsgUpdateKvzooResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateKvzooResponse) XXX_Merge

func (m *MsgUpdateKvzooResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateKvzooResponse) XXX_Size

func (m *MsgUpdateKvzooResponse) XXX_Size() int

func (*MsgUpdateKvzooResponse) XXX_Unmarshal

func (m *MsgUpdateKvzooResponse) XXX_Unmarshal(b []byte) error

type Params

type Params struct {
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams() Params

NewParams creates a new Params instance

func (*Params) Descriptor

func (*Params) Descriptor() ([]byte, []int)

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs get the params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (Params) String

func (p Params) String() string

String implements the Stringer interface.

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

type QueryAllKvzooRequest

type QueryAllKvzooRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllKvzooRequest) Descriptor

func (*QueryAllKvzooRequest) Descriptor() ([]byte, []int)

func (*QueryAllKvzooRequest) GetPagination

func (m *QueryAllKvzooRequest) GetPagination() *query.PageRequest

func (*QueryAllKvzooRequest) Marshal

func (m *QueryAllKvzooRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllKvzooRequest) MarshalTo

func (m *QueryAllKvzooRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllKvzooRequest) MarshalToSizedBuffer

func (m *QueryAllKvzooRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllKvzooRequest) ProtoMessage

func (*QueryAllKvzooRequest) ProtoMessage()

func (*QueryAllKvzooRequest) Reset

func (m *QueryAllKvzooRequest) Reset()

func (*QueryAllKvzooRequest) Size

func (m *QueryAllKvzooRequest) Size() (n int)

func (*QueryAllKvzooRequest) String

func (m *QueryAllKvzooRequest) String() string

func (*QueryAllKvzooRequest) Unmarshal

func (m *QueryAllKvzooRequest) Unmarshal(dAtA []byte) error

func (*QueryAllKvzooRequest) XXX_DiscardUnknown

func (m *QueryAllKvzooRequest) XXX_DiscardUnknown()

func (*QueryAllKvzooRequest) XXX_Marshal

func (m *QueryAllKvzooRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllKvzooRequest) XXX_Merge

func (m *QueryAllKvzooRequest) XXX_Merge(src proto.Message)

func (*QueryAllKvzooRequest) XXX_Size

func (m *QueryAllKvzooRequest) XXX_Size() int

func (*QueryAllKvzooRequest) XXX_Unmarshal

func (m *QueryAllKvzooRequest) XXX_Unmarshal(b []byte) error

type QueryAllKvzooResponse

type QueryAllKvzooResponse struct {
	Kvzoo      []Kvzoo             `protobuf:"bytes,1,rep,name=kvzoo,proto3" json:"kvzoo"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllKvzooResponse) Descriptor

func (*QueryAllKvzooResponse) Descriptor() ([]byte, []int)

func (*QueryAllKvzooResponse) GetKvzoo

func (m *QueryAllKvzooResponse) GetKvzoo() []Kvzoo

func (*QueryAllKvzooResponse) GetPagination

func (m *QueryAllKvzooResponse) GetPagination() *query.PageResponse

func (*QueryAllKvzooResponse) Marshal

func (m *QueryAllKvzooResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllKvzooResponse) MarshalTo

func (m *QueryAllKvzooResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllKvzooResponse) MarshalToSizedBuffer

func (m *QueryAllKvzooResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllKvzooResponse) ProtoMessage

func (*QueryAllKvzooResponse) ProtoMessage()

func (*QueryAllKvzooResponse) Reset

func (m *QueryAllKvzooResponse) Reset()

func (*QueryAllKvzooResponse) Size

func (m *QueryAllKvzooResponse) Size() (n int)

func (*QueryAllKvzooResponse) String

func (m *QueryAllKvzooResponse) String() string

func (*QueryAllKvzooResponse) Unmarshal

func (m *QueryAllKvzooResponse) Unmarshal(dAtA []byte) error

func (*QueryAllKvzooResponse) XXX_DiscardUnknown

func (m *QueryAllKvzooResponse) XXX_DiscardUnknown()

func (*QueryAllKvzooResponse) XXX_Marshal

func (m *QueryAllKvzooResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllKvzooResponse) XXX_Merge

func (m *QueryAllKvzooResponse) XXX_Merge(src proto.Message)

func (*QueryAllKvzooResponse) XXX_Size

func (m *QueryAllKvzooResponse) XXX_Size() int

func (*QueryAllKvzooResponse) XXX_Unmarshal

func (m *QueryAllKvzooResponse) XXX_Unmarshal(b []byte) error

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Queries a list of Kvzoo items.
	Kvzoo(ctx context.Context, in *QueryGetKvzooRequest, opts ...grpc.CallOption) (*QueryGetKvzooResponse, error)
	KvzooAll(ctx context.Context, in *QueryAllKvzooRequest, opts ...grpc.CallOption) (*QueryAllKvzooResponse, error)
	// Queries a list of ListByOwner items.
	ListByOwner(ctx context.Context, in *QueryListByOwnerRequest, opts ...grpc.CallOption) (*QueryListByOwnerResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryGetKvzooRequest

type QueryGetKvzooRequest struct {
	Owner  string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	ZooKey string `protobuf:"bytes,2,opt,name=zooKey,proto3" json:"zooKey,omitempty"`
}

func (*QueryGetKvzooRequest) Descriptor

func (*QueryGetKvzooRequest) Descriptor() ([]byte, []int)

func (*QueryGetKvzooRequest) GetOwner

func (m *QueryGetKvzooRequest) GetOwner() string

func (*QueryGetKvzooRequest) GetZooKey

func (m *QueryGetKvzooRequest) GetZooKey() string

func (*QueryGetKvzooRequest) Marshal

func (m *QueryGetKvzooRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetKvzooRequest) MarshalTo

func (m *QueryGetKvzooRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetKvzooRequest) MarshalToSizedBuffer

func (m *QueryGetKvzooRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetKvzooRequest) ProtoMessage

func (*QueryGetKvzooRequest) ProtoMessage()

func (*QueryGetKvzooRequest) Reset

func (m *QueryGetKvzooRequest) Reset()

func (*QueryGetKvzooRequest) Size

func (m *QueryGetKvzooRequest) Size() (n int)

func (*QueryGetKvzooRequest) String

func (m *QueryGetKvzooRequest) String() string

func (*QueryGetKvzooRequest) Unmarshal

func (m *QueryGetKvzooRequest) Unmarshal(dAtA []byte) error

func (*QueryGetKvzooRequest) XXX_DiscardUnknown

func (m *QueryGetKvzooRequest) XXX_DiscardUnknown()

func (*QueryGetKvzooRequest) XXX_Marshal

func (m *QueryGetKvzooRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetKvzooRequest) XXX_Merge

func (m *QueryGetKvzooRequest) XXX_Merge(src proto.Message)

func (*QueryGetKvzooRequest) XXX_Size

func (m *QueryGetKvzooRequest) XXX_Size() int

func (*QueryGetKvzooRequest) XXX_Unmarshal

func (m *QueryGetKvzooRequest) XXX_Unmarshal(b []byte) error

type QueryGetKvzooResponse

type QueryGetKvzooResponse struct {
	Kvzoo Kvzoo `protobuf:"bytes,1,opt,name=kvzoo,proto3" json:"kvzoo"`
}

func (*QueryGetKvzooResponse) Descriptor

func (*QueryGetKvzooResponse) Descriptor() ([]byte, []int)

func (*QueryGetKvzooResponse) GetKvzoo

func (m *QueryGetKvzooResponse) GetKvzoo() Kvzoo

func (*QueryGetKvzooResponse) Marshal

func (m *QueryGetKvzooResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetKvzooResponse) MarshalTo

func (m *QueryGetKvzooResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetKvzooResponse) MarshalToSizedBuffer

func (m *QueryGetKvzooResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetKvzooResponse) ProtoMessage

func (*QueryGetKvzooResponse) ProtoMessage()

func (*QueryGetKvzooResponse) Reset

func (m *QueryGetKvzooResponse) Reset()

func (*QueryGetKvzooResponse) Size

func (m *QueryGetKvzooResponse) Size() (n int)

func (*QueryGetKvzooResponse) String

func (m *QueryGetKvzooResponse) String() string

func (*QueryGetKvzooResponse) Unmarshal

func (m *QueryGetKvzooResponse) Unmarshal(dAtA []byte) error

func (*QueryGetKvzooResponse) XXX_DiscardUnknown

func (m *QueryGetKvzooResponse) XXX_DiscardUnknown()

func (*QueryGetKvzooResponse) XXX_Marshal

func (m *QueryGetKvzooResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetKvzooResponse) XXX_Merge

func (m *QueryGetKvzooResponse) XXX_Merge(src proto.Message)

func (*QueryGetKvzooResponse) XXX_Size

func (m *QueryGetKvzooResponse) XXX_Size() int

func (*QueryGetKvzooResponse) XXX_Unmarshal

func (m *QueryGetKvzooResponse) XXX_Unmarshal(b []byte) error

type QueryListByOwnerRequest

type QueryListByOwnerRequest struct {
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	Page  uint64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	Limit uint64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
}

func (*QueryListByOwnerRequest) Descriptor

func (*QueryListByOwnerRequest) Descriptor() ([]byte, []int)

func (*QueryListByOwnerRequest) GetLimit

func (m *QueryListByOwnerRequest) GetLimit() uint64

func (*QueryListByOwnerRequest) GetOwner

func (m *QueryListByOwnerRequest) GetOwner() string

func (*QueryListByOwnerRequest) GetPage

func (m *QueryListByOwnerRequest) GetPage() uint64

func (*QueryListByOwnerRequest) Marshal

func (m *QueryListByOwnerRequest) Marshal() (dAtA []byte, err error)

func (*QueryListByOwnerRequest) MarshalTo

func (m *QueryListByOwnerRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryListByOwnerRequest) MarshalToSizedBuffer

func (m *QueryListByOwnerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryListByOwnerRequest) ProtoMessage

func (*QueryListByOwnerRequest) ProtoMessage()

func (*QueryListByOwnerRequest) Reset

func (m *QueryListByOwnerRequest) Reset()

func (*QueryListByOwnerRequest) Size

func (m *QueryListByOwnerRequest) Size() (n int)

func (*QueryListByOwnerRequest) String

func (m *QueryListByOwnerRequest) String() string

func (*QueryListByOwnerRequest) Unmarshal

func (m *QueryListByOwnerRequest) Unmarshal(dAtA []byte) error

func (*QueryListByOwnerRequest) XXX_DiscardUnknown

func (m *QueryListByOwnerRequest) XXX_DiscardUnknown()

func (*QueryListByOwnerRequest) XXX_Marshal

func (m *QueryListByOwnerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryListByOwnerRequest) XXX_Merge

func (m *QueryListByOwnerRequest) XXX_Merge(src proto.Message)

func (*QueryListByOwnerRequest) XXX_Size

func (m *QueryListByOwnerRequest) XXX_Size() int

func (*QueryListByOwnerRequest) XXX_Unmarshal

func (m *QueryListByOwnerRequest) XXX_Unmarshal(b []byte) error

type QueryListByOwnerResponse

type QueryListByOwnerResponse struct {
	Kvzoo []*Kvzoo `protobuf:"bytes,1,rep,name=kvzoo,proto3" json:"kvzoo,omitempty"`
}

func (*QueryListByOwnerResponse) Descriptor

func (*QueryListByOwnerResponse) Descriptor() ([]byte, []int)

func (*QueryListByOwnerResponse) GetKvzoo

func (m *QueryListByOwnerResponse) GetKvzoo() []*Kvzoo

func (*QueryListByOwnerResponse) Marshal

func (m *QueryListByOwnerResponse) Marshal() (dAtA []byte, err error)

func (*QueryListByOwnerResponse) MarshalTo

func (m *QueryListByOwnerResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryListByOwnerResponse) MarshalToSizedBuffer

func (m *QueryListByOwnerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryListByOwnerResponse) ProtoMessage

func (*QueryListByOwnerResponse) ProtoMessage()

func (*QueryListByOwnerResponse) Reset

func (m *QueryListByOwnerResponse) Reset()

func (*QueryListByOwnerResponse) Size

func (m *QueryListByOwnerResponse) Size() (n int)

func (*QueryListByOwnerResponse) String

func (m *QueryListByOwnerResponse) String() string

func (*QueryListByOwnerResponse) Unmarshal

func (m *QueryListByOwnerResponse) Unmarshal(dAtA []byte) error

func (*QueryListByOwnerResponse) XXX_DiscardUnknown

func (m *QueryListByOwnerResponse) XXX_DiscardUnknown()

func (*QueryListByOwnerResponse) XXX_Marshal

func (m *QueryListByOwnerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryListByOwnerResponse) XXX_Merge

func (m *QueryListByOwnerResponse) XXX_Merge(src proto.Message)

func (*QueryListByOwnerResponse) XXX_Size

func (m *QueryListByOwnerResponse) XXX_Size() int

func (*QueryListByOwnerResponse) XXX_Unmarshal

func (m *QueryListByOwnerResponse) XXX_Unmarshal(b []byte) error

type QueryParamsRequest

type QueryParamsRequest struct {
}

QueryParamsRequest is request type for the Query/Params RPC method.

func (*QueryParamsRequest) Descriptor

func (*QueryParamsRequest) Descriptor() ([]byte, []int)

func (*QueryParamsRequest) Marshal

func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)

func (*QueryParamsRequest) MarshalTo

func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsRequest) MarshalToSizedBuffer

func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

func (m *QueryParamsRequest) Size() (n int)

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsRequest) XXX_Merge

func (m *QueryParamsRequest) XXX_Merge(src proto.Message)

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error

type QueryParamsResponse

type QueryParamsResponse struct {
	// params holds all the parameters of this module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

QueryParamsResponse is response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor

func (*QueryParamsResponse) Descriptor() ([]byte, []int)

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)

func (*QueryParamsResponse) MarshalTo

func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsResponse) MarshalToSizedBuffer

func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

func (m *QueryParamsResponse) Size() (n int)

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsResponse) XXX_Merge

func (m *QueryParamsResponse) XXX_Merge(src proto.Message)

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error

type QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Queries a list of Kvzoo items.
	Kvzoo(context.Context, *QueryGetKvzooRequest) (*QueryGetKvzooResponse, error)
	KvzooAll(context.Context, *QueryAllKvzooRequest) (*QueryAllKvzooResponse, error)
	// Queries a list of ListByOwner items.
	ListByOwner(context.Context, *QueryListByOwnerRequest) (*QueryListByOwnerResponse, error)
}

QueryServer is the server API for Query service.

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CreateKvzoo

func (*UnimplementedMsgServer) DeleteKvzoo

func (*UnimplementedMsgServer) UpdateKvzoo

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Kvzoo

func (*UnimplementedQueryServer) KvzooAll

func (*UnimplementedQueryServer) ListByOwner

func (*UnimplementedQueryServer) Params

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL