Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReceivePings ¶
func ReceivePings(context ReceivePingsContext, incomingRoute *router.Route, outgoingRoute *router.Route) error
ReceivePings handles all ping messages coming through incomingRoute. This function assumes that incomingRoute will only return MsgPing.
Types ¶
type ReceivePingsContext ¶
type ReceivePingsContext interface { }
ReceivePingsContext is the interface for the context needed for the ReceivePings flow.
type SendPingsContext ¶
type SendPingsContext interface {
ShutdownChan() <-chan struct{}
}
SendPingsContext is the interface for the context needed for the SendPings flow.
Click to show internal directories.
Click to hide internal directories.