mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-15 00:31:30 -05:00
* bump dependencies Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * bump reva and add config options Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> --------- Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
22 lines
334 B
Go
22 lines
334 B
Go
package trace
|
|
|
|
import "context"
|
|
|
|
type noop struct{}
|
|
|
|
func (n *noop) Init(...Option) error {
|
|
return nil
|
|
}
|
|
|
|
func (n *noop) Start(ctx context.Context, name string) (context.Context, *Span) {
|
|
return nil, nil
|
|
}
|
|
|
|
func (n *noop) Finish(*Span) error {
|
|
return nil
|
|
}
|
|
|
|
func (n *noop) Read(...ReadOption) ([]*Span, error) {
|
|
return nil, nil
|
|
}
|