ping

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PingModule = &module.Module{
	Command: &module.Command{
		Name:    "bee.builtin.ping",
		Long:    "",
		Script:  "builtin/ping/ping.tengo",
		Authors: []string{"lack"},
		Version: "v1.0.0",
		Example: pingExample,
		Params: []*module.Schema{
			{
				Name:        "data",
				Type:        "string",
				Description: "Data to return for the `ping` return value.If this parameter is set to `crash`, the module will cause an error.",
				Default:     "ping",
			},
		},
		Returns: []*module.Schema{
			{
				Name:    "data",
				Type:    "string",
				Default: "pong",
			},
		},

		Run: module.DefaultRunCommand,
	},
	Dir: "builtin/ping",
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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