MCPcopy Index your code
hub / github.com/php/frankenphp / opt

Struct opt

options.go:22–35  ·  view source on GitHub ↗

opt contains the available options. If you change this, also update the Caddy module and the documentation.

Source from the content-addressed store, hash-verified

20//
21// If you change this, also update the Caddy module and the documentation.
22type opt struct {
23 hotReloadOpt
24
25 ctx context.Context
26 numThreads int
27 maxThreads int
28 workers []workerOpt
29 logger *slog.Logger
30 metrics Metrics
31 phpIni map[string]string
32 maxWaitTime time.Duration
33 maxIdleTime time.Duration
34 maxRequests int
35}
36
37type workerOpt struct {
38 mercureContext

Callers 1

TestWithRequestSplitPathFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestWithRequestSplitPathFunction · 0.68