mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-08 04:20:59 -05:00
f8f1320501
Signed-off-by: Christian Richter <crichter@owncloud.com>
14 lines
287 B
Go
14 lines
287 B
Go
package svc
|
|
|
|
import (
|
|
"github.com/owncloud/ocis/v2/services/settings/pkg/metrics"
|
|
)
|
|
|
|
// NewInstrument returns a service that instruments metrics.
|
|
func NewInstrument(next Service, metrics *metrics.Metrics) Service {
|
|
return Service{
|
|
manager: next.manager,
|
|
config: next.config,
|
|
}
|
|
}
|