Versions in this module Expand all Collapse all v0 v0.26.0 Dec 20, 2021 Changes in this version + var Set = wire.NewSet(New, ...) + type DefaultDriver struct + Server http.Server + func NewDefaultDriver() *DefaultDriver + func (dd *DefaultDriver) ListenAndServe(addr string, h http.Handler) error + func (dd *DefaultDriver) ListenAndServeTLS(addr, certFile, keyFile string, h http.Handler) error + func (dd *DefaultDriver) Shutdown(ctx context.Context) error + type Options struct + DefaultSamplingPolicy trace.Sampler + Driver driver.Server + HealthChecks []health.Checker + RequestLogger requestlog.Logger + TraceExporter trace.Exporter + type Server struct + func New(h http.Handler, opts *Options) *Server + func (srv *Server) ListenAndServe(addr string) error + func (srv *Server) ListenAndServeTLS(addr, certFile, keyFile string) error + func (srv *Server) Shutdown(ctx context.Context) error