MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / WithHooks

Method WithHooks

sdk/cliproxy/builder.go:128–131  ·  view source on GitHub ↗

WithHooks registers lifecycle hooks executed around service startup.

(h Hooks)

Source from the content-addressed store, hash-verified

126
127// WithHooks registers lifecycle hooks executed around service startup.
128func (b *Builder) WithHooks(h Hooks) *Builder {
129 b.hooks = h
130 return b
131}
132
133// WithAuthManager overrides the authentication manager used for token lifecycle operations.
134func (b *Builder) WithAuthManager(mgr *sdkAuth.Manager) *Builder {

Callers 2

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected