Versions in this module Expand all Collapse all v1 v1.3.0 Feb 8, 2019 Changes in this version type HttpServer + AllowEarlyInstrumentation bool + IdContextBuilder IdentifiedRequestContextBuilder + RequestInstrumentationManagerName string + type IdentifiedRequestContextBuilder interface + Id func(ctx context.Context) string + WithIdentity func(ctx context.Context, req *http.Request) (context.Context, error) v1.3.0-pre1 Feb 8, 2019 v1.2.1 Oct 8, 2018 v1.1.1 Jan 16, 2018 v1.1.0 Jan 11, 2018 Changes in this version + type HttpServer struct + AbnormalStatusWriter ws.AbnormalStatusWriter + AbnormalStatusWriterName string + AccessLogWriter *AccessLogWriter + AccessLogging bool + ActiveRequests int64 + Address string + AutoFindHandlers bool + FrameworkLogger logging.Logger + MaxConcurrent int64 + Port int + TooBusyStatus int + VersionExtractor httpendpoint.RequestedVersionExtractor + func (h *HttpServer) AllowAccess() error + func (h *HttpServer) Container(container *ioc.ComponentContainer) + func (h *HttpServer) PrepareToStop() + func (h *HttpServer) ReadyToStop() (bool, error) + func (h *HttpServer) Resume() error + func (h *HttpServer) SetProvidersManually(p map[string]httpendpoint.HttpEndpointProvider) + func (h *HttpServer) StartComponent() error + func (h *HttpServer) Stop() error + func (h *HttpServer) Suspend() error v1.0.1 Aug 9, 2017 Changes in this version + const HttpServerAbnormalStatusFieldName + const HttpServerComponentName + const PresetCombinedFormat + const PresetFrameworkFormat + type AccessLogWriter struct + LineBufferSize int + LogLineFormat string + LogLinePreset string + LogPath string + UtcTimes bool + func (alw *AccessLogWriter) LogRequest(req *http.Request, res *httpendpoint.HTTPResponseWriter, rec *time.Time, ...) + func (alw *AccessLogWriter) PrepareToStop() + func (alw *AccessLogWriter) ReadyToStop() (bool, error) + func (alw *AccessLogWriter) StartComponent() error + func (alw *AccessLogWriter) Stop() error + type HTTPServer struct + AbnormalStatusWriter ws.AbnormalStatusWriter + AbnormalStatusWriterName string + AccessLogWriter *AccessLogWriter + AccessLogging bool + ActiveRequests int64 + Address string + AutoFindHandlers bool + FrameworkLogger logging.Logger + MaxConcurrent int64 + Port int + TooBusyStatus int + VersionExtractor httpendpoint.RequestedVersionExtractor + func (h *HTTPServer) AllowAccess() error + func (h *HTTPServer) Container(container *ioc.ComponentContainer) + func (h *HTTPServer) PrepareToStop() + func (h *HTTPServer) ReadyToStop() (bool, error) + func (h *HTTPServer) Resume() error + func (h *HTTPServer) SetProvidersManually(p map[string]httpendpoint.HttpEndpointProvider) + func (h *HTTPServer) StartComponent() error + func (h *HTTPServer) Stop() error + func (h *HTTPServer) Suspend() error + type HttpServerFacilityBuilder struct + func (hsfb *HttpServerFacilityBuilder) BuildAndRegister(lm *logging.ComponentLoggerManager, ca *config.ConfigAccessor, ...) error + func (hsfb *HttpServerFacilityBuilder) DependsOnFacilities() []string + func (hsfb *HttpServerFacilityBuilder) FacilityName() string Other modules containing this package github.com/graniticio/granitic/v2