mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-05 19:59:37 -06:00
14 lines
275 B
Go
14 lines
275 B
Go
package svc
|
|
|
|
import (
|
|
"github.com/owncloud/ocis/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,
|
|
}
|
|
}
|