finclip-app-manager/vendor/gitlab.finogeeks.club/finclip-backend/apm/noop.go

18 lines
267 B
Go

package apm
import (
"github.com/SkyAPM/go2sky/propagation"
)
func NoopExtractor() propagation.Extractor {
return func() (s string, e error) {
return "", nil
}
}
func NoopInjector() propagation.Injector {
return func(header string) error {
return nil
}
}