13 lines
246 B
Go
13 lines
246 B
Go
|
package instana
|
||
|
|
||
|
import (
|
||
|
sensor "github.com/instana/go-sensor"
|
||
|
"go.unistack.org/micro/v4/options"
|
||
|
)
|
||
|
|
||
|
type tracerOptionsKey struct{}
|
||
|
|
||
|
func Options(opts *sensor.Options) options.Option {
|
||
|
return options.ContextOption(tracerOptionsKey{}, opts)
|
||
|
}
|