Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PacketHandler ¶
type PacketHandler interface {
HandlePacket(
ctx sdk.Context,
packet channeltypes.Packet,
ip packets.IncomingPacket,
) (*sdk.Result, *packets.PacketAcknowledgementData, error)
HandleACK(
ctx sdk.Context,
packet channeltypes.Packet,
ip packets.IncomingPacket,
ipa packets.IncomingPacketAcknowledgement,
) (*sdk.Result, error)
}
type Router ¶
type Router interface {
AddRoute(typeName string, h PacketHandler)
GetRoute(typeName string) (PacketHandler, bool)
}
Click to show internal directories.
Click to hide internal directories.