Documentation ¶
Index ¶
Constants ¶
View Source
const EventStatusChangedTopic = "network.status-changed"
Variables ¶
View Source
var (
ErrTargetResolutionFailed = errors.New("target ip resolution is failed")
)
Functions ¶
Types ¶
type EventNetworkDown ¶
func (*EventNetworkDown) Name ¶
func (e *EventNetworkDown) Name() string
func (*EventNetworkDown) ToEvent ¶
func (e *EventNetworkDown) ToEvent() *event.EventPayload
type EventNetworkUp ¶
func (*EventNetworkUp) Name ¶
func (e *EventNetworkUp) Name() string
func (*EventNetworkUp) ToEvent ¶
func (e *EventNetworkUp) ToEvent() *event.EventPayload
Click to show internal directories.
Click to hide internal directories.