MCPcopy Create free account
hub / github.com/CPChain/chain / InstrumentedServiceMakerA

Function InstrumentedServiceMakerA

node/utils_test.go:95–97  ·  view source on GitHub ↗
(base ServiceConstructor)

Source from the content-addressed store, hash-verified

93type InstrumentedServiceC struct{ InstrumentedService }
94
95func InstrumentedServiceMakerA(base ServiceConstructor) ServiceConstructor {
96 return InstrumentingWrapperMaker(base, reflect.TypeOf(InstrumentedServiceA{}))
97}
98
99func InstrumentedServiceMakerB(base ServiceConstructor) ServiceConstructor {
100 return InstrumentingWrapperMaker(base, reflect.TypeOf(InstrumentedServiceB{}))

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected