net

package
v1.8.9 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPingTool

func NewPingTool() types.Tool

func NewSSHTool

func NewSSHTool() types.Tool

Types

type PingTool

type PingTool struct{}

func (*PingTool) Description

func (t *PingTool) Description() string

func (*PingTool) Execute

func (t *PingTool) Execute(ctx context.Context, input map[string]interface{}) (interface{}, error)

func (*PingTool) Metadata

func (t *PingTool) Metadata() types.ToolMetadata

func (*PingTool) Name

func (t *PingTool) Name() string

func (*PingTool) Schema

func (t *PingTool) Schema() map[string]interface{}

type SSHTool

type SSHTool struct{}

func (*SSHTool) Description

func (t *SSHTool) Description() string

func (*SSHTool) Execute

func (t *SSHTool) Execute(ctx context.Context, input map[string]interface{}) (interface{}, error)

func (*SSHTool) Metadata

func (t *SSHTool) Metadata() types.ToolMetadata

func (*SSHTool) Name

func (t *SSHTool) Name() string

func (*SSHTool) Schema

func (t *SSHTool) Schema() map[string]interface{}

Jump to

Keyboard shortcuts

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