MCPcopy Create free account

hub / github.com/0x4D31/finch / functions

Functions481 in github.com/0x4D31/finch

MethodGenerateContent
(ctx context.Context, msgs []llms.MessageContent, opts ...llms.CallOption)
internal/proxy/server_test.go:44
MethodGenerateContent
(ctx context.Context, msgs []llms.MessageContent, opts ...llms.CallOption)
internal/proxy/server_test.go:54
MethodHeader
()
internal/sse/server_test.go:92
MethodHeader
()
internal/sse/server_test.go:108
FunctionLoadRules
LoadRules loads a rule set from path after resolving it to an absolute path.
internal/loader/loader.go:82
MethodReadFrom
(p []byte)
internal/proxy/http3.go:76
MethodReadFrom
(p []byte)
internal/proxy/http3_error_test.go:40
MethodServeHTTP
(w http.ResponseWriter, r *http.Request)
internal/proxy/tarpit.go:91
MethodSetDeadline
(t time.Time)
internal/proxy/http3_error_test.go:44
MethodSetGalahOptions
SetGalahOptions updates cache and event logging flags for h.
internal/proxy/server.go:742
MethodSetGalahService
SetGalahService stores svc atomically for h.
internal/proxy/server.go:737
MethodSetReadDeadline
(t time.Time)
internal/proxy/http3_error_test.go:45
MethodSetWriteDeadline
(t time.Time)
internal/proxy/http3_error_test.go:46
MethodShutdown
Shutdown gracefully stops the server, waiting for active requests to finish.
internal/proxy/server.go:227
MethodShutdown
Shutdown gracefully stops the server.
internal/admin/server.go:112
MethodStart
Start runs the HTTPS server.
internal/proxy/server.go:193
MethodStart
Start begins listening for connections.
internal/admin/server.go:109
FunctionTestAEADChaCha20
(t *testing.T)
pkg/quic/clienthello_test.go:1298
FunctionTestAbsFromCWD_MissingWorkingDir
(t *testing.T)
internal/loader/loader_test.go:194
FunctionTestAbsFromCWD_NonExistingFile
(t *testing.T)
internal/loader/loader_test.go:228
FunctionTestAbsFromCWD_RelativeSymlink
(t *testing.T)
internal/loader/loader_test.go:158
FunctionTestAddListenerSkipVerifyOverride
(t *testing.T)
cmd/finch/runtime_test.go:12
FunctionTestAdminServerReachable
(t *testing.T)
cmd/finch/main_test.go:491
FunctionTestAggregatedOutput
(t *testing.T)
cmd/quic-chdump/main_test.go:32
FunctionTestAuthToken
(t *testing.T)
internal/admin/server_test.go:301
FunctionTestAuthTokenLoad
(t *testing.T)
internal/admin/server_test.go:332
FunctionTestAuthTokenRule
(t *testing.T)
internal/admin/server_test.go:401
FunctionTestAuthTokenRuleSets
(t *testing.T)
internal/admin/server_test.go:370
FunctionTestClientHelloSplitAcrossInitials
(t *testing.T)
pkg/quic/clienthello_test.go:1094
FunctionTestCompilePathPattern
(t *testing.T)
internal/rules/pattern_test.go:50
FunctionTestCompilePatternCaseInsensitive
(t *testing.T)
internal/rules/pattern_test.go:5
FunctionTestCompilePatternDefaults
(t *testing.T)
internal/rules/pattern_test.go:40
FunctionTestCompilePatternErrors
(t *testing.T)
internal/rules/pattern_test.go:31
FunctionTestComputePNLenReconstructV2
(t *testing.T)
pkg/quic/clienthello_test.go:649
FunctionTestConcurrentListenersSharedLogger
(t *testing.T)
internal/proxy/server_test.go:765
FunctionTestDecodePacketType_HPRemovalV2
(t *testing.T)
pkg/quic/clienthello_test.go:762
FunctionTestDecodePacketType_NotInitial
(t *testing.T)
pkg/quic/clienthello_test.go:65
FunctionTestDecodePacketType_V2Initial
(t *testing.T)
pkg/quic/clienthello_test.go:56
FunctionTestDecryptInitialShortPN
(t *testing.T)
pkg/quic/clienthello_test.go:421
FunctionTestDefaultActionUpdate
(t *testing.T)
internal/rules/engine_test.go:52
FunctionTestDefaultUpstream_BasePathRoot
These tests cover default-upstream base-path mapping semantics when no rule matches.
internal/proxy/default_upstream_test.go:17
FunctionTestDefaultUpstream_BasePathSubpath
(t *testing.T)
internal/proxy/default_upstream_test.go:59
FunctionTestDefaultUpstream_HttpbinStyleFixedRoot
(t *testing.T)
internal/proxy/default_upstream_test.go:101
FunctionTestDefaultUpstream_NoBasePathNoop
(t *testing.T)
internal/proxy/default_upstream_test.go:184
FunctionTestDefaultUpstream_QueryMerge
(t *testing.T)
internal/proxy/default_upstream_test.go:139
FunctionTestDefaultUpstream_TrailingSlashPreserved
(t *testing.T)
internal/proxy/default_upstream_test.go:220
FunctionTestDeleteRuleSetForce
(t *testing.T)
internal/admin/server_test.go:1091
FunctionTestDeriveInitialKeysRFC9369
(t *testing.T)
pkg/quic/clienthello_test.go:31
FunctionTestDifferentConnectionsIsolated
(t *testing.T)
pkg/quic/clienthello_test.go:1125
FunctionTestDumpPCAP
(t *testing.T)
cmd/quic-chdump/main_test.go:12
FunctionTestDuplicateCryptoFragmentsIgnored
(t *testing.T)
pkg/quic/clienthello_test.go:1185
FunctionTestEchoAction
TestEchoAction runs echoAction and ensures it exits on interrupt.
cmd/finch/serve_flags_test.go:114
FunctionTestEchoHandler_IndexEncodeError
(t *testing.T)
internal/proxy/echo_error_test.go:34
FunctionTestEchoHandler_JSONEncodeError
(t *testing.T)
internal/proxy/echo_error_test.go:44
FunctionTestEngineWatchFileModify
(t *testing.T)
internal/rules/engine_watch_test.go:27
FunctionTestEngineWatchFileRecreate
(t *testing.T)
internal/rules/engine_watch_test.go:66
FunctionTestEngineWatchReloadFail
(t *testing.T)
internal/rules/engine_watch_test.go:111
FunctionTestEvalCompositeGlobalDefault
(t *testing.T)
internal/rules/engine_test.go:257
FunctionTestEvalCompositeLocalDefault
(t *testing.T)
internal/rules/engine_test.go:248
FunctionTestEventJSONKeys
(t *testing.T)
internal/logger/jsonl_test.go:117
FunctionTestEventJSONKeys
(t *testing.T)
internal/sse/server_test.go:21
FunctionTestEventsAllowsMatchingOrigin
(t *testing.T)
internal/sse/server_test.go:242
FunctionTestEventsAllowsNullOrigin
(t *testing.T)
internal/sse/server_test.go:287
FunctionTestEventsBrokenConnection
(t *testing.T)
internal/sse/server_test.go:63
FunctionTestEventsFlushHeaders
(t *testing.T)
internal/sse/server_test.go:121
FunctionTestEventsLogFlushError
(t *testing.T)
internal/sse/server_test.go:150
FunctionTestEventsRejectsCrossOrigin
(t *testing.T)
internal/sse/server_test.go:224
FunctionTestEvictionAfterParse
(t *testing.T)
pkg/quic/clienthello_test.go:1165
FunctionTestExtractClientHelloFixedBitCleared
(t *testing.T)
pkg/quic/clienthello_test.go:870
FunctionTestExtractClientHelloFramesMultiple
(t *testing.T)
pkg/quic/clienthello_test.go:1023
FunctionTestExtractClientHelloFramesOffsetMismatch
(t *testing.T)
pkg/quic/clienthello_test.go:1039
FunctionTestExtractClientHelloInitialHeader
(t *testing.T)
pkg/quic/clienthello_test.go:458
FunctionTestExtractClientHelloInitialHeaderV2
(t *testing.T)
pkg/quic/clienthello_test.go:528
FunctionTestExtractClientHelloMultiplePackets
(t *testing.T)
pkg/quic/clienthello_test.go:959
FunctionTestExtractClientHelloPNLengths
(t *testing.T)
pkg/quic/clienthello_test.go:598
FunctionTestExtractClientHelloPNLengthsV2
(t *testing.T)
pkg/quic/clienthello_test.go:621
FunctionTestExtractClientHelloReservedBits
(t *testing.T)
pkg/quic/clienthello_test.go:925
FunctionTestExtractClientHelloReservedBitsV2
(t *testing.T)
pkg/quic/clienthello_test.go:942
FunctionTestExtractClientHelloShortHeaderPrecedesInitial
(t *testing.T)
pkg/quic/clienthello_test.go:1002
FunctionTestExtractClientHelloShortPayload
(t *testing.T)
pkg/quic/clienthello_test.go:862
FunctionTestExtractClientHelloTruncatedPacket
(t *testing.T)
pkg/quic/clienthello_test.go:854
FunctionTestExtractJA4
(t *testing.T)
pkg/quic/clienthello_test.go:410
FunctionTestGCLoopStopsOnClose
(t *testing.T)
internal/proxy/http3_error_test.go:64
FunctionTestGetConfigJSON
(t *testing.T)
internal/admin/server_test.go:38
FunctionTestGetConfigNoConfig
(t *testing.T)
internal/admin/server_test.go:1063
FunctionTestGetRuleSet
(t *testing.T)
internal/admin/server_test.go:185
FunctionTestGetRuleSetMissingFile
(t *testing.T)
internal/admin/server_test.go:1124
FunctionTestGetRuleSetNotFound
(t *testing.T)
internal/admin/server_test.go:214
FunctionTestH3ServerNil
(t *testing.T)
internal/proxy/http3_error_test.go:28
FunctionTestH3ServerServeQUIC
(t *testing.T)
internal/proxy/http3_error_test.go:116
FunctionTestHPChaCha20
(t *testing.T)
pkg/quic/clienthello_test.go:1285
FunctionTestHandleRuleCRUD
(t *testing.T)
internal/admin/server_test.go:933
FunctionTestHandleRuleSets
(t *testing.T)
internal/admin/server_test.go:161
FunctionTestHeaderUnprotectValidInitial
(t *testing.T)
pkg/quic/clienthello_test.go:707
FunctionTestHubConcurrentPublishAndCancel
(t *testing.T)
internal/sse/hub_test.go:129
FunctionTestHubDisconnect
(t *testing.T)
internal/sse/hub_test.go:45
FunctionTestHubLateSubscriber
(t *testing.T)
internal/sse/hub_test.go:92
FunctionTestHubMultipleSubscribers
(t *testing.T)
internal/sse/hub_test.go:62
FunctionTestHubOverflow
(t *testing.T)
internal/sse/hub_test.go:26
FunctionTestHubSubscribe
(t *testing.T)
internal/sse/hub_test.go:9
← previousnext →201–300 of 481, ranked by callers