ping

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package ping implements a plugin to ping a host or IP (v4/v6) using system ping. It is made for ping/ping6 from iputils (options and output parsing).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ping

func Ping(host string, ipv6 bool) (string, error)

Ping runs ping against given host and returns its output.

func Register

func Register(b bot.Bot)

Register registers the plugin with a bot.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL