Documentation ¶
Index ¶
- type IBCChannelMessageRow
- type IBCChannelMessages
- type IBCChannelMessagesListFilter
- type IBCChannelMessagesListOrder
- type IBCChannelMessagesTotal
- type IBCChannelMessagesTotalView
- type IBCChannelMessagesView
- type MockIBCChannelMessageTotalView
- type MockIBCChannelMessageView
- func (ibcChannelMessagesView *MockIBCChannelMessageView) Insert(ibcChannelMessage *IBCChannelMessageRow) error
- func (ibcChannelMessagesView *MockIBCChannelMessageView) ListByChannelID(channelID string, order IBCChannelMessagesListOrder, ...) ([]IBCChannelMessageRow, *pagination2.PaginationResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IBCChannelMessageRow ¶
type IBCChannelMessageRow struct { ChannelID string `json:"channelId"` BlockHeight int64 `json:"blockHeight"` BlockTime utctime.UTCTime `json:"blockTime"` TransactionHash string `json:"transactionHash"` MaybeRelayer *string `json:"relayer"` MaybeSuccess *bool `json:"success"` MaybeError *string `json:"error"` MaybeSender *string `json:"sender"` MaybeReceiver *string `json:"receiver"` MaybeDenom *string `json:"denom"` MaybeAmount *string `json:"amount"` MessageType string `json:"messageType"` Message interface{} `json:"message"` }
type IBCChannelMessages ¶
type IBCChannelMessages interface { Insert(*IBCChannelMessageRow) error ListByChannelID( channelID string, order IBCChannelMessagesListOrder, filter IBCChannelMessagesListFilter, pagination *pagination.Pagination, ) ( []IBCChannelMessageRow, *pagination.PaginationResult, error, ) }
func NewIBCChannelMessagesView ¶
func NewIBCChannelMessagesView(handle *rdb.Handle) IBCChannelMessages
type IBCChannelMessagesListFilter ¶
type IBCChannelMessagesListFilter struct {
MaybeMsgTypes []string
}
type IBCChannelMessagesTotal ¶
type IBCChannelMessagesTotal interface { Increment(identity string, total int64) error SumBy(identities []string) (int64, error) }
func NewIBCChannelMessagesTotalView ¶
func NewIBCChannelMessagesTotalView(rdbHandle *rdb.Handle) IBCChannelMessagesTotal
type IBCChannelMessagesView ¶
type IBCChannelMessagesView struct {
// contains filtered or unexported fields
}
func (*IBCChannelMessagesView) Insert ¶
func (ibcChannelMessagesView *IBCChannelMessagesView) Insert(ibcChannelMessage *IBCChannelMessageRow) error
func (*IBCChannelMessagesView) ListByChannelID ¶
func (ibcChannelMessagesView *IBCChannelMessagesView) ListByChannelID( channelID string, order IBCChannelMessagesListOrder, filter IBCChannelMessagesListFilter, pagination *pagination.Pagination, ) ( []IBCChannelMessageRow, *pagination.PaginationResult, error, )
type MockIBCChannelMessageTotalView ¶
type MockIBCChannelMessageTotalView struct {
testify_mock.Mock
}
type MockIBCChannelMessageView ¶
type MockIBCChannelMessageView struct {
testify_mock.Mock
}
func (*MockIBCChannelMessageView) Insert ¶
func (ibcChannelMessagesView *MockIBCChannelMessageView) Insert(ibcChannelMessage *IBCChannelMessageRow) error
func (*MockIBCChannelMessageView) ListByChannelID ¶
func (ibcChannelMessagesView *MockIBCChannelMessageView) ListByChannelID( channelID string, order IBCChannelMessagesListOrder, filter IBCChannelMessagesListFilter, pagination *pagination2.Pagination, ) ( []IBCChannelMessageRow, *pagination2.PaginationResult, error, )
Click to show internal directories.
Click to hide internal directories.