MCPcopy Index your code
hub / github.com/foxcpp/maddy / Get

Method Get

framework/module/module_specific_data.go:58–63  ·  view source on GitHub ↗
(m Module, perInstance bool)

Source from the content-addressed store, hash-verified

56}
57
58func (msd *ModSpecificData) Get(m Module, perInstance bool) interface{} {
59 key := msd.modKey(m, perInstance)
60 msd.modDataLck.RLock()
61 defer msd.modDataLck.RUnlock()
62 return msd.modData[key]
63}

Callers

nothing calls this directly

Calls 1

modKeyMethod · 0.95

Tested by

no test coverage detected