interceptors

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Callbacks

func Callbacks(logCalls, blockSecrets bool, interceptors []Interceptor) server.ToolHandlerMiddleware

Types

type Interceptor

type Interceptor struct {
	When     string
	Type     string
	Argument string
}

func Parse

func Parse(specs []string) ([]Interceptor, error)

--interceptor=before:exec:/bin/path --interceptor=after:docker:image --interceptor=around:http:localhost:8080/url

func (*Interceptor) Run

Jump to

Keyboard shortcuts

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