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

18 lines
267 B
Go
Raw Permalink Normal View History

2023-11-02 18:36:36 +08:00
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
}
}