Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/sipcapture/homer
/ functions
Functions
4,264 in github.com/sipcapture/homer
⨍
Functions
4,264
◇
Types & classes
750
Function
TestLazyPayloadEligibleOTLPAndLP
(t *testing.T)
src/coordinator/handlers/lazy_payload_test.go:36
Function
TestLeaveBeforeStartLetsRoomerWait
(t *testing.T)
src/coordinator/games/netchess/hub_test.go:260
Function
TestLegacySHA256HexEqual
(t *testing.T)
src/passwordhash/legacy_sha256_compat_test.go:13
Function
TestLegalMoveBroadcastsToOpponent
(t *testing.T)
src/coordinator/games/netchess/hub_test.go:95
Function
TestLineClearRoutesGarbageWithStableHole
(t *testing.T)
src/coordinator/games/netris/hub_test.go:189
Function
TestLoad_CoordinatorAuthFallbackTypeInvalid
(t *testing.T)
src/config/config_test.go:830
Function
TestLoad_CoordinatorAuthFallbackTypeOK
(t *testing.T)
src/config/config_test.go:842
Function
TestLoad_CoordinatorAuthInternalString
(t *testing.T)
src/config/config_test.go:689
Function
TestLoad_CoordinatorAuthInvalidString
(t *testing.T)
src/config/config_test.go:821
Function
TestLoad_CoordinatorAuthObjectTypeInternal
(t *testing.T)
src/config/config_test.go:716
Function
TestLoad_CoordinatorAuthObjectTypeInvalid
(t *testing.T)
src/config/config_test.go:785
Function
TestLoad_CoordinatorAuthObjectTypeLDAP
(t *testing.T)
src/config/config_test.go:743
Function
TestLoad_CoordinatorAuthObjectTypeOAuth
(t *testing.T)
src/config/config_test.go:764
Function
TestLoad_CoordinatorAuthObjectWithoutTypeDefaultsToInternal
(t *testing.T)
src/config/config_test.go:794
Function
TestLoad_CoordinatorAuthOmittedDefaultsToInternal
(t *testing.T)
src/config/config_test.go:666
Function
TestLoad_DuckDBTuningEmptySectionStaysZero
TestLoad_DuckDBTuningEmptySectionStaysZero pins the desired default: without an explicit tuning section the struct stays zero-valued so ApplyDuckDBTun
src/config/config_test.go:650
Function
TestLoad_DuckDBTuningPropagates
TestLoad_DuckDBTuningPropagates verifies that the new storage.ducklake.tuning section parses and reaches the DuckLake config struct unchanged. Both wr
src/config/config_test.go:390
Function
TestLoad_ElasticsearchPartialEnableKeepsTagDefaults
TestLoad_ElasticsearchPartialEnableKeepsTagDefaults mirrors the Loki case for Elasticsearch.
src/config/config_test.go:69
Function
TestLoad_EnvScalars_AllSections
TestLoad_EnvScalars_AllSections pins down that every scalar HOMER_* env var from a typical production docker-compose set must land in Config. Before b
src/config/env_test.go:20
Function
TestLoad_EnvSlice_CoordinatorNodes
TestLoad_EnvSlice_CoordinatorNodes verifies that the coordinator picks up its node list from HOMER_COORDINATOR_NODES_<idx>_*.
src/config/env_test.go:345
Function
TestLoad_EnvSlice_LogOutput
TestLoad_EnvSlice_LogOutput is the simplest case: a slice of strings (log.output). docker-compose convention: HOMER_LOG_OUTPUT_0=... Uses non-default
src/config/env_test.go:507
Function
TestLoad_EnvSlice_NodeDuckLakeVolumes
TestLoad_EnvSlice_NodeDuckLakeVolumes covers the same volume layout but in the node.ducklake.volumes section — consumed by read-only nodes (the coordi
src/config/env_test.go:288
Function
TestLoad_EnvSlice_SIPAlegCustomHeaders
TestLoad_EnvSlice_SIPAlegCustomHeaders covers issue #728: the indexed docker-compose form for SIP custom-header extraction must reach ingest.sip.aleg_
src/config/env_test.go:526
Function
TestLoad_EnvSlice_StoragePolicyVolumes
TestLoad_EnvSlice_StoragePolicyVolumes verifies that indexed volumes (HOMER_STORAGE_DUCKLAKE_STORAGE_POLICY_VOLUMES_<idx>_*) land in Storage.DuckLake.
src/config/env_test.go:201
Function
TestLoad_ExplicitFalseOverrideWins
TestLoad_ExplicitFalseOverrideWins guards against the most dangerous kind of regression in this layer: defaults silently re-enabling a feature the ope
src/config/config_test.go:358
Function
TestLoad_HEPIngestDefaultsHonoured
TestLoad_HEPIngestDefaultsHonoured is the catch-all smoke test for the HEP ingest stack: with a completely empty config file, every receiver (UDP/TCP/
src/config/config_test.go:257
Function
TestLoad_HEPStreamDefaultsHonoured
TestLoad_HEPStreamDefaultsHonoured covers a section that already has duplicated viper SetDefault entries — the new struct-tag path must agree with the
src/config/config_test.go:223
Function
TestLoad_LineProtoIngestAllowHepSipCallOverride
TestLoad_LineProtoIngestAllowHepSipCallOverride checks explicit allow_hep_sip_call in JSON.
src/config/config_test.go:559
Function
TestLoad_LineProtoIngestDefaultsHonoured
TestLoad_LineProtoIngestDefaultsHonoured locks in the documented defaults for the InfluxDB Line Protocol ingest receiver (`ingest.line_protocol.*`, di
src/config/config_test.go:525
Function
TestLoad_LineProtoIngestExplicitEmptyTablePrefix
TestLoad_LineProtoIngestExplicitEmptyTablePrefix honours an explicit empty table_prefix (measurement name = DuckLake table name).
src/config/config_test.go:576
Function
TestLoad_LineProtoIngestExplicitLegacyPrefix
TestLoad_LineProtoIngestExplicitLegacyPrefix checks optional namespacing.
src/config/config_test.go:595
Function
TestLoad_LineProtoIngestPartialEnableKeepsTagDefaults
TestLoad_LineProtoIngestPartialEnableKeepsTagDefaults mirrors the OTLP regression: enabling the ingest LP receiver with `{"enable": true}` only must l
src/config/config_test.go:617
Function
TestLoad_LineProtoPartialEnableKeepsTagDefaults
TestLoad_LineProtoPartialEnableKeepsTagDefaults mirrors the Loki case for InfluxDB Line Protocol.
src/config/config_test.go:102
Function
TestLoad_LokiPartialEnableKeepsTagDefaults
TestLoad_LokiPartialEnableKeepsTagDefaults pins the regression that motivated the v5.0.62-equivalent fix here: an operator turning Loki on with `{"lok
src/config/config_test.go:36
Function
TestLoad_OTLPDefaultsHonoured
TestLoad_OTLPDefaultsHonoured covers the brand-new OTLP receiver section: with the feature off (the documented default) every nested listener still pa
src/config/config_test.go:439
Function
TestLoad_OTLPPartialEnableKeepsTagDefaults
TestLoad_OTLPPartialEnableKeepsTagDefaults pins the same flavour of regression as the Loki/Elasticsearch tests above: enabling OTLP with `{"enable": t
src/config/config_test.go:486
Function
TestLoad_PartialOverrideKeepsOtherDefaults
TestLoad_PartialOverrideKeepsOtherDefaults ensures that overriding one numeric tunable (loki.bulk) does not wipe sibling fields filled in by struct ta
src/config/config_test.go:192
Function
TestLoad_Precedence_EnvBeatsFile
TestLoad_Precedence_EnvBeatsFile answers question #1: when a config file is present, ENV variables must override values written in the file (the stand
src/config/env_test.go:396
Function
TestLoad_Precedence_NoFileDefaultsThenEnv
TestLoad_Precedence_NoFileDefaultsThenEnv answers question #2: when there is no config file, struct-tag / setDefaults values seed the Config and ENV v
src/config/env_test.go:455
Function
TestLoad_RealProductionEnvSet
TestLoad_RealProductionEnvSet is an end-to-end smoke test that feeds the exact ENV variable set captured from a running production container (docker i
src/config/env_test.go:556
Function
TestLoad_RemoteLoggingAbsentSectionStaysDisabled
TestLoad_RemoteLoggingAbsentSectionStaysDisabled is the safety check for the most common case: operators who do not use remote logging at all. None of
src/config/config_test.go:165
Function
TestLoad_ScriptingPartialEnableKeepsEngine
TestLoad_ScriptingPartialEnableKeepsEngine ensures the scripting engine identifier (currently the only supported value, "lua") is applied even when th
src/config/config_test.go:136
Function
TestMapRowToAlias_StatusFromInt32
TestMapRowToAlias_StatusFromInt32 is the end-to-end regression for the "active_rows=1 loaded_prefixes=0" report: an active alias row (status=1 in Duck
src/coordinator/services/alias_service_test.go:78
Function
TestMappingService_ResetMappings
(t *testing.T)
src/coordinator/services/mapping_service_reset_test.go:9
Function
TestMarshalForIncludesPayloadWhenAsked
(t *testing.T)
src/stream/hepstream/event_test.go:96
Function
TestMarshalForStripsPayloadWhenNotIncluded
(t *testing.T)
src/stream/hepstream/event_test.go:73
Function
TestMergeCustomLokiLabelsIntoStream_builtinWins
(t *testing.T)
src/remotelog/loki_custom_labels_test.go:29
Function
TestMergeParquetFiles
(t *testing.T)
src/storage/ducklake/compactor/parquet_test.go:107
Function
TestMergeRealHomerParquet
TestMergeRealHomerParquet exercises the merge against real DuckLake-written Homer parquet (wide varchar/json/uint32/date columns) when present locally
src/storage/ducklake/compactor/parquet_test.go:58
Function
TestMergeSessionIDs_DedupsAndCaps
(t *testing.T)
src/coordinator/handlers/transactions_v4_correlation_test.go:28
Function
TestMergeSessionIDs_RespectsCap
(t *testing.T)
src/coordinator/handlers/transactions_v4_correlation_test.go:36
Function
TestMultiTableReader_ListSnapshots_rejectsInvalidKey
(t *testing.T)
src/storage/ducklake/validation_test.go:132
Function
TestMultiTableReader_Query_rejectsInvalidWhere
(t *testing.T)
src/storage/ducklake/validation_test.go:148
Function
TestMultiTableWriterStopIsIdempotent
(t *testing.T)
src/storage/ducklake/stop_idempotent_test.go:5
Function
TestMultipleVias
(t *testing.T)
src/sipparser/via_test.go:53
Function
TestNarrowProjectionIgnoredWithCustomSelect
(t *testing.T)
src/coordinator/handlers/lazy_payload_test.go:77
Function
TestNarrowProjectionUUIDTimestampOnly
(t *testing.T)
src/coordinator/handlers/lazy_payload_test.go:48
Function
TestNewIPAliasMap_acceptsEmbeddedCIDR
Regression: homer-app-style rows that store the CIDR inside the ip column ("10.1.68.0/24" + mask=0) used to be silently dropped because netip.ParseAdd
src/coordinator/services/alias_map_test.go:61
Function
TestNewIPAliasMap_dropsEmptyName
Regression: an empty alias name should not silently drop a prefix — the row is still skipped, but the test asserts we don't load it either way.
src/coordinator/services/alias_map_test.go:92
Function
TestNewIPAliasMap_rejectsImpossibleMask
Regression: a row with mask larger than the address family's bit width (e.g. mask=128 on an IPv4 address) used to crash netip.Prefix silently; now the
src/coordinator/services/alias_map_test.go:78
Function
TestNewLineProtoHandlerPrefixPassthrough
TestNewLineProtoHandlerPrefixPassthrough ensures the constructor keeps the default prefix string (including empty) for ?prefix= resolution.
src/coordinator/handlers/lineproto_v4_test.go:105
Function
TestNewPCAPWriter_WritePacket_RoundTripHeader
(t *testing.T)
src/pcapwriter/sip_rows_test.go:82
Function
TestNewSearchHandler_LLMDisabledMeansNilClient
(t *testing.T)
src/coordinator/handlers/mcp_llm_test.go:289
Function
TestNormaliseDuckType
(t *testing.T)
src/coordinator/services/lp_field_mapping_test.go:101
Function
TestNormalizeParserHint
(t *testing.T)
src/coordinator/handlers/mcp_llm_test.go:77
Function
TestNormalizeTransactionSessionIDs
(t *testing.T)
src/coordinator/handlers/transactions_v4_sessionids_test.go:5
Function
TestNormalizeTransactionSessionIDsCap
(t *testing.T)
src/coordinator/handlers/transactions_v4_sessionids_test.go:18
Function
TestNormalizeWidgetControl
(t *testing.T)
src/config/widgets_test.go:25
Function
TestOAuthErrorClientRedirect_defaultPathWithoutCallback
(t *testing.T)
src/coordinator/handlers/auth_oauth_redirect_test.go:70
Function
TestOAuthErrorClientRedirect_ignoresRedirectURI
(t *testing.T)
src/coordinator/handlers/auth_oauth_redirect_test.go:59
Function
TestOAuthRedirectOriginsMatch
(t *testing.T)
src/coordinator/handlers/auth_oauth_redirect_test.go:80
Function
TestOTLPStorage_EmptyRequestsAreNoOp
(t *testing.T)
src/storage/ducklake/otlp_storage_test.go:269
Function
TestOTLPStorage_WriteOTLPLogs
(t *testing.T)
src/storage/ducklake/otlp_storage_test.go:193
Function
TestOTLPStorage_WriteOTLPMetrics
(t *testing.T)
src/storage/ducklake/otlp_storage_test.go:122
Function
TestOTLPStorage_WriteOTLPTraces
(t *testing.T)
src/storage/ducklake/otlp_storage_test.go:45
Function
TestOauthAvatarURLsMicrosoft
(t *testing.T)
src/coordinator/handlers/auth_avatar_test.go:8
Function
TestOauthCollectGroups
(t *testing.T)
src/coordinator/handlers/auth_oauth_code_test.go:29
Function
TestOauthMatchAdminGroup
(t *testing.T)
src/coordinator/handlers/auth_oauth_code_test.go:17
Function
TestOauthPickUsername
(t *testing.T)
src/coordinator/handlers/auth_oauth_code_test.go:5
Function
TestOpponentLeftBroadcasts
(t *testing.T)
src/coordinator/games/netris/hub_test.go:228
Function
TestOptionsInvalidate
(t *testing.T)
src/storage/ducklake/compactor/compactor_test.go:364
Function
TestOuterChunkMs
(t *testing.T)
src/coordinator/handlers/lake_topn_test.go:24
Function
TestPAssertedId
(t *testing.T)
src/sipparser/passertedid_test.go:24
Function
TestParseBody
(t *testing.T)
src/vqrtcpreceiver/parser_test.go:9
Function
TestParseCLIQueryLine
(t *testing.T)
src/cli/cli_query_suffix_test.go:5
Function
TestParseInviteBodyMultipart
(t *testing.T)
src/siprecreceiver/multipart_test.go:9
Function
TestParseLineProtocol_BooleansAllForms
(t *testing.T)
src/lineprotoreceiver/parser_test.go:144
Function
TestParseLineProtocol_ErrorCases
(t *testing.T)
src/lineprotoreceiver/parser_test.go:114
Function
TestParseLineProtocol_EscapedMeasurementAndTag
(t *testing.T)
src/lineprotoreceiver/parser_test.go:76
Function
TestParseLineProtocol_Minimal
(t *testing.T)
src/lineprotoreceiver/parser_test.go:15
Function
TestParseLineProtocol_MultipleLinesSkipEmptyComments
(t *testing.T)
src/lineprotoreceiver/parser_test.go:101
Function
TestParseLineProtocol_PrecisionSeconds
(t *testing.T)
src/lineprotoreceiver/parser_test.go:91
Function
TestParseLineProtocol_QuotedStringField
(t *testing.T)
src/lineprotoreceiver/parser_test.go:60
Function
TestParseLineProtocol_TagsFieldsTimestamp
(t *testing.T)
src/lineprotoreceiver/parser_test.go:35
Function
TestParseLineProtocol_UnsignedField
(t *testing.T)
src/lineprotoreceiver/parser_test.go:134
Function
TestParseMsgZeroCopyLegacy
(t *testing.T)
src/sipparser/zerocopy_opts_test.go:100
Function
TestParseMsgZeroCopy_AlegIDs
(t *testing.T)
src/sipparser/zerocopy_opts_test.go:23
Function
TestParseMsgZeroCopy_AlegIDsCaseInsensitive
(t *testing.T)
src/sipparser/zerocopy_opts_test.go:38
Function
TestParseMsgZeroCopy_AlegIDsFirstWireHeaderWins
(t *testing.T)
src/sipparser/zerocopy_opts_test.go:50
Function
TestParseMsgZeroCopy_CustomHeaders
(t *testing.T)
src/sipparser/zerocopy_opts_test.go:62
← previous
next →
3,301–3,400 of 4,264, ranked by callers