Versions in this module Expand all Collapse all v0 v0.1.1 Oct 15, 2023 Changes in this version + func WithALPN(enable bool) config.Option + func WithAltTransport(transporter func(options *config.Options) network.Transporter) config.Option + func WithAutoReloadRender(b bool, interval time.Duration) config.Option + func WithBasePath(basePath string) config.Option + func WithBindConfig(bc *binding.BindConfig) config.Option + func WithCustomBinder(b binding.Binder) config.Option + func WithCustomValidator(b binding.StructValidator) config.Option + func WithDisableHeaderNamesNormalizing(disable bool) config.Option + func WithDisablePreParseMultipartForm(b bool) config.Option + func WithDisablePrintRoute(b bool) config.Option + func WithExitWaitTime(timeout time.Duration) config.Option + func WithGetOnly(isOnly bool) config.Option + func WithH2C(enable bool) config.Option + func WithHandleMethodNotAllowed(b bool) config.Option + func WithHostPorts(hp string) config.Option + func WithIdleTimeout(t time.Duration) config.Option + func WithKeepAlive(b bool) config.Option + func WithKeepAliveTimeout(t time.Duration) config.Option + func WithListenConfig(l *net.ListenConfig) config.Option + func WithMaxKeepBodySize(bs int) config.Option + func WithMaxRequestBodySize(bs int) config.Option + func WithNetwork(nw string) config.Option + func WithOnAccept(fn func(conn net.Conn) context.Context) config.Option + func WithOnConnect(fn func(ctx context.Context, conn network.Conn) context.Context) config.Option + func WithReadBufferSize(size int) config.Option + func WithReadTimeout(t time.Duration) config.Option + func WithRedirectFixedPath(b bool) config.Option + func WithRedirectTrailingSlash(b bool) config.Option + func WithRegistry(r registry.Registry, info *registry.Info) config.Option + func WithRemoveExtraSlash(b bool) config.Option + func WithStreamBody(b bool) config.Option + func WithTLS(cfg *tls.Config) config.Option + func WithTraceLevel(level stats.Level) config.Option + func WithTracer(t tracer.Tracer) config.Option + func WithTransport(transporter func(options *config.Options) network.Transporter) config.Option + func WithUnescapePathValues(b bool) config.Option + func WithUseRawPath(b bool) config.Option + func WithValidateConfig(vc *binding.ValidateConfig) config.Option + func WithWriteTimeout(t time.Duration) config.Option + type Hertz struct + func Default(opts ...config.Option) *Hertz + func New(opts ...config.Option) *Hertz + func (h *Hertz) SetCustomSignalWaiter(f func(err chan error) error) + func (h *Hertz) Spin()