store: add Name func

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2021-01-29 14:02:54 +03:00
parent 827d467077
commit 7af7649448

View File

@ -91,6 +91,13 @@ func Meter(m meter.Meter) Option {
}
}
// Name the name
func Name(n string) Option {
return func(o *Options) {
o.Name = n
}
}
// Tracer sets the tracer
func Tracer(t tracer.Tracer) Option {
return func(o *Options) {