Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExternalHandler ¶
type ExternalHandler interface {
Connected(nodeID ids.NodeID, nodeVersion interface{}, subnetID ids.ID)
Disconnected(nodeID ids.NodeID)
HandleInbound(context.Context, Message) error
}
ExternalHandler handles messages from external chains
type HealthConfig ¶
type HealthConfig struct {
Enabled bool
Interval time.Duration
Timeout time.Duration
MaxOutstandingChecks int
}
HealthConfig configures health checks
type InboundHandler ¶
InboundHandler handles inbound messages
Click to show internal directories.
Click to hide internal directories.