Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlockSecrets ¶
func BlockSecrets(next server.ToolHandlerFunc) server.ToolHandlerFunc
func Callbacks ¶
func Callbacks(logCalls, blockSecrets bool, interceptors []Interceptor) server.ToolHandlerMiddleware
func LogCalls ¶
func LogCalls(next server.ToolHandlerFunc) server.ToolHandlerFunc
Types ¶
type Interceptor ¶
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 ¶
func (i *Interceptor) Run(next server.ToolHandlerFunc) server.ToolHandlerFunc
Click to show internal directories.
Click to hide internal directories.