Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/caddyserver/caddy
/ functions
Functions
2,647 in github.com/caddyserver/caddy
⨍
Functions
2,647
◇
Types & classes
525
Method
Match
Match returns true if r matches m.
modules/caddyhttp/ip_matchers.go:253
Method
Match
Match returns true if the given statusCode and hdr match rm.
modules/caddyhttp/responsematchers.go:40
Method
Match
Match returns true if the request matches all matchers in mset or if there are no matchers.
modules/caddyhttp/routes.go:350
Method
Match
Match returns true if r matches m.
modules/caddyhttp/matchers.go:301
Method
Match
Match returns true if r matches m.
modules/caddyhttp/matchers.go:423
Method
Match
Match returns true if r matches m.
modules/caddyhttp/matchers.go:708
Method
Match
Match returns true if r matches m.
modules/caddyhttp/matchers.go:801
Method
Match
Match returns true if r matches m. An empty m matches an empty query string.
modules/caddyhttp/matchers.go:866
Method
Match
Match returns true if r matches m.
modules/caddyhttp/matchers.go:990
Method
Match
Match returns true if r matches m.
modules/caddyhttp/matchers.go:1135
Method
Match
Match returns true if r matches m.
modules/caddyhttp/matchers.go:1253
Method
Match
Match returns true if r matches m.
modules/caddyhttp/matchers.go:1330
Method
Match
Match returns true if r matches m. Since this matcher negates the embedded matchers, false is returned if any of its matcher sets return true.
modules/caddyhttp/matchers.go:1436
Method
Match
Match returns true if input matches the compiled regular expression in mre. It sets values on the replacer repl associated with capture groups, using
modules/caddyhttp/matchers.go:1501
Method
Match
Match returns true if r matches m.
modules/caddyhttp/celmatcher.go:204
Method
Match
Match matches a request based on variables in the context, or placeholders if the key is not a variable.
modules/caddyhttp/vars.go:170
Method
Match
Match returns true if r matches m.
modules/caddyhttp/vars.go:310
Method
Match
Match determines, if encoding should be done based on the ResponseMatcher.
modules/caddyhttp/encode/encode.go:286
Method
Match
Match returns true if r matches m. Returns true if a file was matched. If so, four placeholders will be available: - http.matchers.file.relative: Path
modules/caddyhttp/fileserver/matcher.go:317
Method
MatchWithError
MatchWithError returns true if r matches m.
modules/caddyhttp/routes.go:371
Method
Modify
(cert *x509.Certificate, _ provisioner.SignOptions)
modules/caddytls/internalissuer.go:194
Function
Modules
Modules returns the names of all registered modules in ascending lexicographical order.
modules.go:246
Function
NewEmptyReplacer
NewEmptyReplacer returns a new Replacer, without the global default replacements.
replacer.go:49
Method
NewEncoder
NewEncoder returns a new Zstandard writer.
modules/caddyhttp/encode/zstd/zstd.go:118
Method
NewEncoder
NewEncoder returns a new gzip writer.
modules/caddyhttp/encode/gzip/gzip.go:84
Method
Next
Next returns a channel which transmits the latest session ticket keys.
modules/caddytls/standardstek/stek.go:76
Method
Next
Next returns a channel which transmits the latest session ticket keys.
modules/caddytls/distributedstek/distributedstek.go:113
Method
On
On is syntactic sugar for Subscribe() that binds a single handler to a single event from any module. If the eventName is empty string, it counts for a
modules/caddyevents/app.go:194
Function
OnExit
OnExit registers a callback to invoke during process exit. This registration is PROCESS-GLOBAL, meaning that each function should only be registered o
caddy.go:853
Method
OnExit
OnExit executes f when the process exits gracefully. The function is only executed if the process is gracefully shut down while this context is active
context.go:136
Method
OpenNamespace
OpenNamespace is part of the zapcore.ObjectEncoder interface.
modules/logging/appendencoder.go:308
Method
OpenNamespace
OpenNamespace is part of the zapcore.ObjectEncoder interface.
modules/logging/filterencoder.go:433
Method
OpenNamespace
OpenNamespace is part of the zapcore.ObjectEncoder interface.
modules/logging/nopencoder.go:101
Method
OpenWriter
OpenWriter returns os.Stdout that can't be closed.
logging.go:682
Method
OpenWriter
OpenWriter returns os.Stderr that can't be closed.
logging.go:687
Method
OpenWriter
OpenWriter returns io.Discard that can't be closed.
logging.go:692
Method
OpenWriter
OpenWriter opens a new network connection.
modules/logging/netwriter.go:93
Method
OriginalReq
OriginalReq returns the original, unmodified, un-rewritten request as it originally came in over the wire.
modules/caddyhttp/templates/tplcontext.go:103
Method
OverrideHealthCheckScheme
OverrideHealthCheckScheme overrides the scheme of the given URL used for health checks.
modules/caddyhttp/reverseproxy/httptransport.go:608
Function
PIDFile
PIDFile writes a pidfile to the file at filename. It will get deleted before the process gracefully exits.
admin.go:1443
Method
Parent
()
modules/caddyhttp/celmatcher.go:299
Method
PreCheck
PreCheck implements the certmagic.PreChecker interface.
modules/caddytls/acmeissuer.go:331
Method
Present
(ctx context.Context, challenge acme.Challenge)
caddytest/integration/acme_test.go:171
Function
PrivateRangesCIDR
PrivateRangesCIDR returns a list of private CIDR range strings, which can be used as a configuration shortcut. Note: this function is used at least by
modules/caddyhttp/ip_range.go:135
Method
Provision
(Context)
admin_test.go:490
Method
Provision
Provision sets up the configuration for the PKI app.
modules/caddypki/pki.go:56
Method
Provision
Provision sets up the adminAPI module.
modules/caddypki/adminapi.go:49
Method
Provision
Provision sets up the ACME server handler.
modules/caddypki/acmeserver/acmeserver.go:124
Method
Provision
Provision loads the storage module for sl.
modules/caddytls/leafstorageloader.go:57
Method
Provision
(ctx caddy.Context)
modules/caddytls/certmanagers.go:121
Method
Provision
Provision implements caddy.Provisioner.
modules/caddytls/fileloader.go:34
Method
Provision
Provision implements caddy.Provisioner.
modules/caddytls/folderloader.go:48
Method
Provision
Loads and decodes the DER and pem files to generate the certificate pool
modules/caddytls/capools.go:147
Method
Provision
Loads the PKI app and load the root certificates into the certificate pool
modules/caddytls/capools.go:232
Method
Provision
Loads the PKI app and loads the intermediate certificates into the certificate pool
modules/caddytls/capools.go:317
Method
Provision
Provision implements caddy.Provisioner.
modules/caddytls/capools.go:406
Method
Provision
Provision implements caddy.Provisioner.
modules/caddytls/capools.go:660
Method
Provision
Provision sets up the issuer.
modules/caddytls/zerosslissuer.go:77
Method
Provision
Provision compiles the regular expression which may include placeholders.
modules/caddytls/matchers.go:177
Method
Provision
Provision sets up each connection policy. It should be called during the Validate() phase, after the TLS app (if any) is already set up.
modules/caddytls/connpolicy.go:52
Method
Provision
(ctx caddy.Context)
modules/caddytls/connpolicy.go:965
Method
Provision
Provision sets up the issuer.
modules/caddytls/internalissuer.go:68
Method
Provision
Provision loads the storage module for sl.
modules/caddytls/storageloader.go:53
Method
Provision
Provision implements caddy.Provisioner.
modules/caddytls/pemloader.go:34
Method
Provision
Provision loads or creates ECH configs and returns outer names (for certificate management), but does not publish any ECH configs. The DNS module is u
modules/caddytls/ech.go:80
Method
Provision
(ctx caddy.Context)
modules/caddytls/ech.go:795
Method
Provision
Provision provisions s.
modules/caddytls/distributedstek/distributedstek.go:71
Method
Provision
(ctx caddy.Context)
modules/caddyfs/filesystem.go:60
Method
Provision
Provision sets up subrouting.
modules/caddyhttp/subroute.go:56
Method
Provision
Provision sets up both the matchers and handlers in the route.
modules/caddyhttp/routes.go:131
Method
Provision
Provision sets up both the matchers and handlers in the routes.
modules/caddyhttp/routes.go:199
Method
Provision
Provision sets up and validates m, including making it more efficient for large lists.
modules/caddyhttp/matchers.go:256
Method
Provision
Provision lower-cases the paths in m to ensure case-insensitive matching.
modules/caddyhttp/matchers.go:410
Method
Provision
Provision loads the matcher modules to be negated.
modules/caddyhttp/matchers.go:1410
Method
Provision
Provision compiles the regular expression.
modules/caddyhttp/matchers.go:1480
Method
Provision
(ctx caddy.Context)
modules/caddyhttp/ip_range.go:73
Method
Provision
Provision sets up the app.
modules/caddyhttp/app.go:178
Method
Provision
Provision sets up the routes in rh.
modules/caddyhttp/caddyhttp.go:143
Method
Provision
Provision sets up rewr.
modules/caddyhttp/rewrite/rewrite.go:107
Method
Provision
Provision compiles the query replace operation regex.
modules/caddyhttp/rewrite/rewrite.go:542
Method
Provision
Provision ensures that i is set up properly before use. EXPERIMENTAL: Subject to change or removal.
modules/caddyhttp/intercept/intercept.go:80
Method
Provision
Provision provisions enc.
modules/caddyhttp/encode/encode.go:69
Method
Provision
Provision provisions z's configuration.
modules/caddyhttp/encode/zstd/zstd.go:101
Method
Provision
Provision provisions g's configuration.
modules/caddyhttp/encode/gzip/gzip.go:61
Method
Provision
Provision provisions t.
modules/caddyhttp/templates/templates.go:411
Method
Provision
Provision sets up h.
modules/caddyhttp/push/handler.go:65
Method
Provision
Provision ensures that h is set up properly before use.
modules/caddyhttp/reverseproxy/copyresponse.go:52
Method
Provision
Provision ensures that h is set up properly before use.
modules/caddyhttp/reverseproxy/copyresponse.go:122
Method
Provision
Provision sets up r.
modules/caddyhttp/reverseproxy/selectionpolicies.go:123
Method
Provision
Provision sets up r.
modules/caddyhttp/reverseproxy/selectionpolicies.go:205
Method
Provision
Provision sets up the module.
modules/caddyhttp/reverseproxy/selectionpolicies.go:554
Method
Provision
(ctx caddy.Context)
modules/caddyhttp/reverseproxy/upstreams.go:91
Method
Provision
(ctx caddy.Context)
modules/caddyhttp/reverseproxy/upstreams.go:323
Method
Provision
(ctx caddy.Context)
modules/caddyhttp/reverseproxy/upstreams.go:477
Method
Provision
Provision ensures that a is set up properly before use.
modules/caddyhttp/reverseproxy/healthchecks.go:137
Method
Provision
Provision ensures that h is set up properly before use.
modules/caddyhttp/reverseproxy/reverseproxy.go:262
Method
Provision
Provision sets up h.
modules/caddyhttp/map/map.go:65
Method
Provision
Provision sets up an Authentication module by initializing its logger, loading and registering all configured authentication providers.
modules/caddyhttp/caddyauth/caddyauth.go:71
Method
Provision
Provision provisions the HTTP basic auth provider.
modules/caddyhttp/caddyauth/basicauth.go:79
Method
Provision
Provision sets up the listener wrapper.
modules/caddyhttp/proxyprotocol/listenerwrapper.go:89
← previous
next →
1,601–1,700 of 2,647, ranked by callers