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
↓ 5 callers
Function
parseTLSVersion
parseTLSVersion converts TLS version string to tls.Version constant
src/server/tls.go:450
↓ 5 callers
Function
pickSessionForTx
(row, protoType)
src/ui/src/dashboard/widgets/ResultsPanel.tsx:121
↓ 5 callers
Function
raiseProcInt
(relPath string, target int)
src/utils/sysctl/udp_tune_linux.go:74
↓ 5 callers
Function
randStringHep
(r randyHep)
src/decoder/hep.pb.go:414
↓ 5 callers
Function
registerMouseEventCallback
(target, userData, useCapture, callbackfunc, eventTypeId, eventTypeString, targetThread)
src/ui/public/game/websockets-doom.js:7797
↓ 5 callers
Function
respond
(status: number, body = '')
src/ui/src/dashboard/widgets/doomWad.test.ts:26
↓ 5 callers
Function
rowGetCI
rowGetCI fetches a value with case-insensitive key (DuckDB/JSON may return "GUID" etc.)
src/coordinator/services/alias_service.go:320
↓ 5 callers
Function
rowSelectionKey
Stable key for row selection: uuid when present, else index in filteredRows.
src/ui/src/dashboard/widgets/ResultsPanel.tsx:170
↓ 5 callers
Function
rowTimestampMs
(row)
src/ui/src/dashboard/otlpMetricsSeriesChart.ts:4
↓ 5 callers
Function
searchSQLWithRange
(fromMs, toMs int64)
src/node/rewrite_query_test.go:132
↓ 5 callers
Method
shouldAutoEnableCompactionForTieredHot
shouldAutoEnableCompactionForTieredHot reports whether DuckLake compaction must stay on for the writer catalog: multi-volume storage_policy with at le
src/writer/writer.go:1000
↓ 5 callers
Function
sipHasBodySdp
(raw: string)
src/ui/src/dashboard/flow/sip-flow-label.ts:137
↓ 5 callers
Function
snapshot
(game: Chess)
src/ui/src/dashboard/widgets/chessCore.ts:304
↓ 5 callers
Function
stringToUTF8Array
(str, heap, outIdx, maxBytesToWrite)
src/ui/public/game/websockets-doom.js:718
↓ 5 callers
Function
toFormJson
(val: unknown)
src/ui/src/settings/MappingsPanel.tsx:107
↓ 5 callers
Function
toFsqlInt64
(v interface{})
src/node/fsql_arrow.go:247
↓ 5 callers
Function
toTimeString
(value interface{})
src/coordinator/services/auth_token_service.go:322
↓ 5 callers
Function
tokenize
---- Lexer ----------------------------------------------------------------- tokenize splits SQL into tokens, correctly handling string literals so th
src/coordinator/sqlvalidator/validator.go:38
↓ 5 callers
Function
transactionMessagesSelectSQL
transactionMessagesSelectSQL builds the SELECT used by POST /transactions/messages. Package tests assert OTLP trace/log tables filter on trace_id and
src/coordinator/handlers/transactions_v4.go:1032
↓ 5 callers
Function
truncateToken
(t string)
src/cli/api_client.go:412
↓ 5 callers
Method
tryLLMStructured
tryLLMStructured asks the LLM (when enabled) to convert queryText into a structured search request. The fallback values are used when the LLM omits ti
src/coordinator/handlers/mcp_llm.go:174
↓ 5 callers
Function
useTableSort
( items: T[], getSortValue: (item: T, columnKey: string) => unknown, options?: UseTableSortOptions, )
src/ui/src/settings/useTableSort.ts:9
↓ 5 callers
Function
validateSQL
(sql string)
src/mcp/mcp.go:675
↓ 5 callers
Function
writeDuckLakeHandlerError
(w http.ResponseWriter, err error, serverMsg string)
src/storage/ducklake/api.go:17
↓ 5 callers
Function
writeJSONError
(w http.ResponseWriter, status int, msg string)
src/lineprotoreceiver/http.go:238
↓ 4 callers
Function
AllQueryColumns
AllQueryColumns returns the union of columns across all canonical schemas.
src/storage/ducklake/validation.go:113
↓ 4 callers
Method
Call
Call calls a Lua function, given the desired results and the arguments.
src/scripting/luar/luaobject.go:53
↓ 4 callers
Method
Close
Close closes the connection and flushes any buffered data
src/remotelog/remotelog.go:20
↓ 4 callers
Method
CloseAll
CloseAll closes all connections and stops the health check loop
src/coordinator/services/flight_service.go:168
↓ 4 callers
Function
DefaultConfig
DefaultConfig returns default DuckLake configuration
src/storage/ducklake/ducklake.go:154
↓ 4 callers
Function
DefaultSpillDirectory
DefaultSpillDirectory returns the spill path to use when the operator did not set tuning.temp_directory: "<dir of catalogPath>/.duckdb_spill". This m
src/storage/ducklake/tuning.go:213
↓ 4 callers
Method
Find
Find returns the alias name when IP matches a prefix and port/capture rules match. Port 0 on an alias row matches only when querying with port 0 (wild
src/coordinator/services/alias_map.go:186
↓ 4 callers
Function
FormatSearchProtoDisplay
FormatSearchProtoDisplay returns a canonical alias for known proto_type values, otherwise the decimal string (for TUI / defaults).
src/cli/search_proto.go:53
↓ 4 callers
Method
GetDuckLakeManager
GetDuckLakeManager returns the writer's DuckLake manager so that peer modules (e.g. the OTLP receiver) can reuse it for their own auxiliary tables ins
src/writer/writer.go:1035
↓ 4 callers
Function
GetSIPType
GetSIPType returns the SIP sub-type based on method
src/storage/ducklake/tables.go:85
↓ 4 callers
Method
GetStats
GetStats is a no-op stub for the deprecated Writer. Use MultiTableWriter instead.
src/storage/ducklake/ducklake.go:234
↓ 4 callers
Method
GetTable
GetTable returns the TableWriter for a specific TableKey (for internal use)
src/storage/ducklake/ducklake.go:868
↓ 4 callers
Function
GoToLua
GoToLua pushes a Go value 'val' on the Lua stack.
src/scripting/luar/luar.go:258
↓ 4 callers
Method
JWTMiddlewareV4
JWTMiddlewareV4 is a JWT middleware that returns v4 error envelopes.
src/coordinator/handlers/auth_v4_helpers.go:177
↓ 4 callers
Method
JoinQuick
JoinQuick puts the player into the quick-match queue. If a player is already waiting, the two are paired into an anonymous room "quick-<n>" and matche
src/coordinator/games/netris/hub.go:195
↓ 4 callers
Function
LPHepAlias
LPHepAlias returns the user-facing label shown in Settings → Mappings and the Proto Search picker for the given table name. The schema is intentionall
src/coordinator/services/lp_mapping_sync.go:462
↓ 4 callers
Function
LS_KEY_HIDDEN
(id, proto, event)
src/ui/src/dashboard/widgets/ResultsPanel.tsx:100
↓ 4 callers
Method
Leave
Leave detaches a player from its room. If their opponent is still connected they receive an "opponent_left" frame and (if the game had started) a "win
src/coordinator/games/netris/hub.go:294
↓ 4 callers
Method
MarshalFor
MarshalFor serialises the event as a JSON object, honouring the subscriber's payload preference. Using a per-call helper avoids per-subscriber clones
src/stream/hepstream/event.go:125
↓ 4 callers
Function
New
(cfg *config.MCPConfig)
src/mcp/mcp.go:112
↓ 4 callers
Function
ParseFormat
ParseFormat converts a user-supplied string to an OutputFormat.
src/cli/formatters.go:31
↓ 4 callers
Function
ParseSearchProto
ParseSearchProto resolves a --proto flag value to coordinator proto_type (int). Accepts decimal numbers or aliases (case-insensitive; "-" and spaces b
src/cli/search_proto.go:15
↓ 4 callers
Function
PostFilterItems
---- Post-filter ----------------------------------------------------------- PostFilterItems filters items client-side based on a pattern string. Pat
src/cli/formatters.go:744
↓ 4 callers
Function
ResolveCoordinatorJWTSecret
ResolveCoordinatorJWTSecret returns the effective JWT signing secret. Configured non-empty coordinator.jwt.secret wins. When empty, loads .homer_jwt_s
src/coordinator/services/jwt_secret.go:31
↓ 4 callers
Function
ResolveTableFQN
ResolveTableFQN returns the DuckLake table FQN for a canonical TableKey without using GetDefaultSchema (prevents user-controlled suffix injection).
src/storage/ducklake/validation.go:78
↓ 4 callers
Function
RowStr
RowStr extracts a string field from a map row (API / search JSON).
src/pcapwriter/rows.go:19
↓ 4 callers
Function
RowUint16
RowUint16 extracts a port-like field (0–65535) from a map row.
src/pcapwriter/rows.go:49
↓ 4 callers
Method
Schema
Schema returns a schema by name
src/flight/catalog.go:57
↓ 4 callers
Method
SetCorrelator
SetCorrelator attaches (or clears) the Lua-based correlation engine used by /transactions/messages. Safe to call before the server starts; must not be
src/coordinator/handlers/search.go:127
↓ 4 callers
Function
SplitHostPort
SplitHostPort parses "IP PORT" or "IP:PORT" style LocalAddr/RemoteAddr.
src/vqrtcpreceiver/parser.go:122
↓ 4 callers
Function
absoluteApiUrl
(path: string)
src/ui/src/dashboard/ExportTab.tsx:20
↓ 4 callers
Function
allocateUTF8
(str)
src/ui/public/game/websockets-doom.js:869
↓ 4 callers
Function
buildHEP3SIPPacket
buildHEP3SIPPacket constructs a HEP3-encapsulated SIP INVITE. Returns a fully-formed packet ready to send over UDP/TCP.
src/server/mpps_benchmark_test.go:119
↓ 4 callers
Method
buildMemoryUnionQueries
(sql string)
src/node/node.go:736
↓ 4 callers
Function
buildS3SecretSQL
buildS3SecretSQL returns the CREATE SECRET SQL for an S3 volume. When accessKey is empty and endpoint is empty (native AWS S3), the secret uses PROVID
src/storage/ducklake/tiered_storage.go:579
↓ 4 callers
Method
buildTransactionExportSQL
buildTransactionExportSQL builds the full SELECT for SIP export rows and returns session ids for naming.
src/coordinator/handlers/transactions_v4.go:1633
↓ 4 callers
Function
buildTransactionTabBody
Body for transaction sub-APIs: multi Call-ID uses session_ids + SIP time span from loaded messages.
src/ui/src/dashboard/TransactionModal.tsx:238
↓ 4 callers
Function
cachedSIPVersionOnlyJSON
uint32 version -> json.RawMessage
src/storage/ducklake/hep_adapter.go:565
↓ 4 callers
Function
canServerReset
(role)
src/ui/src/settings/permissions.ts:68
↓ 4 callers
Function
cellToDriverValue
cellToDriverValue converts a batch cell to a driver value. Pooled JSON buffers become json.RawMessage: the upstream duckdb-go Appender runs json.Marsh
src/storage/ducklake/hep_adapter.go:638
↓ 4 callers
Function
cfMakeLine
(width int, fill byte)
src/cli/formatters.go:606
↓ 4 callers
Function
clampLimit
(value, fallback, max int)
src/mcp/mcp.go:566
↓ 4 callers
Function
clampZoom
(z: number)
src/ui/src/dashboard/widgets/gameZoomStorage.ts:20
↓ 4 callers
Function
cleanupFiles
(paths []string)
src/storage/ducklake/compactor/compactor.go:310
↓ 4 callers
Function
collectUnique
(items: RawMessage[], picker: (m: RawMessage) => string[])
src/ui/src/dashboard/flow/useFlowFilters.ts:18
↓ 4 callers
Function
dedupeSorted
(in []string)
src/cli/cli_complete.go:298
↓ 4 callers
Function
discoverDuckLakeTables
(db *sql.DB, lakeName string)
src/cli/system_cmd.go:396
↓ 4 callers
Method
duckDBForTieredTablePresence
duckDBForTieredTablePresence returns the DuckDB connection on which tryBuildVolumeUnionSQL output will be executed for information_schema checks: merg
src/node/node.go:1113
↓ 4 callers
Method
duckLakeCatalogForQuery
duckLakeCatalogForQuery returns the DuckLake catalog name used in rewritten SQL FROM clauses. When the node shares the writer's DuckDB (SetSharedDB in
src/node/node.go:1066
↓ 4 callers
Function
endpointAlias
(row: Record<string, unknown>, side: 'src' | 'dst')
src/ui/src/dashboard/flow/flow-data.ts:86
↓ 4 callers
Function
endpointLabel
endpointLabel returns "ip:port" if port is available, otherwise just "ip".
src/cli/formatters.go:615
↓ 4 callers
Function
ensureBenchMainConfig
ensureBenchMainConfig installs a minimal homerconfig.MainConfig used by the server hot path. Called once per benchmark; preserves the original to play
src/server/mpps_benchmark_test.go:186
↓ 4 callers
Function
escapeTag
escapeTag escapes special characters in tag values
src/remotelog/lineproto.go:238
↓ 4 callers
Function
extractJSONObject
extractJSONObject tolerates models that wrap their answer in markdown fences or add explanatory prose around the JSON object.
src/mcp/llm.go:248
↓ 4 callers
Function
extractTransport
(pkt gopacket.Packet)
src/coordinator/handlers/pcap_sip_import.go:74
↓ 4 callers
Function
findColumnCI
Match API column names case-insensitively (e.g. TS vs ts, METHOD vs method).
src/ui/src/dashboard/widgets/DataChartPanel.tsx:116
↓ 4 callers
Function
fitWidgetHeight
( defaultH: number, minH: number, availableRows: number, )
src/ui/src/dashboard/utils/grid-utils.ts:15
↓ 4 callers
Method
flushBatch
elements: *[][]interface{} flushBatch drains the Go-side batch into the currently active in-memory DuckDB table using the Appender API. This bypasses
src/storage/ducklake/tables.go:591
↓ 4 callers
Function
formatText
(v)
src/ui/src/dashboard/CallInfoPanel.tsx:104
↓ 4 callers
Function
getBoundingClientRect
(e)
src/ui/public/game/websockets-doom.js:5895
↓ 4 callers
Function
getTLSVersion
getTLSVersion converts TLS version string to uint16
src/writer/tls.go:200
↓ 4 callers
Function
handleDrop
(e: React.DragEvent, targetList: ListId, targetIndex: number)
src/ui/src/dashboard/components/DragDropFieldList.tsx:85
↓ 4 callers
Function
intArrayFromString
(stringy, dontAddNull, length)
src/ui/public/game/websockets-doom.js:8680
↓ 4 callers
Function
intField
intField returns the named field as int, or 0 when missing / unparseable.
src/coordinator/handlers/lineproto_v4.go:334
↓ 4 callers
Method
invalidate
()
src/storage/ducklake/compactor/compactor.go:52
↓ 4 callers
Function
ipv6BytesToString
ipv6BytesToString formats 16 bytes as IPv6 text (one heap string). IPv6 is uncommon on the SIP capture hot path; keep a small helper.
src/decoder/ipformat.go:44
↓ 4 callers
Function
isLPProtoType
isLPProtoType reports whether the given proto_type addresses a Line Protocol virtual mapping (one synthetic hepid covers every dynamic lp_<measurement
src/coordinator/handlers/search.go:325
↓ 4 callers
Function
isPredeclaredType
(t reflect.Type)
src/scripting/luar/proxy.go:54
↓ 4 callers
Function
isS3Path
isS3Path checks if path is an S3 URL
src/storage/ducklake/ducklake.go:114
↓ 4 callers
Function
isSafeIdent
isSafeIdent reports whether s is a non-empty ASCII identifier (alphanumeric or underscore, not starting with a digit). Used to guard the path/query pa
src/coordinator/handlers/lineproto_v4.go:288
↓ 4 callers
Method
jwtClaimsFromContext
(c echo.Context)
src/coordinator/handlers/auth_v4.go:343
↓ 4 callers
Function
keepRuntimeAlive
()
src/ui/public/game/websockets-doom.js:1603
↓ 4 callers
Function
kwEnd
(doc: string, idx: number, re: RegExp)
src/ui/src/components/ui/sql-lake-column-completion.ts:145
↓ 4 callers
Method
lakeChunkMs
lakeChunkMs returns the configured chunk width (ms) for the "chunked" strategy, defaulting to one hour.
src/node/node.go:630
↓ 4 callers
Function
legalMoves
(game: Chess, from?: ChessSquare)
src/ui/src/dashboard/widgets/chessCore.ts:157
← previous
next →
401–500 of 4,264, ranked by callers