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

Method UnloadPlugin

sdk/pluginhost/host.go:88–93  ·  view source on GitHub ↗

UnloadPlugin removes one plugin from the active runtime and closes its dynamic library.

(id string)

Source from the content-addressed store, hash-verified

86
87// UnloadPlugin removes one plugin from the active runtime and closes its dynamic library.
88func (h *Host) UnloadPlugin(id string) bool {
89 if h == nil || h.inner == nil {
90 return false
91 }
92 return h.inner.UnloadPlugin(id)
93}
94
95// ParseAuth lets plugin auth providers parse a credential payload.
96func (h *Host) ParseAuth(ctx context.Context, req pluginapi.AuthParseRequest) (*coreauth.Auth, bool, error) {

Callers

nothing calls this directly

Calls 1

UnloadPluginMethod · 0.65

Tested by

no test coverage detected