func ServerErrHandler(eh ErrHandler) ServerOption {
	return func(h *handler) {
		h.errHandler = eh
	}
}
ServerErrHandler allows to pass a custom error handler for the server response
package http
import (
	"io"
	"net/http"
	"strconv"
	"sync/atomic"
	zipkin "github.com/openzipkin/zipkin-go"
	"github.com/openzipkin/zipkin-go/model"
	"github.com/openzipkin/zipkin-go/propagation/b3"
)
type handler struct {
	tracer          *zipkin.Tracer
	name            string
	next            http.Handler
	tagResponseSize bool
	defaultTags     map[string]string
	requestSampler  RequestSamplerFunc
	errHandler      ErrHandler
}
type ServerOption func(*handler)
func ServerTags(tags map[string]string) ServerOption {
	return func(h *handler) {
		h.defaultTags = tags
	}
}
func TagResponseSize(enabled bool) ServerOption {
	return func(h *handler) {
		h.tagResponseSize = enabled
	}
}
func SpanName(name string) ServerOption {
	return func(h *handler) {
		h.name = name
	}
}
func RequestSampler(sampleFunc RequestSamplerFunc) ServerOption {
	return func(h *handler) {
		h.requestSampler = sampleFunc
	}
}