// OperationNameFunc returns a FilterOption that uses given function f
// to generate operation name for each server-side span.
OperationNameFunc returns a FilterOption that uses given function f
to generate operation name for each server-side span.
// OperationNameFunc returns a FilterOption that uses given function f // to generate operation name for each server - side span .
func OperationNameFunc(f func(r *restful.Request) string) FilterOption {
	return func(options *filterOptions) {
		options.operationNameFunc = f
	}
}
func OperationNameFunc ( f func ( r * restful . Request ) string ) FilterOption { return func ( options * filterOptions ) { options . operationNameFunc = f } }
OperationNameFunc returns a FilterOption that uses given function f
to generate operation name for each server-side span.
OperationNameFunc returns a FilterOption that uses given function f to generate operation name for each server - side span .