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
↓ 1 callers
Method
writePairs
(pairs map[string]string)
modules/caddyhttp/reverseproxy/fastcgi/writer.go:78
↓ 1 callers
Method
writerOptions
(windowSize int)
modules/caddyhttp/encode/zstd/zstd.go:126
Method
Accept
Currently Accept ignores the passed context, however a situation where someone would need a hotswappable QUIC-only (not http3, since it uses context.B
listeners.go:638
Method
Accept
()
listen.go:128
Method
Accept
Accept waits for and returns the next connection to the listener, wrapping it with a httpRedirectConn.
modules/caddyhttp/httpredirectlistener.go:77
Method
AcceptEncoding
()
modules/caddyhttp/encode/encode.go:588
Method
AcceptEncoding
AcceptEncoding returns the name of the encoding as used in the Accept-Encoding request headers.
modules/caddyhttp/encode/zstd/zstd.go:115
Method
AcceptEncoding
AcceptEncoding returns the name of the encoding as used in the Accept-Encoding request headers.
modules/caddyhttp/encode/brotli/brotli_precompressed.go:25
Method
AcceptEncoding
AcceptEncoding returns the name of the encoding as used in the Accept-Encoding request headers.
modules/caddyhttp/encode/gzip/gzip.go:81
Method
AddArray
AddArray is part of the zapcore.ObjectEncoder interface.
modules/logging/appendencoder.go:188
Method
AddArray
AddArray is part of the zapcore.ObjectEncoder interface. Array elements do not get filtered.
modules/logging/filterencoder.go:257
Method
AddBinary
AddBinary is part of the zapcore.ObjectEncoder interface.
modules/logging/appendencoder.go:198
Method
AddBinary
AddBinary is part of the zapcore.ObjectEncoder interface.
modules/logging/filterencoder.go:278
Method
AddBinary
AddBinary is part of the zapcore.ObjectEncoder interface.
modules/logging/nopencoder.go:35
Method
AddBool
AddBool is part of the zapcore.ObjectEncoder interface.
modules/logging/appendencoder.go:208
Method
AddBool
AddBool is part of the zapcore.ObjectEncoder interface.
modules/logging/filterencoder.go:292
Method
AddByteString
AddByteString is part of the zapcore.ObjectEncoder interface.
modules/logging/appendencoder.go:203
Method
AddByteString
AddByteString is part of the zapcore.ObjectEncoder interface.
modules/logging/filterencoder.go:285
Method
AddByteString
AddByteString is part of the zapcore.ObjectEncoder interface.
modules/logging/nopencoder.go:38
Method
AddComplex128
AddComplex128 is part of the zapcore.ObjectEncoder interface.
modules/logging/appendencoder.go:213
Method
AddComplex128
AddComplex128 is part of the zapcore.ObjectEncoder interface.
modules/logging/filterencoder.go:299
Method
AddComplex128
AddComplex128 is part of the zapcore.ObjectEncoder interface.
modules/logging/nopencoder.go:44
Method
AddComplex64
AddComplex64 is part of the zapcore.ObjectEncoder interface.
modules/logging/appendencoder.go:218
Method
AddComplex64
AddComplex64 is part of the zapcore.ObjectEncoder interface.
modules/logging/filterencoder.go:306
Method
AddComplex64
AddComplex64 is part of the zapcore.ObjectEncoder interface.
modules/logging/nopencoder.go:47
Method
AddDuration
AddDuration is part of the zapcore.ObjectEncoder interface.
modules/logging/appendencoder.go:223
Method
AddDuration
AddDuration is part of the zapcore.ObjectEncoder interface.
modules/logging/filterencoder.go:313
Method
AddDuration
AddDuration is part of the zapcore.ObjectEncoder interface.
modules/logging/nopencoder.go:50
Method
AddFloat32
AddFloat32 is part of the zapcore.ObjectEncoder interface.
modules/logging/appendencoder.go:233
Method
AddFloat32
AddFloat32 is part of the zapcore.ObjectEncoder interface.
modules/logging/filterencoder.go:327
Method
AddFloat32
AddFloat32 is part of the zapcore.ObjectEncoder interface.
modules/logging/nopencoder.go:56
Method
AddFloat64
AddFloat64 is part of the zapcore.ObjectEncoder interface.
modules/logging/appendencoder.go:228
Method
AddFloat64
AddFloat64 is part of the zapcore.ObjectEncoder interface.
modules/logging/filterencoder.go:320
Method
AddFloat64
AddFloat64 is part of the zapcore.ObjectEncoder interface.
modules/logging/nopencoder.go:53
Method
AddInt
AddInt is part of the zapcore.ObjectEncoder interface.
modules/logging/appendencoder.go:238
Method
AddInt
AddInt is part of the zapcore.ObjectEncoder interface.
modules/logging/filterencoder.go:334
Method
AddInt
AddInt is part of the zapcore.ObjectEncoder interface.
modules/logging/nopencoder.go:59
Method
AddInt16
AddInt16 is part of the zapcore.ObjectEncoder interface.
modules/logging/appendencoder.go:253
Method
AddInt16
AddInt16 is part of the zapcore.ObjectEncoder interface.
modules/logging/filterencoder.go:355
Method
AddInt16
AddInt16 is part of the zapcore.ObjectEncoder interface.
modules/logging/nopencoder.go:68
Method
AddInt32
AddInt32 is part of the zapcore.ObjectEncoder interface.
modules/logging/appendencoder.go:248
Method
AddInt32
AddInt32 is part of the zapcore.ObjectEncoder interface.
modules/logging/filterencoder.go:348
Method
AddInt32
AddInt32 is part of the zapcore.ObjectEncoder interface.
modules/logging/nopencoder.go:65
Method
AddInt64
AddInt64 is part of the zapcore.ObjectEncoder interface.
modules/logging/appendencoder.go:243
Method
AddInt64
AddInt64 is part of the zapcore.ObjectEncoder interface.
modules/logging/filterencoder.go:341
Method
AddInt64
AddInt64 is part of the zapcore.ObjectEncoder interface.
modules/logging/nopencoder.go:62
Method
AddInt8
AddInt8 is part of the zapcore.ObjectEncoder interface.
modules/logging/appendencoder.go:258
Method
AddInt8
AddInt8 is part of the zapcore.ObjectEncoder interface.
modules/logging/filterencoder.go:362
Method
AddInt8
AddInt8 is part of the zapcore.ObjectEncoder interface.
modules/logging/nopencoder.go:71
Method
AddObject
AddObject is part of the zapcore.ObjectEncoder interface.
modules/logging/appendencoder.go:193
Method
AddObject
AddObject is part of the zapcore.ObjectEncoder interface.
modules/logging/filterencoder.go:266
Method
AddReflected
AddReflected is part of the zapcore.ObjectEncoder interface.
modules/logging/appendencoder.go:303
Method
AddReflected
AddReflected is part of the zapcore.ObjectEncoder interface.
modules/logging/filterencoder.go:425
Method
AddReflected
AddReflected is part of the zapcore.ObjectEncoder interface.
modules/logging/nopencoder.go:98
Method
AddString
AddString is part of the zapcore.ObjectEncoder interface.
modules/logging/appendencoder.go:263
Method
AddString
AddString is part of the zapcore.ObjectEncoder interface.
modules/logging/filterencoder.go:369
Method
AddTime
AddTime is part of the zapcore.ObjectEncoder interface.
modules/logging/appendencoder.go:268
Method
AddTime
AddTime is part of the zapcore.ObjectEncoder interface.
modules/logging/filterencoder.go:376
Method
AddTime
AddTime is part of the zapcore.ObjectEncoder interface.
modules/logging/nopencoder.go:77
Method
AddUint
AddUint is part of the zapcore.ObjectEncoder interface.
modules/logging/appendencoder.go:273
Method
AddUint
AddUint is part of the zapcore.ObjectEncoder interface.
modules/logging/filterencoder.go:383
Method
AddUint
AddUint is part of the zapcore.ObjectEncoder interface.
modules/logging/nopencoder.go:80
Method
AddUint16
AddUint16 is part of the zapcore.ObjectEncoder interface.
modules/logging/appendencoder.go:288
Method
AddUint16
AddUint16 is part of the zapcore.ObjectEncoder interface.
modules/logging/filterencoder.go:404
Method
AddUint32
AddUint32 is part of the zapcore.ObjectEncoder interface.
modules/logging/appendencoder.go:283
Method
AddUint32
AddUint32 is part of the zapcore.ObjectEncoder interface.
modules/logging/filterencoder.go:397
Method
AddUint32
AddUint32 is part of the zapcore.ObjectEncoder interface.
modules/logging/nopencoder.go:86
Method
AddUint64
AddUint64 is part of the zapcore.ObjectEncoder interface.
modules/logging/appendencoder.go:278
Method
AddUint64
AddUint64 is part of the zapcore.ObjectEncoder interface.
modules/logging/filterencoder.go:390
Method
AddUint64
AddUint64 is part of the zapcore.ObjectEncoder interface.
modules/logging/nopencoder.go:83
Method
AddUint8
AddUint8 is part of the zapcore.ObjectEncoder interface.
modules/logging/appendencoder.go:293
Method
AddUint8
AddUint8 is part of the zapcore.ObjectEncoder interface.
modules/logging/filterencoder.go:411
Method
AddUintptr
AddUintptr is part of the zapcore.ObjectEncoder interface.
modules/logging/appendencoder.go:298
Method
AddUintptr
AddUintptr is part of the zapcore.ObjectEncoder interface.
modules/logging/filterencoder.go:418
Method
AddUintptr
AddUintptr is part of the zapcore.ObjectEncoder interface.
modules/logging/nopencoder.go:95
Method
AnyMatch
AnyMatch returns true if req matches any of the matcher sets in ms or if there are no matchers, in which case the request always matches. Deprecated:
modules/caddyhttp/routes.go:412
Method
AppendRecords
AppendRecords appends DNS records to the zone.
caddytest/integration/mockdns_test.go:49
Method
AssertDeleteResponse
AssertDeleteResponse requests a URI with DELETE and expects a status code and body text.
caddytest/caddytest.go:557
Method
Authenticate
Authenticate validates the user credentials in req and returns the user, if valid.
modules/caddyhttp/caddyauth/basicauth.go:143
Method
Authenticate
(http.ResponseWriter, *http.Request)
modules/caddyhttp/caddyauth/caddyauth_test.go:195
Function
BenchmarkHeaderREMatcher
(b *testing.B)
modules/caddyhttp/matchers_test.go:983
Function
BenchmarkHostMatcherWithPlaceholder
(b *testing.B)
modules/caddyhttp/matchers_test.go:1261
Function
BenchmarkHostMatcherWithoutPlaceholder
(b *testing.B)
modules/caddyhttp/matchers_test.go:1248
Function
BenchmarkLargeHostMatcher
(b *testing.B)
modules/caddyhttp/matchers_test.go:1221
Function
BenchmarkLoad
(b *testing.B)
admin_test.go:222
Function
BenchmarkMatchExpressionMatch
(b *testing.B)
modules/caddyhttp/celmatcher_test.go:503
Function
BenchmarkMetricsInstrumentedRoute
(b *testing.B)
modules/caddyhttp/metrics_test.go:576
Function
BenchmarkOpenResponseWriter
(b *testing.B)
modules/caddyhttp/encode/encode_test.go:16
Function
BenchmarkReplacer
(b *testing.B)
replacer_test.go:487
Function
BenchmarkServer_LogRequest
(b *testing.B)
modules/caddyhttp/server_test.go:106
Function
BenchmarkServer_LogRequest_NopLogger
(b *testing.B)
modules/caddyhttp/server_test.go:128
Function
BenchmarkServer_LogRequest_WithTrace
(b *testing.B)
modules/caddyhttp/server_test.go:149
Function
BenchmarkSingleRouteMetrics
BenchmarkSingleRouteMetrics simulates the new behavior where metrics are collected once for the entire route.
modules/caddyhttp/metrics_test.go:602
Method
Buffer
Buffer returns the body buffer that rr was created with. You should still have your original pointer, though.
modules/caddyhttp/responsewriter.go:216
Method
Buffered
Buffered returns whether rr has decided to buffer the response.
modules/caddyhttp/responsewriter.go:221
Function
BufferedLog
BufferedLog sets the default logger to one that buffers logs before a config is loaded. Returns the buffered logger, the original default logger (for
logging.go:791
Method
CELLibrary
CELLibrary produces options that expose this matcher for use in CEL expression matchers. Example: expression remote_ip('192.168.0.0/16', '172.16.0.
modules/caddyhttp/ip_matchers.go:101
Method
CELLibrary
CELLibrary produces options that expose this matcher for use in CEL expression matchers. Example: expression client_ip('192.168.0.0/16', '172.16.0.
modules/caddyhttp/ip_matchers.go:214
Method
CELLibrary
CELLibrary produces options that expose this matcher for use in CEL expression matchers. Example: expression host('localhost')
modules/caddyhttp/matchers.go:374
Method
CELLibrary
CELLibrary produces options that expose this matcher for use in CEL expression matchers. Example: expression path('*substring*', '*suffix')
modules/caddyhttp/matchers.go:665
← previous
next →
1,201–1,300 of 2,647, ranked by callers