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: 32 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	EventTypeTimeout       = "timeout"
	EventTypeIbcPostPacket = "ibcPost_packet"

	AttributeKeyAckSuccess = "success"
	AttributeKeyAck        = "acknowledgement"
	AttributeKeyAckError   = "error"
)

IBC events

View Source
const (
	// ModuleName defines the module name
	ModuleName = "postoffice"

	// 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_postoffice"

	// Version defines the current version the IBC module supports
	Version = "postoffice-1"

	// PortID is the default port id that module binds to
	PortID = "postoffice"
)
View Source
const (
	PostKey      = "Post/value/"
	PostCountKey = "Post/count/"
)
View Source
const (
	SentPostKey      = "SentPost/value/"
	SentPostCountKey = "SentPost/count/"
)
View Source
const (
	TimedoutPostKey      = "TimedoutPost/value/"
	TimedoutPostCountKey = "TimedoutPost/count/"
)
View Source
const (
	PostSenderLinkPrefix   = "Post/link/sender/"
	PostReceiverLinkPrefix = "Post/link/receiver/"

	SentSenderLinkPrefix   = "Sent/link/sender/"
	SentReceiverLinkPrefix = "Sent/link/receiver/"

	TimeoutSenderLinkPrefix   = "Timeout/link/sender/"
	TimeoutReceiverLinkPrefix = "Timeout/link/receiver/"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default global index

View Source
const TypeMsgSendIbcPost = "send_ibc_post"

Variables

View Source
var (
	ErrSample               = sdkerrors.Register(ModuleName, 1100, "sample error")
	ErrInvalidPacketTimeout = sdkerrors.Register(ModuleName, 1500, "invalid packet timeout")
	ErrInvalidVersion       = sdkerrors.Register(ModuleName, 1501, "invalid version")
)

x/postoffice module sentinel errors

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 (
	ErrInvalidLengthPacket        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPacket          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPacket = 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 (
	ErrInvalidLengthPost        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPost          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPost = 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 (
	ErrInvalidLengthSentPost        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSentPost          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSentPost = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTimedoutPost        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTimedoutPost          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTimedoutPost = 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 (
	// PortKey defines the key to store the port ID in store
	PortKey = KeyPrefix("postoffice-port-")
)

Functions

func KeyPrefix

func KeyPrefix(p string) []byte

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func PostofficeLinkKey

func PostofficeLinkKey(cate string, link string) []byte

生成 链表头 key

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 ChannelKeeper

type ChannelKeeper interface {
	GetChannel(ctx sdk.Context, portID, channelID string) (channeltypes.Channel, bool)
	GetNextSequenceSend(ctx sdk.Context, portID, channelID string) (uint64, bool)
	SendPacket(
		ctx sdk.Context,
		channelCap *capabilitytypes.Capability,
		sourcePort string,
		sourceChannel string,
		timeoutHeight clienttypes.Height,
		timeoutTimestamp uint64,
		data []byte,
	) (uint64, error)
	ChanCloseInit(ctx sdk.Context, portID, channelID string, chanCap *capabilitytypes.Capability) error
}

ChannelKeeper defines the expected IBC channel keeper.

type GenesisState

type GenesisState struct {
	Params            Params         `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	PortId            string         `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"`
	PostList          []Post         `protobuf:"bytes,3,rep,name=postList,proto3" json:"postList"`
	PostCount         uint64         `protobuf:"varint,4,opt,name=postCount,proto3" json:"postCount,omitempty"`
	SentPostList      []SentPost     `protobuf:"bytes,5,rep,name=sentPostList,proto3" json:"sentPostList"`
	SentPostCount     uint64         `protobuf:"varint,6,opt,name=sentPostCount,proto3" json:"sentPostCount,omitempty"`
	TimedoutPostList  []TimedoutPost `protobuf:"bytes,7,rep,name=timedoutPostList,proto3" json:"timedoutPostList"`
	TimedoutPostCount uint64         `protobuf:"varint,8,opt,name=timedoutPostCount,proto3" json:"timedoutPostCount,omitempty"`
}

GenesisState defines the postoffice 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) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetPortId

func (m *GenesisState) GetPortId() string

func (*GenesisState) GetPostCount

func (m *GenesisState) GetPostCount() uint64

func (*GenesisState) GetPostList

func (m *GenesisState) GetPostList() []Post

func (*GenesisState) GetSentPostCount

func (m *GenesisState) GetSentPostCount() uint64

func (*GenesisState) GetSentPostList

func (m *GenesisState) GetSentPostList() []SentPost

func (*GenesisState) GetTimedoutPostCount

func (m *GenesisState) GetTimedoutPostCount() uint64

func (*GenesisState) GetTimedoutPostList

func (m *GenesisState) GetTimedoutPostList() []TimedoutPost

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 IbcPostPacketAck

type IbcPostPacketAck struct {
	PostID string `protobuf:"bytes,1,opt,name=postID,proto3" json:"postID,omitempty"`
}

IbcPostPacketAck defines a struct for the packet acknowledgment

func (*IbcPostPacketAck) Descriptor

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

func (*IbcPostPacketAck) GetPostID

func (m *IbcPostPacketAck) GetPostID() string

func (*IbcPostPacketAck) Marshal

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

func (*IbcPostPacketAck) MarshalTo

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

func (*IbcPostPacketAck) MarshalToSizedBuffer

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

func (*IbcPostPacketAck) ProtoMessage

func (*IbcPostPacketAck) ProtoMessage()

func (*IbcPostPacketAck) Reset

func (m *IbcPostPacketAck) Reset()

func (*IbcPostPacketAck) Size

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

func (*IbcPostPacketAck) String

func (m *IbcPostPacketAck) String() string

func (*IbcPostPacketAck) Unmarshal

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

func (*IbcPostPacketAck) XXX_DiscardUnknown

func (m *IbcPostPacketAck) XXX_DiscardUnknown()

func (*IbcPostPacketAck) XXX_Marshal

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

func (*IbcPostPacketAck) XXX_Merge

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

func (*IbcPostPacketAck) XXX_Size

func (m *IbcPostPacketAck) XXX_Size() int

func (*IbcPostPacketAck) XXX_Unmarshal

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

type IbcPostPacketData

type IbcPostPacketData struct {
	Title    string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Content  string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	SentDate string `protobuf:"bytes,3,opt,name=sentDate,proto3" json:"sentDate,omitempty"`
	Creator  string `protobuf:"bytes,4,opt,name=creator,proto3" json:"creator,omitempty"`
}

IbcPostPacketData defines a struct for the packet payload

func (*IbcPostPacketData) Descriptor

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

func (IbcPostPacketData) GetBytes

func (p IbcPostPacketData) GetBytes() ([]byte, error)

GetBytes is a helper for serialising

func (*IbcPostPacketData) GetContent

func (m *IbcPostPacketData) GetContent() string

func (*IbcPostPacketData) GetCreator

func (m *IbcPostPacketData) GetCreator() string

func (*IbcPostPacketData) GetSentDate

func (m *IbcPostPacketData) GetSentDate() string

func (*IbcPostPacketData) GetTitle

func (m *IbcPostPacketData) GetTitle() string

func (*IbcPostPacketData) Marshal

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

func (*IbcPostPacketData) MarshalTo

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

func (*IbcPostPacketData) MarshalToSizedBuffer

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

func (*IbcPostPacketData) ProtoMessage

func (*IbcPostPacketData) ProtoMessage()

func (*IbcPostPacketData) Reset

func (m *IbcPostPacketData) Reset()

func (*IbcPostPacketData) Size

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

func (*IbcPostPacketData) String

func (m *IbcPostPacketData) String() string

func (*IbcPostPacketData) Unmarshal

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

func (IbcPostPacketData) ValidateBasic

func (p IbcPostPacketData) ValidateBasic() error

ValidateBasic is used for validating the packet

func (*IbcPostPacketData) XXX_DiscardUnknown

func (m *IbcPostPacketData) XXX_DiscardUnknown()

func (*IbcPostPacketData) XXX_Marshal

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

func (*IbcPostPacketData) XXX_Merge

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

func (*IbcPostPacketData) XXX_Size

func (m *IbcPostPacketData) XXX_Size() int

func (*IbcPostPacketData) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	SendIbcPost(ctx context.Context, in *MsgSendIbcPost, opts ...grpc.CallOption) (*MsgSendIbcPostResponse, 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 MsgSendIbcPost

type MsgSendIbcPost struct {
	Title            string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"`
	Content          string `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"`
	SentDate         string `protobuf:"bytes,7,opt,name=sentDate,proto3" json:"sentDate,omitempty"`
	Creator          string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Port             string `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"`
	ChannelID        string `protobuf:"bytes,3,opt,name=channelID,proto3" json:"channelID,omitempty"`
	TimeoutTimestamp uint64 `protobuf:"varint,4,opt,name=timeoutTimestamp,proto3" json:"timeoutTimestamp,omitempty"`
}

func NewMsgSendIbcPost

func NewMsgSendIbcPost(
	creator string,
	port string,
	channelID string,
	timeoutTimestamp uint64,
	title string,
	content string,
	sentDate string,
) *MsgSendIbcPost

func (*MsgSendIbcPost) Descriptor

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

func (*MsgSendIbcPost) GetChannelID

func (m *MsgSendIbcPost) GetChannelID() string

func (*MsgSendIbcPost) GetContent

func (m *MsgSendIbcPost) GetContent() string

func (*MsgSendIbcPost) GetCreator

func (m *MsgSendIbcPost) GetCreator() string

func (*MsgSendIbcPost) GetPort

func (m *MsgSendIbcPost) GetPort() string

func (*MsgSendIbcPost) GetSentDate

func (m *MsgSendIbcPost) GetSentDate() string

func (*MsgSendIbcPost) GetSignBytes

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

func (*MsgSendIbcPost) GetSigners

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

func (*MsgSendIbcPost) GetTimeoutTimestamp

func (m *MsgSendIbcPost) GetTimeoutTimestamp() uint64

func (*MsgSendIbcPost) GetTitle

func (m *MsgSendIbcPost) GetTitle() string

func (*MsgSendIbcPost) Marshal

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

func (*MsgSendIbcPost) MarshalTo

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

func (*MsgSendIbcPost) MarshalToSizedBuffer

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

func (*MsgSendIbcPost) ProtoMessage

func (*MsgSendIbcPost) ProtoMessage()

func (*MsgSendIbcPost) Reset

func (m *MsgSendIbcPost) Reset()

func (*MsgSendIbcPost) Route

func (msg *MsgSendIbcPost) Route() string

func (*MsgSendIbcPost) Size

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

func (*MsgSendIbcPost) String

func (m *MsgSendIbcPost) String() string

func (*MsgSendIbcPost) Type

func (msg *MsgSendIbcPost) Type() string

func (*MsgSendIbcPost) Unmarshal

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

func (*MsgSendIbcPost) ValidateBasic

func (msg *MsgSendIbcPost) ValidateBasic() error

func (*MsgSendIbcPost) XXX_DiscardUnknown

func (m *MsgSendIbcPost) XXX_DiscardUnknown()

func (*MsgSendIbcPost) XXX_Marshal

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

func (*MsgSendIbcPost) XXX_Merge

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

func (*MsgSendIbcPost) XXX_Size

func (m *MsgSendIbcPost) XXX_Size() int

func (*MsgSendIbcPost) XXX_Unmarshal

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

type MsgSendIbcPostResponse

type MsgSendIbcPostResponse struct {
}

func (*MsgSendIbcPostResponse) Descriptor

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

func (*MsgSendIbcPostResponse) Marshal

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

func (*MsgSendIbcPostResponse) MarshalTo

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

func (*MsgSendIbcPostResponse) MarshalToSizedBuffer

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

func (*MsgSendIbcPostResponse) ProtoMessage

func (*MsgSendIbcPostResponse) ProtoMessage()

func (*MsgSendIbcPostResponse) Reset

func (m *MsgSendIbcPostResponse) Reset()

func (*MsgSendIbcPostResponse) Size

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

func (*MsgSendIbcPostResponse) String

func (m *MsgSendIbcPostResponse) String() string

func (*MsgSendIbcPostResponse) Unmarshal

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

func (*MsgSendIbcPostResponse) XXX_DiscardUnknown

func (m *MsgSendIbcPostResponse) XXX_DiscardUnknown()

func (*MsgSendIbcPostResponse) XXX_Marshal

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

func (*MsgSendIbcPostResponse) XXX_Merge

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

func (*MsgSendIbcPostResponse) XXX_Size

func (m *MsgSendIbcPostResponse) XXX_Size() int

func (*MsgSendIbcPostResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
	SendIbcPost(context.Context, *MsgSendIbcPost) (*MsgSendIbcPostResponse, error)
}

MsgServer is the server API for Msg service.

type NoData

type NoData struct {
}

func (*NoData) Descriptor

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

func (*NoData) Marshal

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

func (*NoData) MarshalTo

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

func (*NoData) MarshalToSizedBuffer

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

func (*NoData) ProtoMessage

func (*NoData) ProtoMessage()

func (*NoData) Reset

func (m *NoData) Reset()

func (*NoData) Size

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

func (*NoData) String

func (m *NoData) String() string

func (*NoData) Unmarshal

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

func (*NoData) XXX_DiscardUnknown

func (m *NoData) XXX_DiscardUnknown()

func (*NoData) XXX_Marshal

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

func (*NoData) XXX_Merge

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

func (*NoData) XXX_Size

func (m *NoData) XXX_Size() int

func (*NoData) XXX_Unmarshal

func (m *NoData) 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 PortKeeper

type PortKeeper interface {
	BindPort(ctx sdk.Context, portID string) *capabilitytypes.Capability
}

PortKeeper defines the expected IBC port keeper.

type Post

type Post struct {
	Id           uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Title        string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Payload      string `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
	FromChain    string `protobuf:"bytes,4,opt,name=fromChain,proto3" json:"fromChain,omitempty"`
	Sender       string `protobuf:"bytes,5,opt,name=sender,proto3" json:"sender,omitempty"`
	Receiver     string `protobuf:"bytes,6,opt,name=receiver,proto3" json:"receiver,omitempty"`
	SenderInfo   string `protobuf:"bytes,7,opt,name=senderInfo,proto3" json:"senderInfo,omitempty"`
	SentDate     string `protobuf:"bytes,8,opt,name=sentDate,proto3" json:"sentDate,omitempty"`
	LinkSender   string `protobuf:"bytes,9,opt,name=linkSender,proto3" json:"linkSender,omitempty"`
	LinkReceiver string `protobuf:"bytes,10,opt,name=linkReceiver,proto3" json:"linkReceiver,omitempty"`
}

func (*Post) Descriptor

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

func (*Post) GetFromChain

func (m *Post) GetFromChain() string

func (*Post) GetId

func (m *Post) GetId() uint64

func (*Post) GetLinkReceiver

func (m *Post) GetLinkReceiver() string

func (*Post) GetLinkSender

func (m *Post) GetLinkSender() string

func (*Post) GetPayload

func (m *Post) GetPayload() string

func (*Post) GetReceiver

func (m *Post) GetReceiver() string

func (*Post) GetSender

func (m *Post) GetSender() string

func (*Post) GetSenderInfo

func (m *Post) GetSenderInfo() string

func (*Post) GetSentDate

func (m *Post) GetSentDate() string

func (*Post) GetTitle

func (m *Post) GetTitle() string

func (*Post) Marshal

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

func (*Post) MarshalTo

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

func (*Post) MarshalToSizedBuffer

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

func (*Post) ProtoMessage

func (*Post) ProtoMessage()

func (*Post) Reset

func (m *Post) Reset()

func (*Post) Size

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

func (*Post) String

func (m *Post) String() string

func (*Post) Unmarshal

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

func (*Post) XXX_DiscardUnknown

func (m *Post) XXX_DiscardUnknown()

func (*Post) XXX_Marshal

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

func (*Post) XXX_Merge

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

func (*Post) XXX_Size

func (m *Post) XXX_Size() int

func (*Post) XXX_Unmarshal

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

type PostofficePacketData

type PostofficePacketData struct {
	// Types that are valid to be assigned to Packet:
	//	*PostofficePacketData_NoData
	//	*PostofficePacketData_IbcPostPacket
	Packet isPostofficePacketData_Packet `protobuf_oneof:"packet"`
}

func (*PostofficePacketData) Descriptor

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

func (*PostofficePacketData) GetIbcPostPacket

func (m *PostofficePacketData) GetIbcPostPacket() *IbcPostPacketData

func (*PostofficePacketData) GetNoData

func (m *PostofficePacketData) GetNoData() *NoData

func (*PostofficePacketData) GetPacket

func (m *PostofficePacketData) GetPacket() isPostofficePacketData_Packet

func (*PostofficePacketData) Marshal

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

func (*PostofficePacketData) MarshalTo

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

func (*PostofficePacketData) MarshalToSizedBuffer

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

func (*PostofficePacketData) ProtoMessage

func (*PostofficePacketData) ProtoMessage()

func (*PostofficePacketData) Reset

func (m *PostofficePacketData) Reset()

func (*PostofficePacketData) Size

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

func (*PostofficePacketData) String

func (m *PostofficePacketData) String() string

func (*PostofficePacketData) Unmarshal

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

func (*PostofficePacketData) XXX_DiscardUnknown

func (m *PostofficePacketData) XXX_DiscardUnknown()

func (*PostofficePacketData) XXX_Marshal

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

func (*PostofficePacketData) XXX_Merge

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

func (*PostofficePacketData) XXX_OneofWrappers

func (*PostofficePacketData) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*PostofficePacketData) XXX_Size

func (m *PostofficePacketData) XXX_Size() int

func (*PostofficePacketData) XXX_Unmarshal

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

type PostofficePacketData_IbcPostPacket

type PostofficePacketData_IbcPostPacket struct {
	IbcPostPacket *IbcPostPacketData `protobuf:"bytes,2,opt,name=ibcPostPacket,proto3,oneof" json:"ibcPostPacket,omitempty"`
}

func (*PostofficePacketData_IbcPostPacket) MarshalTo

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

func (*PostofficePacketData_IbcPostPacket) MarshalToSizedBuffer

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

func (*PostofficePacketData_IbcPostPacket) Size

type PostofficePacketData_NoData

type PostofficePacketData_NoData struct {
	NoData *NoData `protobuf:"bytes,1,opt,name=noData,proto3,oneof" json:"noData,omitempty"`
}

func (*PostofficePacketData_NoData) MarshalTo

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

func (*PostofficePacketData_NoData) MarshalToSizedBuffer

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

func (*PostofficePacketData_NoData) Size

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

type QueryAllPostRequest

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

func (*QueryAllPostRequest) Descriptor

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

func (*QueryAllPostRequest) GetPagination

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

func (*QueryAllPostRequest) Marshal

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

func (*QueryAllPostRequest) MarshalTo

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

func (*QueryAllPostRequest) MarshalToSizedBuffer

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

func (*QueryAllPostRequest) ProtoMessage

func (*QueryAllPostRequest) ProtoMessage()

func (*QueryAllPostRequest) Reset

func (m *QueryAllPostRequest) Reset()

func (*QueryAllPostRequest) Size

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

func (*QueryAllPostRequest) String

func (m *QueryAllPostRequest) String() string

func (*QueryAllPostRequest) Unmarshal

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

func (*QueryAllPostRequest) XXX_DiscardUnknown

func (m *QueryAllPostRequest) XXX_DiscardUnknown()

func (*QueryAllPostRequest) XXX_Marshal

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

func (*QueryAllPostRequest) XXX_Merge

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

func (*QueryAllPostRequest) XXX_Size

func (m *QueryAllPostRequest) XXX_Size() int

func (*QueryAllPostRequest) XXX_Unmarshal

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

type QueryAllPostResponse

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

func (*QueryAllPostResponse) Descriptor

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

func (*QueryAllPostResponse) GetPagination

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

func (*QueryAllPostResponse) GetPost

func (m *QueryAllPostResponse) GetPost() []Post

func (*QueryAllPostResponse) Marshal

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

func (*QueryAllPostResponse) MarshalTo

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

func (*QueryAllPostResponse) MarshalToSizedBuffer

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

func (*QueryAllPostResponse) ProtoMessage

func (*QueryAllPostResponse) ProtoMessage()

func (*QueryAllPostResponse) Reset

func (m *QueryAllPostResponse) Reset()

func (*QueryAllPostResponse) Size

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

func (*QueryAllPostResponse) String

func (m *QueryAllPostResponse) String() string

func (*QueryAllPostResponse) Unmarshal

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

func (*QueryAllPostResponse) XXX_DiscardUnknown

func (m *QueryAllPostResponse) XXX_DiscardUnknown()

func (*QueryAllPostResponse) XXX_Marshal

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

func (*QueryAllPostResponse) XXX_Merge

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

func (*QueryAllPostResponse) XXX_Size

func (m *QueryAllPostResponse) XXX_Size() int

func (*QueryAllPostResponse) XXX_Unmarshal

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

type QueryAllSentPostRequest

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

func (*QueryAllSentPostRequest) Descriptor

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

func (*QueryAllSentPostRequest) GetPagination

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

func (*QueryAllSentPostRequest) Marshal

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

func (*QueryAllSentPostRequest) MarshalTo

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

func (*QueryAllSentPostRequest) MarshalToSizedBuffer

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

func (*QueryAllSentPostRequest) ProtoMessage

func (*QueryAllSentPostRequest) ProtoMessage()

func (*QueryAllSentPostRequest) Reset

func (m *QueryAllSentPostRequest) Reset()

func (*QueryAllSentPostRequest) Size

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

func (*QueryAllSentPostRequest) String

func (m *QueryAllSentPostRequest) String() string

func (*QueryAllSentPostRequest) Unmarshal

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

func (*QueryAllSentPostRequest) XXX_DiscardUnknown

func (m *QueryAllSentPostRequest) XXX_DiscardUnknown()

func (*QueryAllSentPostRequest) XXX_Marshal

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

func (*QueryAllSentPostRequest) XXX_Merge

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

func (*QueryAllSentPostRequest) XXX_Size

func (m *QueryAllSentPostRequest) XXX_Size() int

func (*QueryAllSentPostRequest) XXX_Unmarshal

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

type QueryAllSentPostResponse

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

func (*QueryAllSentPostResponse) Descriptor

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

func (*QueryAllSentPostResponse) GetPagination

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

func (*QueryAllSentPostResponse) GetSentPost

func (m *QueryAllSentPostResponse) GetSentPost() []SentPost

func (*QueryAllSentPostResponse) Marshal

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

func (*QueryAllSentPostResponse) MarshalTo

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

func (*QueryAllSentPostResponse) MarshalToSizedBuffer

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

func (*QueryAllSentPostResponse) ProtoMessage

func (*QueryAllSentPostResponse) ProtoMessage()

func (*QueryAllSentPostResponse) Reset

func (m *QueryAllSentPostResponse) Reset()

func (*QueryAllSentPostResponse) Size

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

func (*QueryAllSentPostResponse) String

func (m *QueryAllSentPostResponse) String() string

func (*QueryAllSentPostResponse) Unmarshal

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

func (*QueryAllSentPostResponse) XXX_DiscardUnknown

func (m *QueryAllSentPostResponse) XXX_DiscardUnknown()

func (*QueryAllSentPostResponse) XXX_Marshal

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

func (*QueryAllSentPostResponse) XXX_Merge

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

func (*QueryAllSentPostResponse) XXX_Size

func (m *QueryAllSentPostResponse) XXX_Size() int

func (*QueryAllSentPostResponse) XXX_Unmarshal

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

type QueryAllTimedoutPostRequest

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

func (*QueryAllTimedoutPostRequest) Descriptor

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

func (*QueryAllTimedoutPostRequest) GetPagination

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

func (*QueryAllTimedoutPostRequest) Marshal

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

func (*QueryAllTimedoutPostRequest) MarshalTo

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

func (*QueryAllTimedoutPostRequest) MarshalToSizedBuffer

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

func (*QueryAllTimedoutPostRequest) ProtoMessage

func (*QueryAllTimedoutPostRequest) ProtoMessage()

func (*QueryAllTimedoutPostRequest) Reset

func (m *QueryAllTimedoutPostRequest) Reset()

func (*QueryAllTimedoutPostRequest) Size

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

func (*QueryAllTimedoutPostRequest) String

func (m *QueryAllTimedoutPostRequest) String() string

func (*QueryAllTimedoutPostRequest) Unmarshal

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

func (*QueryAllTimedoutPostRequest) XXX_DiscardUnknown

func (m *QueryAllTimedoutPostRequest) XXX_DiscardUnknown()

func (*QueryAllTimedoutPostRequest) XXX_Marshal

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

func (*QueryAllTimedoutPostRequest) XXX_Merge

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

func (*QueryAllTimedoutPostRequest) XXX_Size

func (m *QueryAllTimedoutPostRequest) XXX_Size() int

func (*QueryAllTimedoutPostRequest) XXX_Unmarshal

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

type QueryAllTimedoutPostResponse

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

func (*QueryAllTimedoutPostResponse) Descriptor

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

func (*QueryAllTimedoutPostResponse) GetPagination

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

func (*QueryAllTimedoutPostResponse) GetTimedoutPost

func (m *QueryAllTimedoutPostResponse) GetTimedoutPost() []TimedoutPost

func (*QueryAllTimedoutPostResponse) Marshal

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

func (*QueryAllTimedoutPostResponse) MarshalTo

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

func (*QueryAllTimedoutPostResponse) MarshalToSizedBuffer

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

func (*QueryAllTimedoutPostResponse) ProtoMessage

func (*QueryAllTimedoutPostResponse) ProtoMessage()

func (*QueryAllTimedoutPostResponse) Reset

func (m *QueryAllTimedoutPostResponse) Reset()

func (*QueryAllTimedoutPostResponse) Size

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

func (*QueryAllTimedoutPostResponse) String

func (*QueryAllTimedoutPostResponse) Unmarshal

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

func (*QueryAllTimedoutPostResponse) XXX_DiscardUnknown

func (m *QueryAllTimedoutPostResponse) XXX_DiscardUnknown()

func (*QueryAllTimedoutPostResponse) XXX_Marshal

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

func (*QueryAllTimedoutPostResponse) XXX_Merge

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

func (*QueryAllTimedoutPostResponse) XXX_Size

func (m *QueryAllTimedoutPostResponse) XXX_Size() int

func (*QueryAllTimedoutPostResponse) XXX_Unmarshal

func (m *QueryAllTimedoutPostResponse) 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 Post items.
	Post(ctx context.Context, in *QueryGetPostRequest, opts ...grpc.CallOption) (*QueryGetPostResponse, error)
	PostAll(ctx context.Context, in *QueryAllPostRequest, opts ...grpc.CallOption) (*QueryAllPostResponse, error)
	// Queries a list of SentPost items.
	SentPost(ctx context.Context, in *QueryGetSentPostRequest, opts ...grpc.CallOption) (*QueryGetSentPostResponse, error)
	SentPostAll(ctx context.Context, in *QueryAllSentPostRequest, opts ...grpc.CallOption) (*QueryAllSentPostResponse, error)
	// Queries a list of TimedoutPost items.
	TimedoutPost(ctx context.Context, in *QueryGetTimedoutPostRequest, opts ...grpc.CallOption) (*QueryGetTimedoutPostResponse, error)
	TimedoutPostAll(ctx context.Context, in *QueryAllTimedoutPostRequest, opts ...grpc.CallOption) (*QueryAllTimedoutPostResponse, error)
	// Queries a list of ListPostBySender items.
	ListPostBySender(ctx context.Context, in *QueryListPostBySenderRequest, opts ...grpc.CallOption) (*QueryListPostBySenderResponse, error)
	// Queries a list of ListPostByReceiver items.
	ListPostByReceiver(ctx context.Context, in *QueryListPostByReceiverRequest, opts ...grpc.CallOption) (*QueryListPostByReceiverResponse, error)
	// Queries a list of ListSentBySender items.
	ListSentBySender(ctx context.Context, in *QueryListSentBySenderRequest, opts ...grpc.CallOption) (*QueryListSentBySenderResponse, error)
	// Queries a list of ListSentByReceiver items.
	ListSentByReceiver(ctx context.Context, in *QueryListSentByReceiverRequest, opts ...grpc.CallOption) (*QueryListSentByReceiverResponse, error)
	// Queries a list of ListTimeoutBySender items.
	ListTimeoutBySender(ctx context.Context, in *QueryListTimeoutBySenderRequest, opts ...grpc.CallOption) (*QueryListTimeoutBySenderResponse, error)
	// Queries a list of ListTimeoutByReceiver items.
	ListTimeoutByReceiver(ctx context.Context, in *QueryListTimeoutByReceiverRequest, opts ...grpc.CallOption) (*QueryListTimeoutByReceiverResponse, 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 QueryGetPostRequest

type QueryGetPostRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*QueryGetPostRequest) Descriptor

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

func (*QueryGetPostRequest) GetId

func (m *QueryGetPostRequest) GetId() uint64

func (*QueryGetPostRequest) Marshal

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

func (*QueryGetPostRequest) MarshalTo

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

func (*QueryGetPostRequest) MarshalToSizedBuffer

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

func (*QueryGetPostRequest) ProtoMessage

func (*QueryGetPostRequest) ProtoMessage()

func (*QueryGetPostRequest) Reset

func (m *QueryGetPostRequest) Reset()

func (*QueryGetPostRequest) Size

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

func (*QueryGetPostRequest) String

func (m *QueryGetPostRequest) String() string

func (*QueryGetPostRequest) Unmarshal

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

func (*QueryGetPostRequest) XXX_DiscardUnknown

func (m *QueryGetPostRequest) XXX_DiscardUnknown()

func (*QueryGetPostRequest) XXX_Marshal

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

func (*QueryGetPostRequest) XXX_Merge

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

func (*QueryGetPostRequest) XXX_Size

func (m *QueryGetPostRequest) XXX_Size() int

func (*QueryGetPostRequest) XXX_Unmarshal

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

type QueryGetPostResponse

type QueryGetPostResponse struct {
	Post Post `protobuf:"bytes,1,opt,name=Post,proto3" json:"Post"`
}

func (*QueryGetPostResponse) Descriptor

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

func (*QueryGetPostResponse) GetPost

func (m *QueryGetPostResponse) GetPost() Post

func (*QueryGetPostResponse) Marshal

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

func (*QueryGetPostResponse) MarshalTo

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

func (*QueryGetPostResponse) MarshalToSizedBuffer

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

func (*QueryGetPostResponse) ProtoMessage

func (*QueryGetPostResponse) ProtoMessage()

func (*QueryGetPostResponse) Reset

func (m *QueryGetPostResponse) Reset()

func (*QueryGetPostResponse) Size

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

func (*QueryGetPostResponse) String

func (m *QueryGetPostResponse) String() string

func (*QueryGetPostResponse) Unmarshal

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

func (*QueryGetPostResponse) XXX_DiscardUnknown

func (m *QueryGetPostResponse) XXX_DiscardUnknown()

func (*QueryGetPostResponse) XXX_Marshal

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

func (*QueryGetPostResponse) XXX_Merge

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

func (*QueryGetPostResponse) XXX_Size

func (m *QueryGetPostResponse) XXX_Size() int

func (*QueryGetPostResponse) XXX_Unmarshal

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

type QueryGetSentPostRequest

type QueryGetSentPostRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*QueryGetSentPostRequest) Descriptor

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

func (*QueryGetSentPostRequest) GetId

func (m *QueryGetSentPostRequest) GetId() uint64

func (*QueryGetSentPostRequest) Marshal

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

func (*QueryGetSentPostRequest) MarshalTo

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

func (*QueryGetSentPostRequest) MarshalToSizedBuffer

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

func (*QueryGetSentPostRequest) ProtoMessage

func (*QueryGetSentPostRequest) ProtoMessage()

func (*QueryGetSentPostRequest) Reset

func (m *QueryGetSentPostRequest) Reset()

func (*QueryGetSentPostRequest) Size

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

func (*QueryGetSentPostRequest) String

func (m *QueryGetSentPostRequest) String() string

func (*QueryGetSentPostRequest) Unmarshal

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

func (*QueryGetSentPostRequest) XXX_DiscardUnknown

func (m *QueryGetSentPostRequest) XXX_DiscardUnknown()

func (*QueryGetSentPostRequest) XXX_Marshal

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

func (*QueryGetSentPostRequest) XXX_Merge

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

func (*QueryGetSentPostRequest) XXX_Size

func (m *QueryGetSentPostRequest) XXX_Size() int

func (*QueryGetSentPostRequest) XXX_Unmarshal

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

type QueryGetSentPostResponse

type QueryGetSentPostResponse struct {
	SentPost SentPost `protobuf:"bytes,1,opt,name=SentPost,proto3" json:"SentPost"`
}

func (*QueryGetSentPostResponse) Descriptor

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

func (*QueryGetSentPostResponse) GetSentPost

func (m *QueryGetSentPostResponse) GetSentPost() SentPost

func (*QueryGetSentPostResponse) Marshal

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

func (*QueryGetSentPostResponse) MarshalTo

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

func (*QueryGetSentPostResponse) MarshalToSizedBuffer

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

func (*QueryGetSentPostResponse) ProtoMessage

func (*QueryGetSentPostResponse) ProtoMessage()

func (*QueryGetSentPostResponse) Reset

func (m *QueryGetSentPostResponse) Reset()

func (*QueryGetSentPostResponse) Size

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

func (*QueryGetSentPostResponse) String

func (m *QueryGetSentPostResponse) String() string

func (*QueryGetSentPostResponse) Unmarshal

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

func (*QueryGetSentPostResponse) XXX_DiscardUnknown

func (m *QueryGetSentPostResponse) XXX_DiscardUnknown()

func (*QueryGetSentPostResponse) XXX_Marshal

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

func (*QueryGetSentPostResponse) XXX_Merge

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

func (*QueryGetSentPostResponse) XXX_Size

func (m *QueryGetSentPostResponse) XXX_Size() int

func (*QueryGetSentPostResponse) XXX_Unmarshal

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

type QueryGetTimedoutPostRequest

type QueryGetTimedoutPostRequest struct {
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*QueryGetTimedoutPostRequest) Descriptor

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

func (*QueryGetTimedoutPostRequest) GetId

func (*QueryGetTimedoutPostRequest) Marshal

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

func (*QueryGetTimedoutPostRequest) MarshalTo

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

func (*QueryGetTimedoutPostRequest) MarshalToSizedBuffer

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

func (*QueryGetTimedoutPostRequest) ProtoMessage

func (*QueryGetTimedoutPostRequest) ProtoMessage()

func (*QueryGetTimedoutPostRequest) Reset

func (m *QueryGetTimedoutPostRequest) Reset()

func (*QueryGetTimedoutPostRequest) Size

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

func (*QueryGetTimedoutPostRequest) String

func (m *QueryGetTimedoutPostRequest) String() string

func (*QueryGetTimedoutPostRequest) Unmarshal

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

func (*QueryGetTimedoutPostRequest) XXX_DiscardUnknown

func (m *QueryGetTimedoutPostRequest) XXX_DiscardUnknown()

func (*QueryGetTimedoutPostRequest) XXX_Marshal

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

func (*QueryGetTimedoutPostRequest) XXX_Merge

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

func (*QueryGetTimedoutPostRequest) XXX_Size

func (m *QueryGetTimedoutPostRequest) XXX_Size() int

func (*QueryGetTimedoutPostRequest) XXX_Unmarshal

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

type QueryGetTimedoutPostResponse

type QueryGetTimedoutPostResponse struct {
	TimedoutPost TimedoutPost `protobuf:"bytes,1,opt,name=TimedoutPost,proto3" json:"TimedoutPost"`
}

func (*QueryGetTimedoutPostResponse) Descriptor

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

func (*QueryGetTimedoutPostResponse) GetTimedoutPost

func (m *QueryGetTimedoutPostResponse) GetTimedoutPost() TimedoutPost

func (*QueryGetTimedoutPostResponse) Marshal

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

func (*QueryGetTimedoutPostResponse) MarshalTo

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

func (*QueryGetTimedoutPostResponse) MarshalToSizedBuffer

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

func (*QueryGetTimedoutPostResponse) ProtoMessage

func (*QueryGetTimedoutPostResponse) ProtoMessage()

func (*QueryGetTimedoutPostResponse) Reset

func (m *QueryGetTimedoutPostResponse) Reset()

func (*QueryGetTimedoutPostResponse) Size

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

func (*QueryGetTimedoutPostResponse) String

func (*QueryGetTimedoutPostResponse) Unmarshal

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

func (*QueryGetTimedoutPostResponse) XXX_DiscardUnknown

func (m *QueryGetTimedoutPostResponse) XXX_DiscardUnknown()

func (*QueryGetTimedoutPostResponse) XXX_Marshal

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

func (*QueryGetTimedoutPostResponse) XXX_Merge

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

func (*QueryGetTimedoutPostResponse) XXX_Size

func (m *QueryGetTimedoutPostResponse) XXX_Size() int

func (*QueryGetTimedoutPostResponse) XXX_Unmarshal

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

type QueryListPostByReceiverRequest

type QueryListPostByReceiverRequest struct {
	Receiver string `protobuf:"bytes,1,opt,name=receiver,proto3" json:"receiver,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 (*QueryListPostByReceiverRequest) Descriptor

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

func (*QueryListPostByReceiverRequest) GetLimit

func (m *QueryListPostByReceiverRequest) GetLimit() uint64

func (*QueryListPostByReceiverRequest) GetPage

func (*QueryListPostByReceiverRequest) GetReceiver

func (m *QueryListPostByReceiverRequest) GetReceiver() string

func (*QueryListPostByReceiverRequest) Marshal

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

func (*QueryListPostByReceiverRequest) MarshalTo

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

func (*QueryListPostByReceiverRequest) MarshalToSizedBuffer

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

func (*QueryListPostByReceiverRequest) ProtoMessage

func (*QueryListPostByReceiverRequest) ProtoMessage()

func (*QueryListPostByReceiverRequest) Reset

func (m *QueryListPostByReceiverRequest) Reset()

func (*QueryListPostByReceiverRequest) Size

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

func (*QueryListPostByReceiverRequest) String

func (*QueryListPostByReceiverRequest) Unmarshal

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

func (*QueryListPostByReceiverRequest) XXX_DiscardUnknown

func (m *QueryListPostByReceiverRequest) XXX_DiscardUnknown()

func (*QueryListPostByReceiverRequest) XXX_Marshal

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

func (*QueryListPostByReceiverRequest) XXX_Merge

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

func (*QueryListPostByReceiverRequest) XXX_Size

func (m *QueryListPostByReceiverRequest) XXX_Size() int

func (*QueryListPostByReceiverRequest) XXX_Unmarshal

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

type QueryListPostByReceiverResponse

type QueryListPostByReceiverResponse struct {
	Post []*Post `protobuf:"bytes,1,rep,name=post,proto3" json:"post,omitempty"`
}

func (*QueryListPostByReceiverResponse) Descriptor

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

func (*QueryListPostByReceiverResponse) GetPost

func (m *QueryListPostByReceiverResponse) GetPost() []*Post

func (*QueryListPostByReceiverResponse) Marshal

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

func (*QueryListPostByReceiverResponse) MarshalTo

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

func (*QueryListPostByReceiverResponse) MarshalToSizedBuffer

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

func (*QueryListPostByReceiverResponse) ProtoMessage

func (*QueryListPostByReceiverResponse) ProtoMessage()

func (*QueryListPostByReceiverResponse) Reset

func (*QueryListPostByReceiverResponse) Size

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

func (*QueryListPostByReceiverResponse) String

func (*QueryListPostByReceiverResponse) Unmarshal

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

func (*QueryListPostByReceiverResponse) XXX_DiscardUnknown

func (m *QueryListPostByReceiverResponse) XXX_DiscardUnknown()

func (*QueryListPostByReceiverResponse) XXX_Marshal

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

func (*QueryListPostByReceiverResponse) XXX_Merge

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

func (*QueryListPostByReceiverResponse) XXX_Size

func (m *QueryListPostByReceiverResponse) XXX_Size() int

func (*QueryListPostByReceiverResponse) XXX_Unmarshal

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

type QueryListPostBySenderRequest

type QueryListPostBySenderRequest struct {
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,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 (*QueryListPostBySenderRequest) Descriptor

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

func (*QueryListPostBySenderRequest) GetLimit

func (m *QueryListPostBySenderRequest) GetLimit() uint64

func (*QueryListPostBySenderRequest) GetPage

func (m *QueryListPostBySenderRequest) GetPage() uint64

func (*QueryListPostBySenderRequest) GetSender

func (m *QueryListPostBySenderRequest) GetSender() string

func (*QueryListPostBySenderRequest) Marshal

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

func (*QueryListPostBySenderRequest) MarshalTo

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

func (*QueryListPostBySenderRequest) MarshalToSizedBuffer

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

func (*QueryListPostBySenderRequest) ProtoMessage

func (*QueryListPostBySenderRequest) ProtoMessage()

func (*QueryListPostBySenderRequest) Reset

func (m *QueryListPostBySenderRequest) Reset()

func (*QueryListPostBySenderRequest) Size

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

func (*QueryListPostBySenderRequest) String

func (*QueryListPostBySenderRequest) Unmarshal

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

func (*QueryListPostBySenderRequest) XXX_DiscardUnknown

func (m *QueryListPostBySenderRequest) XXX_DiscardUnknown()

func (*QueryListPostBySenderRequest) XXX_Marshal

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

func (*QueryListPostBySenderRequest) XXX_Merge

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

func (*QueryListPostBySenderRequest) XXX_Size

func (m *QueryListPostBySenderRequest) XXX_Size() int

func (*QueryListPostBySenderRequest) XXX_Unmarshal

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

type QueryListPostBySenderResponse

type QueryListPostBySenderResponse struct {
	Post []*Post `protobuf:"bytes,1,rep,name=post,proto3" json:"post,omitempty"`
}

func (*QueryListPostBySenderResponse) Descriptor

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

func (*QueryListPostBySenderResponse) GetPost

func (m *QueryListPostBySenderResponse) GetPost() []*Post

func (*QueryListPostBySenderResponse) Marshal

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

func (*QueryListPostBySenderResponse) MarshalTo

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

func (*QueryListPostBySenderResponse) MarshalToSizedBuffer

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

func (*QueryListPostBySenderResponse) ProtoMessage

func (*QueryListPostBySenderResponse) ProtoMessage()

func (*QueryListPostBySenderResponse) Reset

func (m *QueryListPostBySenderResponse) Reset()

func (*QueryListPostBySenderResponse) Size

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

func (*QueryListPostBySenderResponse) String

func (*QueryListPostBySenderResponse) Unmarshal

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

func (*QueryListPostBySenderResponse) XXX_DiscardUnknown

func (m *QueryListPostBySenderResponse) XXX_DiscardUnknown()

func (*QueryListPostBySenderResponse) XXX_Marshal

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

func (*QueryListPostBySenderResponse) XXX_Merge

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

func (*QueryListPostBySenderResponse) XXX_Size

func (m *QueryListPostBySenderResponse) XXX_Size() int

func (*QueryListPostBySenderResponse) XXX_Unmarshal

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

type QueryListSentByReceiverRequest

type QueryListSentByReceiverRequest struct {
	Receiver string `protobuf:"bytes,1,opt,name=receiver,proto3" json:"receiver,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 (*QueryListSentByReceiverRequest) Descriptor

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

func (*QueryListSentByReceiverRequest) GetLimit

func (m *QueryListSentByReceiverRequest) GetLimit() uint64

func (*QueryListSentByReceiverRequest) GetPage

func (*QueryListSentByReceiverRequest) GetReceiver

func (m *QueryListSentByReceiverRequest) GetReceiver() string

func (*QueryListSentByReceiverRequest) Marshal

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

func (*QueryListSentByReceiverRequest) MarshalTo

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

func (*QueryListSentByReceiverRequest) MarshalToSizedBuffer

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

func (*QueryListSentByReceiverRequest) ProtoMessage

func (*QueryListSentByReceiverRequest) ProtoMessage()

func (*QueryListSentByReceiverRequest) Reset

func (m *QueryListSentByReceiverRequest) Reset()

func (*QueryListSentByReceiverRequest) Size

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

func (*QueryListSentByReceiverRequest) String

func (*QueryListSentByReceiverRequest) Unmarshal

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

func (*QueryListSentByReceiverRequest) XXX_DiscardUnknown

func (m *QueryListSentByReceiverRequest) XXX_DiscardUnknown()

func (*QueryListSentByReceiverRequest) XXX_Marshal

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

func (*QueryListSentByReceiverRequest) XXX_Merge

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

func (*QueryListSentByReceiverRequest) XXX_Size

func (m *QueryListSentByReceiverRequest) XXX_Size() int

func (*QueryListSentByReceiverRequest) XXX_Unmarshal

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

type QueryListSentByReceiverResponse

type QueryListSentByReceiverResponse struct {
	SentPost []*SentPost `protobuf:"bytes,1,rep,name=sentPost,proto3" json:"sentPost,omitempty"`
}

func (*QueryListSentByReceiverResponse) Descriptor

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

func (*QueryListSentByReceiverResponse) GetSentPost

func (m *QueryListSentByReceiverResponse) GetSentPost() []*SentPost

func (*QueryListSentByReceiverResponse) Marshal

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

func (*QueryListSentByReceiverResponse) MarshalTo

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

func (*QueryListSentByReceiverResponse) MarshalToSizedBuffer

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

func (*QueryListSentByReceiverResponse) ProtoMessage

func (*QueryListSentByReceiverResponse) ProtoMessage()

func (*QueryListSentByReceiverResponse) Reset

func (*QueryListSentByReceiverResponse) Size

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

func (*QueryListSentByReceiverResponse) String

func (*QueryListSentByReceiverResponse) Unmarshal

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

func (*QueryListSentByReceiverResponse) XXX_DiscardUnknown

func (m *QueryListSentByReceiverResponse) XXX_DiscardUnknown()

func (*QueryListSentByReceiverResponse) XXX_Marshal

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

func (*QueryListSentByReceiverResponse) XXX_Merge

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

func (*QueryListSentByReceiverResponse) XXX_Size

func (m *QueryListSentByReceiverResponse) XXX_Size() int

func (*QueryListSentByReceiverResponse) XXX_Unmarshal

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

type QueryListSentBySenderRequest

type QueryListSentBySenderRequest struct {
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,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 (*QueryListSentBySenderRequest) Descriptor

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

func (*QueryListSentBySenderRequest) GetLimit

func (m *QueryListSentBySenderRequest) GetLimit() uint64

func (*QueryListSentBySenderRequest) GetPage

func (m *QueryListSentBySenderRequest) GetPage() uint64

func (*QueryListSentBySenderRequest) GetSender

func (m *QueryListSentBySenderRequest) GetSender() string

func (*QueryListSentBySenderRequest) Marshal

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

func (*QueryListSentBySenderRequest) MarshalTo

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

func (*QueryListSentBySenderRequest) MarshalToSizedBuffer

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

func (*QueryListSentBySenderRequest) ProtoMessage

func (*QueryListSentBySenderRequest) ProtoMessage()

func (*QueryListSentBySenderRequest) Reset

func (m *QueryListSentBySenderRequest) Reset()

func (*QueryListSentBySenderRequest) Size

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

func (*QueryListSentBySenderRequest) String

func (*QueryListSentBySenderRequest) Unmarshal

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

func (*QueryListSentBySenderRequest) XXX_DiscardUnknown

func (m *QueryListSentBySenderRequest) XXX_DiscardUnknown()

func (*QueryListSentBySenderRequest) XXX_Marshal

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

func (*QueryListSentBySenderRequest) XXX_Merge

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

func (*QueryListSentBySenderRequest) XXX_Size

func (m *QueryListSentBySenderRequest) XXX_Size() int

func (*QueryListSentBySenderRequest) XXX_Unmarshal

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

type QueryListSentBySenderResponse

type QueryListSentBySenderResponse struct {
	SentPost []*SentPost `protobuf:"bytes,1,rep,name=sentPost,proto3" json:"sentPost,omitempty"`
}

func (*QueryListSentBySenderResponse) Descriptor

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

func (*QueryListSentBySenderResponse) GetSentPost

func (m *QueryListSentBySenderResponse) GetSentPost() []*SentPost

func (*QueryListSentBySenderResponse) Marshal

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

func (*QueryListSentBySenderResponse) MarshalTo

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

func (*QueryListSentBySenderResponse) MarshalToSizedBuffer

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

func (*QueryListSentBySenderResponse) ProtoMessage

func (*QueryListSentBySenderResponse) ProtoMessage()

func (*QueryListSentBySenderResponse) Reset

func (m *QueryListSentBySenderResponse) Reset()

func (*QueryListSentBySenderResponse) Size

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

func (*QueryListSentBySenderResponse) String

func (*QueryListSentBySenderResponse) Unmarshal

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

func (*QueryListSentBySenderResponse) XXX_DiscardUnknown

func (m *QueryListSentBySenderResponse) XXX_DiscardUnknown()

func (*QueryListSentBySenderResponse) XXX_Marshal

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

func (*QueryListSentBySenderResponse) XXX_Merge

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

func (*QueryListSentBySenderResponse) XXX_Size

func (m *QueryListSentBySenderResponse) XXX_Size() int

func (*QueryListSentBySenderResponse) XXX_Unmarshal

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

type QueryListTimeoutByReceiverRequest

type QueryListTimeoutByReceiverRequest struct {
	Receiver string `protobuf:"bytes,1,opt,name=receiver,proto3" json:"receiver,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 (*QueryListTimeoutByReceiverRequest) Descriptor

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

func (*QueryListTimeoutByReceiverRequest) GetLimit

func (*QueryListTimeoutByReceiverRequest) GetPage

func (*QueryListTimeoutByReceiverRequest) GetReceiver

func (m *QueryListTimeoutByReceiverRequest) GetReceiver() string

func (*QueryListTimeoutByReceiverRequest) Marshal

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

func (*QueryListTimeoutByReceiverRequest) MarshalTo

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

func (*QueryListTimeoutByReceiverRequest) MarshalToSizedBuffer

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

func (*QueryListTimeoutByReceiverRequest) ProtoMessage

func (*QueryListTimeoutByReceiverRequest) ProtoMessage()

func (*QueryListTimeoutByReceiverRequest) Reset

func (*QueryListTimeoutByReceiverRequest) Size

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

func (*QueryListTimeoutByReceiverRequest) String

func (*QueryListTimeoutByReceiverRequest) Unmarshal

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

func (*QueryListTimeoutByReceiverRequest) XXX_DiscardUnknown

func (m *QueryListTimeoutByReceiverRequest) XXX_DiscardUnknown()

func (*QueryListTimeoutByReceiverRequest) XXX_Marshal

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

func (*QueryListTimeoutByReceiverRequest) XXX_Merge

func (*QueryListTimeoutByReceiverRequest) XXX_Size

func (m *QueryListTimeoutByReceiverRequest) XXX_Size() int

func (*QueryListTimeoutByReceiverRequest) XXX_Unmarshal

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

type QueryListTimeoutByReceiverResponse

type QueryListTimeoutByReceiverResponse struct {
	TimedoutPost []*TimedoutPost `protobuf:"bytes,1,rep,name=timedoutPost,proto3" json:"timedoutPost,omitempty"`
}

func (*QueryListTimeoutByReceiverResponse) Descriptor

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

func (*QueryListTimeoutByReceiverResponse) GetTimedoutPost

func (m *QueryListTimeoutByReceiverResponse) GetTimedoutPost() []*TimedoutPost

func (*QueryListTimeoutByReceiverResponse) Marshal

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

func (*QueryListTimeoutByReceiverResponse) MarshalTo

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

func (*QueryListTimeoutByReceiverResponse) MarshalToSizedBuffer

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

func (*QueryListTimeoutByReceiverResponse) ProtoMessage

func (*QueryListTimeoutByReceiverResponse) ProtoMessage()

func (*QueryListTimeoutByReceiverResponse) Reset

func (*QueryListTimeoutByReceiverResponse) Size

func (*QueryListTimeoutByReceiverResponse) String

func (*QueryListTimeoutByReceiverResponse) Unmarshal

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

func (*QueryListTimeoutByReceiverResponse) XXX_DiscardUnknown

func (m *QueryListTimeoutByReceiverResponse) XXX_DiscardUnknown()

func (*QueryListTimeoutByReceiverResponse) XXX_Marshal

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

func (*QueryListTimeoutByReceiverResponse) XXX_Merge

func (*QueryListTimeoutByReceiverResponse) XXX_Size

func (*QueryListTimeoutByReceiverResponse) XXX_Unmarshal

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

type QueryListTimeoutBySenderRequest

type QueryListTimeoutBySenderRequest struct {
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,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 (*QueryListTimeoutBySenderRequest) Descriptor

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

func (*QueryListTimeoutBySenderRequest) GetLimit

func (*QueryListTimeoutBySenderRequest) GetPage

func (*QueryListTimeoutBySenderRequest) GetSender

func (m *QueryListTimeoutBySenderRequest) GetSender() string

func (*QueryListTimeoutBySenderRequest) Marshal

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

func (*QueryListTimeoutBySenderRequest) MarshalTo

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

func (*QueryListTimeoutBySenderRequest) MarshalToSizedBuffer

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

func (*QueryListTimeoutBySenderRequest) ProtoMessage

func (*QueryListTimeoutBySenderRequest) ProtoMessage()

func (*QueryListTimeoutBySenderRequest) Reset

func (*QueryListTimeoutBySenderRequest) Size

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

func (*QueryListTimeoutBySenderRequest) String

func (*QueryListTimeoutBySenderRequest) Unmarshal

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

func (*QueryListTimeoutBySenderRequest) XXX_DiscardUnknown

func (m *QueryListTimeoutBySenderRequest) XXX_DiscardUnknown()

func (*QueryListTimeoutBySenderRequest) XXX_Marshal

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

func (*QueryListTimeoutBySenderRequest) XXX_Merge

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

func (*QueryListTimeoutBySenderRequest) XXX_Size

func (m *QueryListTimeoutBySenderRequest) XXX_Size() int

func (*QueryListTimeoutBySenderRequest) XXX_Unmarshal

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

type QueryListTimeoutBySenderResponse

type QueryListTimeoutBySenderResponse struct {
	TimedoutPost []*TimedoutPost `protobuf:"bytes,1,rep,name=timedoutPost,proto3" json:"timedoutPost,omitempty"`
}

func (*QueryListTimeoutBySenderResponse) Descriptor

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

func (*QueryListTimeoutBySenderResponse) GetTimedoutPost

func (m *QueryListTimeoutBySenderResponse) GetTimedoutPost() []*TimedoutPost

func (*QueryListTimeoutBySenderResponse) Marshal

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

func (*QueryListTimeoutBySenderResponse) MarshalTo

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

func (*QueryListTimeoutBySenderResponse) MarshalToSizedBuffer

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

func (*QueryListTimeoutBySenderResponse) ProtoMessage

func (*QueryListTimeoutBySenderResponse) ProtoMessage()

func (*QueryListTimeoutBySenderResponse) Reset

func (*QueryListTimeoutBySenderResponse) Size

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

func (*QueryListTimeoutBySenderResponse) String

func (*QueryListTimeoutBySenderResponse) Unmarshal

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

func (*QueryListTimeoutBySenderResponse) XXX_DiscardUnknown

func (m *QueryListTimeoutBySenderResponse) XXX_DiscardUnknown()

func (*QueryListTimeoutBySenderResponse) XXX_Marshal

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

func (*QueryListTimeoutBySenderResponse) XXX_Merge

func (*QueryListTimeoutBySenderResponse) XXX_Size

func (m *QueryListTimeoutBySenderResponse) XXX_Size() int

func (*QueryListTimeoutBySenderResponse) XXX_Unmarshal

func (m *QueryListTimeoutBySenderResponse) 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 Post items.
	Post(context.Context, *QueryGetPostRequest) (*QueryGetPostResponse, error)
	PostAll(context.Context, *QueryAllPostRequest) (*QueryAllPostResponse, error)
	// Queries a list of SentPost items.
	SentPost(context.Context, *QueryGetSentPostRequest) (*QueryGetSentPostResponse, error)
	SentPostAll(context.Context, *QueryAllSentPostRequest) (*QueryAllSentPostResponse, error)
	// Queries a list of TimedoutPost items.
	TimedoutPost(context.Context, *QueryGetTimedoutPostRequest) (*QueryGetTimedoutPostResponse, error)
	TimedoutPostAll(context.Context, *QueryAllTimedoutPostRequest) (*QueryAllTimedoutPostResponse, error)
	// Queries a list of ListPostBySender items.
	ListPostBySender(context.Context, *QueryListPostBySenderRequest) (*QueryListPostBySenderResponse, error)
	// Queries a list of ListPostByReceiver items.
	ListPostByReceiver(context.Context, *QueryListPostByReceiverRequest) (*QueryListPostByReceiverResponse, error)
	// Queries a list of ListSentBySender items.
	ListSentBySender(context.Context, *QueryListSentBySenderRequest) (*QueryListSentBySenderResponse, error)
	// Queries a list of ListSentByReceiver items.
	ListSentByReceiver(context.Context, *QueryListSentByReceiverRequest) (*QueryListSentByReceiverResponse, error)
	// Queries a list of ListTimeoutBySender items.
	ListTimeoutBySender(context.Context, *QueryListTimeoutBySenderRequest) (*QueryListTimeoutBySenderResponse, error)
	// Queries a list of ListTimeoutByReceiver items.
	ListTimeoutByReceiver(context.Context, *QueryListTimeoutByReceiverRequest) (*QueryListTimeoutByReceiverResponse, error)
}

QueryServer is the server API for Query service.

type ScopedKeeper

type ScopedKeeper interface {
	GetCapability(ctx sdk.Context, name string) (*capabilitytypes.Capability, bool)
	AuthenticateCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) bool
	ClaimCapability(ctx sdk.Context, cap *capabilitytypes.Capability, name string) error
}

ScopedKeeper defines the expected IBC scoped keeper.

type SentPost

type SentPost struct {
	Id           uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	PostID       string `protobuf:"bytes,2,opt,name=postID,proto3" json:"postID,omitempty"`
	Title        string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	Payload      string `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
	ToChain      string `protobuf:"bytes,5,opt,name=toChain,proto3" json:"toChain,omitempty"`
	Sender       string `protobuf:"bytes,6,opt,name=sender,proto3" json:"sender,omitempty"`
	Receiver     string `protobuf:"bytes,7,opt,name=receiver,proto3" json:"receiver,omitempty"`
	SentDate     string `protobuf:"bytes,8,opt,name=sentDate,proto3" json:"sentDate,omitempty"`
	LinkSender   string `protobuf:"bytes,9,opt,name=linkSender,proto3" json:"linkSender,omitempty"`
	LinkReceiver string `protobuf:"bytes,10,opt,name=linkReceiver,proto3" json:"linkReceiver,omitempty"`
}

func (*SentPost) Descriptor

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

func (*SentPost) GetId

func (m *SentPost) GetId() uint64

func (*SentPost) GetLinkReceiver

func (m *SentPost) GetLinkReceiver() string

func (*SentPost) GetLinkSender

func (m *SentPost) GetLinkSender() string

func (*SentPost) GetPayload

func (m *SentPost) GetPayload() string

func (*SentPost) GetPostID

func (m *SentPost) GetPostID() string

func (*SentPost) GetReceiver

func (m *SentPost) GetReceiver() string

func (*SentPost) GetSender

func (m *SentPost) GetSender() string

func (*SentPost) GetSentDate

func (m *SentPost) GetSentDate() string

func (*SentPost) GetTitle

func (m *SentPost) GetTitle() string

func (*SentPost) GetToChain

func (m *SentPost) GetToChain() string

func (*SentPost) Marshal

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

func (*SentPost) MarshalTo

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

func (*SentPost) MarshalToSizedBuffer

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

func (*SentPost) ProtoMessage

func (*SentPost) ProtoMessage()

func (*SentPost) Reset

func (m *SentPost) Reset()

func (*SentPost) Size

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

func (*SentPost) String

func (m *SentPost) String() string

func (*SentPost) Unmarshal

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

func (*SentPost) XXX_DiscardUnknown

func (m *SentPost) XXX_DiscardUnknown()

func (*SentPost) XXX_Marshal

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

func (*SentPost) XXX_Merge

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

func (*SentPost) XXX_Size

func (m *SentPost) XXX_Size() int

func (*SentPost) XXX_Unmarshal

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

type TimedoutPost

type TimedoutPost struct {
	Id           uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Title        string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	ToChain      string `protobuf:"bytes,3,opt,name=toChain,proto3" json:"toChain,omitempty"`
	Sender       string `protobuf:"bytes,4,opt,name=sender,proto3" json:"sender,omitempty"`
	Receiver     string `protobuf:"bytes,5,opt,name=receiver,proto3" json:"receiver,omitempty"`
	SentDate     string `protobuf:"bytes,6,opt,name=sentDate,proto3" json:"sentDate,omitempty"`
	LinkSender   string `protobuf:"bytes,7,opt,name=linkSender,proto3" json:"linkSender,omitempty"`
	LinkReceiver string `protobuf:"bytes,8,opt,name=linkReceiver,proto3" json:"linkReceiver,omitempty"`
}

func (*TimedoutPost) Descriptor

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

func (*TimedoutPost) GetId

func (m *TimedoutPost) GetId() uint64

func (*TimedoutPost) GetLinkReceiver

func (m *TimedoutPost) GetLinkReceiver() string

func (*TimedoutPost) GetLinkSender

func (m *TimedoutPost) GetLinkSender() string

func (*TimedoutPost) GetReceiver

func (m *TimedoutPost) GetReceiver() string

func (*TimedoutPost) GetSender

func (m *TimedoutPost) GetSender() string

func (*TimedoutPost) GetSentDate

func (m *TimedoutPost) GetSentDate() string

func (*TimedoutPost) GetTitle

func (m *TimedoutPost) GetTitle() string

func (*TimedoutPost) GetToChain

func (m *TimedoutPost) GetToChain() string

func (*TimedoutPost) Marshal

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

func (*TimedoutPost) MarshalTo

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

func (*TimedoutPost) MarshalToSizedBuffer

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

func (*TimedoutPost) ProtoMessage

func (*TimedoutPost) ProtoMessage()

func (*TimedoutPost) Reset

func (m *TimedoutPost) Reset()

func (*TimedoutPost) Size

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

func (*TimedoutPost) String

func (m *TimedoutPost) String() string

func (*TimedoutPost) Unmarshal

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

func (*TimedoutPost) XXX_DiscardUnknown

func (m *TimedoutPost) XXX_DiscardUnknown()

func (*TimedoutPost) XXX_Marshal

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

func (*TimedoutPost) XXX_Merge

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

func (*TimedoutPost) XXX_Size

func (m *TimedoutPost) XXX_Size() int

func (*TimedoutPost) XXX_Unmarshal

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) SendIbcPost

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) ListPostByReceiver

func (*UnimplementedQueryServer) ListPostBySender

func (*UnimplementedQueryServer) ListSentByReceiver

func (*UnimplementedQueryServer) ListSentBySender

func (*UnimplementedQueryServer) ListTimeoutBySender

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) Post

func (*UnimplementedQueryServer) PostAll

func (*UnimplementedQueryServer) SentPost

func (*UnimplementedQueryServer) SentPostAll

func (*UnimplementedQueryServer) TimedoutPost

func (*UnimplementedQueryServer) TimedoutPostAll

Jump to

Keyboard shortcuts

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