MCPcopy Create free account
hub / github.com/cloudwan/gohan / LoadExtensionsForPath

Method LoadExtensionsForPath

extension/extension.go:30–30  ·  view source on GitHub ↗
(extensions []*schema.Extension, timeLimit time.Duration, timeLimits []*schema.PathEventTimeLimit, path string)

Source from the content-addressed store, hash-verified

28//Environment is a interface for extension environment
29type Environment interface {
30 LoadExtensionsForPath(extensions []*schema.Extension, timeLimit time.Duration, timeLimits []*schema.PathEventTimeLimit, path string) error
31 HandleEvent(event string, context map[string]interface{}) error
32 Clone() Environment
33 IsEventHandled(event string, context map[string]interface{}) bool

Callers 10

publishEventWithOptionsFunction · 0.95
NewEnvironmentForPathMethod · 0.65
env_test.goFile · 0.65
env_test.goFile · 0.65
LoadExtensionsForPathMethod · 0.65
otto_test.goFile · 0.65

Implementers 8

MultiEnvironmentextension/multienv.go
Environmentextension/gohanscript/env.go
Environmentextension/golang/env.go
Environmentextension/goplugin/environment.go
MockIEnvironmentextension/goplugin/environment_mock.go
MockEnvironmentextension/mocks/environment_mock.go
MockEnvironmentMockRecorderextension/mocks/environment_mock.go
Environmentextension/otto/otto.go

Calls

no outgoing calls

Tested by 1