Help us shape the future of Go! Take the 2026 Go Developer Survey

hook

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hooks

type Hooks struct {
	PreToolUse  []PreToolUse
	PostToolUse []PostToolUse
}

type PostToolUse

type PostToolUse func(ctx context.Context, call tool.ToolCall, result string) (string, error)

type PreToolUse

type PreToolUse func(ctx context.Context, call tool.ToolCall) (string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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