builtin

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: Apache-2.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Builtin

func Builtin(name string) (types.Tool, bool)

func GetDefaultModel added in v0.1.4

func GetDefaultModel() string

func ListTools

func ListTools() (result []types.Tool)

func SetDefaultModel added in v0.1.4

func SetDefaultModel(model string)

func SetDefaults

func SetDefaults(tool types.Tool) types.Tool

func SysAbort

func SysAbort(ctx context.Context, env []string, input string) (string, error)

func SysAppend added in v0.1.4

func SysAppend(ctx context.Context, env []string, input string) (string, error)

func SysDownload

func SysDownload(ctx context.Context, env []string, input string) (_ string, err error)

func SysExec

func SysExec(ctx context.Context, env []string, input string) (string, error)

func SysFind

func SysFind(ctx context.Context, env []string, input string) (string, error)

func SysGetenv

func SysGetenv(ctx context.Context, env []string, input string) (string, error)

func SysHTTPGet

func SysHTTPGet(ctx context.Context, env []string, input string) (_ string, err error)

func SysHTTPHtml2Text

func SysHTTPHtml2Text(ctx context.Context, env []string, input string) (string, error)

func SysHTTPPost

func SysHTTPPost(ctx context.Context, env []string, input string) (_ string, err error)

func SysProgram

func SysProgram() *types.Program

func SysRead

func SysRead(ctx context.Context, env []string, input string) (string, error)

func SysRemove

func SysRemove(ctx context.Context, env []string, input string) (string, error)

func SysStat added in v0.1.4

func SysStat(ctx context.Context, env []string, input string) (string, error)

func SysWrite

func SysWrite(ctx context.Context, env []string, input string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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